railbird-gql/graphql/query.ts
2024-01-10 16:23:18 -07:00

27 lines
577 B
TypeScript

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