railbird-gql/graphql/query.ts

26 lines
522 B
TypeScript
Raw Normal View History

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