Pocketing Intention Info Schema Changes
All checks were successful
Tests / Tests (pull_request) Successful in 7s

This commit is contained in:
mike kalange 2024-09-19 22:59:36 -06:00
parent 837e084a5a
commit 768d29f93e
2 changed files with 33 additions and 0 deletions

View File

@ -1573,6 +1573,15 @@ export enum PocketEnum {
Side = "SIDE",
}
export enum PocketIdentifier {
BottomLeft = "BOTTOM_LEFT",
BottomRight = "BOTTOM_RIGHT",
BottomSide = "BOTTOM_SIDE",
TopLeft = "TOP_LEFT",
TopRight = "TOP_RIGHT",
TopSide = "TOP_SIDE",
}
export type PocketPointsGql = {
__typename?: "PocketPointsGQL";
bottomLeft: IntPoint2D;
@ -1594,6 +1603,13 @@ export type PocketingIntentionFeaturesGql = {
targetPocketDistance?: Maybe<Scalars["Float"]["output"]>;
};
export type PocketingIntentionInfoGql = {
__typename?: "PocketingIntentionInfoGQL";
ballId: Scalars["Int"]["output"];
pathMetadataIndex: Scalars["Int"]["output"];
pocketId: PocketIdentifier;
};
export type ProcessingFailedErr = {
__typename?: "ProcessingFailedErr";
processing: VideoProcessingGql;
@ -1756,6 +1772,7 @@ export type ShotGql = {
falsePositiveScore?: Maybe<Scalars["Float"]["output"]>;
id: Scalars["Int"]["output"];
pocketingIntentionFeatures?: Maybe<PocketingIntentionFeaturesGql>;
pocketingIntentionInfo?: Maybe<PocketingIntentionInfoGql>;
serializedShotPaths?: Maybe<SerializedShotPathsGql>;
startFrame: Scalars["Int"]["output"];
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;

View File

@ -242,6 +242,7 @@ type ShotGQL {
updatedAt: DateTime
cueObjectFeatures: CueObjectFeaturesGQL
pocketingIntentionFeatures: PocketingIntentionFeaturesGQL
pocketingIntentionInfo: PocketingIntentionInfoGQL
bankFeatures: BankFeaturesGQL
serializedShotPaths: SerializedShotPathsGQL
user: UserGQL
@ -268,6 +269,21 @@ type PocketingIntentionFeaturesGQL {
backcut: Boolean
}
type PocketingIntentionInfoGQL {
ballId: Int!
pocketId: PocketIdentifier!
pathMetadataIndex: Int!
}
enum PocketIdentifier {
TOP_LEFT
TOP_SIDE
TOP_RIGHT
BOTTOM_LEFT
BOTTOM_SIDE
BOTTOM_RIGHT
}
type BankFeaturesGQL {
wallsHit: [WallTypeEnum!]!
bankAngle: Float!