railbird-gql/graphql/query.ts

19 lines
349 B
TypeScript

import { gql } from "@apollo/client";
import SHOT_FEATURES_FRAGMENT from "./fragment/shot-features";
export const GET_SHOTS = gql`
${SHOT_FEATURES_FRAGMENT}
query GetShots(
$includeCueObjectAngle: Boolean! = false
$includeCueObjectDistance: Boolean! = false
) {
getShots {
id
videoId
features {
...ShotFeatures
}
}
}
`;