From 1f018f954e9e4f8e80d8a88e86ad35a20a3291fe Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 6 Oct 2024 13:16:39 -0600 Subject: [PATCH] Add all targetPocketIntention features to shot retrieval --- src/index.tsx | 20 ++++++++++++++++---- src/operations/shots.gql | 5 ++++- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index c768939..21d0327 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2370,8 +2370,11 @@ export type GetShotsWithMetadataQuery = { } | null; pocketingIntentionFeatures?: { __typename?: "PocketingIntentionFeaturesGQL"; - targetPocketDistance?: number | null; make?: boolean | null; + targetPocketDistance?: number | null; + targetPocketAngle?: number | null; + targetPocketAngleDirection?: ShotDirectionEnum | null; + marginOfErrorInDegrees?: number | null; intendedPocketType?: PocketEnum | null; } | null; pocketingIntentionInfo?: { @@ -2425,8 +2428,11 @@ export type GetShotsByIdsQuery = { } | null; pocketingIntentionFeatures?: { __typename?: "PocketingIntentionFeaturesGQL"; - targetPocketDistance?: number | null; make?: boolean | null; + targetPocketDistance?: number | null; + targetPocketAngle?: number | null; + targetPocketAngleDirection?: ShotDirectionEnum | null; + marginOfErrorInDegrees?: number | null; intendedPocketType?: PocketEnum | null; } | null; pocketingIntentionInfo?: { @@ -2473,8 +2479,11 @@ export type ShotWithAllFeaturesFragment = { } | null; pocketingIntentionFeatures?: { __typename?: "PocketingIntentionFeaturesGQL"; - targetPocketDistance?: number | null; make?: boolean | null; + targetPocketDistance?: number | null; + targetPocketAngle?: number | null; + targetPocketAngleDirection?: ShotDirectionEnum | null; + marginOfErrorInDegrees?: number | null; intendedPocketType?: PocketEnum | null; } | null; pocketingIntentionInfo?: { @@ -3060,8 +3069,11 @@ export const ShotWithAllFeaturesFragmentDoc = gql` spinType } pocketingIntentionFeatures { - targetPocketDistance make + targetPocketDistance + targetPocketAngle + targetPocketAngleDirection + marginOfErrorInDegrees intendedPocketType } pocketingIntentionInfo { diff --git a/src/operations/shots.gql b/src/operations/shots.gql index ee1e939..f01f505 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -70,8 +70,11 @@ fragment ShotWithAllFeatures on ShotGQL { spinType } pocketingIntentionFeatures { - targetPocketDistance make + targetPocketDistance + targetPocketAngle + targetPocketAngleDirection + marginOfErrorInDegrees intendedPocketType } pocketingIntentionInfo {