Add spinType and cueBallSpeed to get shots operation #47

Merged
loewy merged 1 commits from loewy/add-spin-type-to-get-shots into master 2024-08-29 19:34:20 -06:00
2 changed files with 7 additions and 0 deletions

View File

@ -1785,6 +1785,7 @@ export type GetShotsQueryVariables = Exact<{
includeCueObjectDistance?: Scalars["Boolean"]["input"]; includeCueObjectDistance?: Scalars["Boolean"]["input"];
includeCueObjectAngle?: Scalars["Boolean"]["input"]; includeCueObjectAngle?: Scalars["Boolean"]["input"];
includeCueBallSpeed?: Scalars["Boolean"]["input"]; includeCueBallSpeed?: Scalars["Boolean"]["input"];
includeSpinType?: Scalars["Boolean"]["input"];
includeShotDirection?: Scalars["Boolean"]["input"]; includeShotDirection?: Scalars["Boolean"]["input"];
includeTargetPocketDistance?: Scalars["Boolean"]["input"]; includeTargetPocketDistance?: Scalars["Boolean"]["input"];
includeMake?: Scalars["Boolean"]["input"]; includeMake?: Scalars["Boolean"]["input"];
@ -1820,6 +1821,7 @@ export type GetShotsQuery = {
cueObjectAngle?: number | null; cueObjectAngle?: number | null;
cueBallSpeed?: number | null; cueBallSpeed?: number | null;
shotDirection?: ShotDirectionEnum | null; shotDirection?: ShotDirectionEnum | null;
spinType?: SpinTypeEnum | null;
} | null; } | null;
pocketingIntentionFeatures?: { pocketingIntentionFeatures?: {
__typename?: "PocketingIntentionFeaturesGQL"; __typename?: "PocketingIntentionFeaturesGQL";
@ -2742,6 +2744,7 @@ export const GetShotsDocument = gql`
$includeCueObjectDistance: Boolean! = false $includeCueObjectDistance: Boolean! = false
$includeCueObjectAngle: Boolean! = false $includeCueObjectAngle: Boolean! = false
$includeCueBallSpeed: Boolean! = false $includeCueBallSpeed: Boolean! = false
$includeSpinType: Boolean! = false
$includeShotDirection: Boolean! = false $includeShotDirection: Boolean! = false
$includeTargetPocketDistance: Boolean! = false $includeTargetPocketDistance: Boolean! = false
$includeMake: Boolean! = false $includeMake: Boolean! = false
@ -2775,6 +2778,7 @@ export const GetShotsDocument = gql`
cueObjectAngle @include(if: $includeCueObjectAngle) cueObjectAngle @include(if: $includeCueObjectAngle)
cueBallSpeed @include(if: $includeCueBallSpeed) cueBallSpeed @include(if: $includeCueBallSpeed)
shotDirection @include(if: $includeShotDirection) shotDirection @include(if: $includeShotDirection)
spinType @include(if: $includeSpinType)
} }
pocketingIntentionFeatures pocketingIntentionFeatures
@include(if: $includePocketingIntentionFeatures) { @include(if: $includePocketingIntentionFeatures) {
@ -2808,6 +2812,7 @@ export const GetShotsDocument = gql`
* includeCueObjectDistance: // value for 'includeCueObjectDistance' * includeCueObjectDistance: // value for 'includeCueObjectDistance'
* includeCueObjectAngle: // value for 'includeCueObjectAngle' * includeCueObjectAngle: // value for 'includeCueObjectAngle'
* includeCueBallSpeed: // value for 'includeCueBallSpeed' * includeCueBallSpeed: // value for 'includeCueBallSpeed'
* includeSpinType: // value for 'includeSpinType'
* includeShotDirection: // value for 'includeShotDirection' * includeShotDirection: // value for 'includeShotDirection'
* includeTargetPocketDistance: // value for 'includeTargetPocketDistance' * includeTargetPocketDistance: // value for 'includeTargetPocketDistance'
* includeMake: // value for 'includeMake' * includeMake: // value for 'includeMake'

View File

@ -9,6 +9,7 @@ query GetShots(
$includeCueObjectDistance: Boolean! = false $includeCueObjectDistance: Boolean! = false
$includeCueObjectAngle: Boolean! = false $includeCueObjectAngle: Boolean! = false
$includeCueBallSpeed: Boolean! = false $includeCueBallSpeed: Boolean! = false
$includeSpinType: Boolean! = false
$includeShotDirection: Boolean! = false $includeShotDirection: Boolean! = false
$includeTargetPocketDistance: Boolean! = false $includeTargetPocketDistance: Boolean! = false
$includeMake: Boolean! = false $includeMake: Boolean! = false
@ -42,6 +43,7 @@ query GetShots(
cueObjectAngle @include(if: $includeCueObjectAngle) cueObjectAngle @include(if: $includeCueObjectAngle)
cueBallSpeed @include(if: $includeCueBallSpeed) cueBallSpeed @include(if: $includeCueBallSpeed)
shotDirection @include(if: $includeShotDirection) shotDirection @include(if: $includeShotDirection)
spinType @include(if: $includeSpinType)
} }
pocketingIntentionFeatures pocketingIntentionFeatures
@include(if: $includePocketingIntentionFeatures) { @include(if: $includePocketingIntentionFeatures) {