Add pocketing intention info
All checks were successful
Tests / Tests (pull_request) Successful in 15s

This commit is contained in:
Volodymyr Smolianinov 2024-09-23 19:31:35 +02:00 committed by Ivan Malison
parent dcdb324391
commit 492ae4a225
2 changed files with 27 additions and 11 deletions

View File

@ -2343,10 +2343,6 @@ export type GetShotsWithMetadataQuery = {
};
} | null;
} | null;
serializedShotPaths?: {
__typename?: "SerializedShotPathsGQL";
b64EncodedBuffer?: string | null;
} | null;
cueObjectFeatures?: {
__typename?: "CueObjectFeaturesGQL";
cueObjectDistance?: number | null;
@ -2361,6 +2357,16 @@ export type GetShotsWithMetadataQuery = {
make?: boolean | null;
intendedPocketType?: PocketEnum | null;
} | null;
pocketingIntentionInfo?: {
__typename?: "PocketingIntentionInfoGQL";
ballId: number;
pocketId: PocketIdentifier;
pathMetadataIndex: number;
} | null;
serializedShotPaths?: {
__typename?: "SerializedShotPathsGQL";
b64EncodedBuffer?: string | null;
} | null;
}>;
};
};
@ -3572,9 +3578,6 @@ export const GetShotsWithMetadataDocument = gql`
}
}
}
serializedShotPaths {
b64EncodedBuffer
}
createdAt @include(if: $includeCreatedAt)
updatedAt @include(if: $includeUpdatedAt)
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
@ -3590,6 +3593,15 @@ export const GetShotsWithMetadataDocument = gql`
make @include(if: $includeMake)
intendedPocketType @include(if: $includeIntendedPocketType)
}
pocketingIntentionInfo
@include(if: $includePocketingIntentionFeatures) {
ballId
pocketId
pathMetadataIndex
}
serializedShotPaths @include(if: $includePocketingIntentionFeatures) {
b64EncodedBuffer
}
}
}
}

View File

@ -113,10 +113,6 @@ query GetShotsWithMetadata(
}
}
}
serializedShotPaths {
b64EncodedBuffer
}
createdAt @include(if: $includeCreatedAt)
updatedAt @include(if: $includeUpdatedAt)
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
@ -132,6 +128,14 @@ query GetShotsWithMetadata(
make @include(if: $includeMake)
intendedPocketType @include(if: $includeIntendedPocketType)
}
pocketingIntentionInfo @include(if: $includePocketingIntentionFeatures) {
ballId
pocketId
pathMetadataIndex
}
serializedShotPaths @include(if: $includePocketingIntentionFeatures) {
b64EncodedBuffer
}
}
}
}