Merge pull request 'Add pocketing intention info' (#60) from volodymyr/pocketing-intention-info into master

Reviewed-on: #60
This commit is contained in:
voidozzer 2024-09-23 11:47:01 -06:00
commit c0ee55069e
2 changed files with 27 additions and 11 deletions

View File

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