Merge pull request 'Add Pocketing Intention Info' (#58) from mk/pocketing-intention-info into master

Reviewed-on: #58
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
This commit is contained in:
countablecloud 2024-09-19 23:19:36 -06:00
commit 740daf95ae
2 changed files with 33 additions and 0 deletions

View File

@ -1573,6 +1573,15 @@ export enum PocketEnum {
Side = "SIDE", 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 = { export type PocketPointsGql = {
__typename?: "PocketPointsGQL"; __typename?: "PocketPointsGQL";
bottomLeft: IntPoint2D; bottomLeft: IntPoint2D;
@ -1594,6 +1603,13 @@ export type PocketingIntentionFeaturesGql = {
targetPocketDistance?: Maybe<Scalars["Float"]["output"]>; targetPocketDistance?: Maybe<Scalars["Float"]["output"]>;
}; };
export type PocketingIntentionInfoGql = {
__typename?: "PocketingIntentionInfoGQL";
ballId: Scalars["Int"]["output"];
pathMetadataIndex: Scalars["Int"]["output"];
pocketId: PocketIdentifier;
};
export type ProcessingFailedErr = { export type ProcessingFailedErr = {
__typename?: "ProcessingFailedErr"; __typename?: "ProcessingFailedErr";
processing: VideoProcessingGql; processing: VideoProcessingGql;
@ -1756,6 +1772,7 @@ export type ShotGql = {
falsePositiveScore?: Maybe<Scalars["Float"]["output"]>; falsePositiveScore?: Maybe<Scalars["Float"]["output"]>;
id: Scalars["Int"]["output"]; id: Scalars["Int"]["output"];
pocketingIntentionFeatures?: Maybe<PocketingIntentionFeaturesGql>; pocketingIntentionFeatures?: Maybe<PocketingIntentionFeaturesGql>;
pocketingIntentionInfo?: Maybe<PocketingIntentionInfoGql>;
serializedShotPaths?: Maybe<SerializedShotPathsGql>; serializedShotPaths?: Maybe<SerializedShotPathsGql>;
startFrame: Scalars["Int"]["output"]; startFrame: Scalars["Int"]["output"];
updatedAt?: Maybe<Scalars["DateTime"]["output"]>; updatedAt?: Maybe<Scalars["DateTime"]["output"]>;

View File

@ -242,6 +242,7 @@ type ShotGQL {
updatedAt: DateTime updatedAt: DateTime
cueObjectFeatures: CueObjectFeaturesGQL cueObjectFeatures: CueObjectFeaturesGQL
pocketingIntentionFeatures: PocketingIntentionFeaturesGQL pocketingIntentionFeatures: PocketingIntentionFeaturesGQL
pocketingIntentionInfo: PocketingIntentionInfoGQL
bankFeatures: BankFeaturesGQL bankFeatures: BankFeaturesGQL
serializedShotPaths: SerializedShotPathsGQL serializedShotPaths: SerializedShotPathsGQL
user: UserGQL user: UserGQL
@ -268,6 +269,21 @@ type PocketingIntentionFeaturesGQL {
backcut: Boolean 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 { type BankFeaturesGQL {
wallsHit: [WallTypeEnum!]! wallsHit: [WallTypeEnum!]!
bankAngle: Float! bankAngle: Float!