Add all targetPocketIntention features to shot retrieval

This commit is contained in:
Ivan Malison 2024-10-06 13:16:39 -06:00
parent fd78ddf641
commit 1f018f954e
2 changed files with 20 additions and 5 deletions

View File

@ -2370,8 +2370,11 @@ export type GetShotsWithMetadataQuery = {
} | null; } | null;
pocketingIntentionFeatures?: { pocketingIntentionFeatures?: {
__typename?: "PocketingIntentionFeaturesGQL"; __typename?: "PocketingIntentionFeaturesGQL";
targetPocketDistance?: number | null;
make?: boolean | null; make?: boolean | null;
targetPocketDistance?: number | null;
targetPocketAngle?: number | null;
targetPocketAngleDirection?: ShotDirectionEnum | null;
marginOfErrorInDegrees?: number | null;
intendedPocketType?: PocketEnum | null; intendedPocketType?: PocketEnum | null;
} | null; } | null;
pocketingIntentionInfo?: { pocketingIntentionInfo?: {
@ -2425,8 +2428,11 @@ export type GetShotsByIdsQuery = {
} | null; } | null;
pocketingIntentionFeatures?: { pocketingIntentionFeatures?: {
__typename?: "PocketingIntentionFeaturesGQL"; __typename?: "PocketingIntentionFeaturesGQL";
targetPocketDistance?: number | null;
make?: boolean | null; make?: boolean | null;
targetPocketDistance?: number | null;
targetPocketAngle?: number | null;
targetPocketAngleDirection?: ShotDirectionEnum | null;
marginOfErrorInDegrees?: number | null;
intendedPocketType?: PocketEnum | null; intendedPocketType?: PocketEnum | null;
} | null; } | null;
pocketingIntentionInfo?: { pocketingIntentionInfo?: {
@ -2473,8 +2479,11 @@ export type ShotWithAllFeaturesFragment = {
} | null; } | null;
pocketingIntentionFeatures?: { pocketingIntentionFeatures?: {
__typename?: "PocketingIntentionFeaturesGQL"; __typename?: "PocketingIntentionFeaturesGQL";
targetPocketDistance?: number | null;
make?: boolean | null; make?: boolean | null;
targetPocketDistance?: number | null;
targetPocketAngle?: number | null;
targetPocketAngleDirection?: ShotDirectionEnum | null;
marginOfErrorInDegrees?: number | null;
intendedPocketType?: PocketEnum | null; intendedPocketType?: PocketEnum | null;
} | null; } | null;
pocketingIntentionInfo?: { pocketingIntentionInfo?: {
@ -3060,8 +3069,11 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
spinType spinType
} }
pocketingIntentionFeatures { pocketingIntentionFeatures {
targetPocketDistance
make make
targetPocketDistance
targetPocketAngle
targetPocketAngleDirection
marginOfErrorInDegrees
intendedPocketType intendedPocketType
} }
pocketingIntentionInfo { pocketingIntentionInfo {

View File

@ -70,8 +70,11 @@ fragment ShotWithAllFeatures on ShotGQL {
spinType spinType
} }
pocketingIntentionFeatures { pocketingIntentionFeatures {
targetPocketDistance
make make
targetPocketDistance
targetPocketAngle
targetPocketAngleDirection
marginOfErrorInDegrees
intendedPocketType intendedPocketType
} }
pocketingIntentionInfo { pocketingIntentionInfo {