26 lines
522 B
TypeScript
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
|
|
}
|
|
}
|
|
}
|
|
`;
|