Add Pocketing Intention Info #58

Merged
countablecloud merged 1 commits from mk/pocketing-intention-info into master 2024-09-19 23:19:37 -06:00
2 changed files with 33 additions and 0 deletions
Showing only changes of commit 768d29f93e - Show all commits

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!