Add Pocketing Intention Info
All checks were successful
Tests / Tests (pull_request) Successful in 8s

This commit is contained in:
Mike Kalange 2024-09-19 20:45:20 -07:00
parent caea1b9572
commit 613dfdbaf6
2 changed files with 33 additions and 0 deletions

View File

@ -1504,6 +1504,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;
@ -1525,6 +1534,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;
@ -1687,6 +1703,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

@ -241,6 +241,7 @@ type ShotGQL {
updatedAt: DateTime
cueObjectFeatures: CueObjectFeaturesGQL
pocketingIntentionFeatures: PocketingIntentionFeaturesGQL
pocketingIntentionInfo: PocketingIntentionInfoGQL
bankFeatures: BankFeaturesGQL
serializedShotPaths: SerializedShotPathsGQL
user: UserGQL
@ -267,6 +268,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!