railbird-gql/graphql/query.ts

27 lines
577 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(
2024-01-09 00:45:18 -07:00
$filterInput: FilterInput
2024-01-08 22:14:21 -07:00
$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
) {
2024-01-09 00:45:18 -07:00
getShots(filterInput: $filterInput) {
2024-01-08 22:14:21 -07:00
id
videoId
2024-01-08 22:31:08 -07:00
startFrame
endFrame
createdAt
updatedAt
2024-01-08 22:14:21 -07:00
features {
...ShotFeatures
}
}
}
`;