railbird-gql/graphql/query.ts

19 lines
349 B
TypeScript
Raw Normal View History

2024-01-08 22:14:21 -07:00
import { gql } from "@apollo/client";
2024-01-08 22:23:51 -07:00
import SHOT_FEATURES_FRAGMENT from "./fragment/shot-features";
2024-01-08 22:14:21 -07:00
export const GET_SHOTS = gql`
2024-01-08 22:23:51 -07:00
${SHOT_FEATURES_FRAGMENT}
2024-01-08 22:14:21 -07:00
query GetShots(
$includeCueObjectAngle: Boolean! = false
$includeCueObjectDistance: Boolean! = false
) {
getShots {
id
videoId
features {
...ShotFeatures
}
}
}
`;