railbird-gql/graphql/query.ts
2024-01-08 23:52:08 -07:00

26 lines
522 B
TypeScript

import { gql } from "@apollo/client";
export const GET_SHOTS = gql`
query GetShots(
$includeCueObjectDistance: Boolean! = false
$includeTargetPocketDistance: Boolean! = false
$includeCueObjectAngle: Boolean! = false
$includeCueBallSpeed: Boolean! = false
$includeIntendedPocket: Boolean! = false
$includeShotDirection: Boolean! = false
$includeDidMake: Boolean! = false
) {
getShots {
id
videoId
startFrame
endFrame
createdAt
updatedAt
features {
...ShotFeatures
}
}
}
`;