Create shot features fragment
This commit is contained in:
10
graphql/fragment/shot-features.ts
Normal file
10
graphql/fragment/shot-features.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { gql } from "@apollo/client";
|
||||
|
||||
const SHOT_FEATURES_FRAGMENT = gql`
|
||||
fragment ShotFeatures on ShotFeaturesGQL {
|
||||
cueObjectAngle @include(if: $includeCueObjectAngle)
|
||||
cueObjectDistance @include(if: $includeCueObjectDistance)
|
||||
}
|
||||
`;
|
||||
|
||||
export default SHOT_FEATURES_FRAGMENT;
|
Reference in New Issue
Block a user