14 lines
508 B
TypeScript
14 lines
508 B
TypeScript
|
import { gql } from "@apollo/client";
|
||
|
|
||
|
export const SHOT_FEATURES_FRAGMENT = gql`
|
||
|
fragment ShotFeatures on ShotFeaturesGQL {
|
||
|
cueObjectDistance @include(if: $includeCueObjectDistance)
|
||
|
targetPocketDistance @include(if: $includeTargetPocketDistance)
|
||
|
cueObjectAngle @include(if: $includeCueObjectAngle)
|
||
|
cueBallSpeed @include(if: $includeCueBallSpeed)
|
||
|
intendedPocket @include(if: $includeIntendedPocket)
|
||
|
shotDirection @include(if: $includeShotDirection)
|
||
|
didMake @include(if: $includeDidMake)
|
||
|
}
|
||
|
`;
|