Add spinType and filter input #45

Merged
countablecloud merged 2 commits from mk/spin-type into master 2024-08-28 17:38:44 -06:00
2 changed files with 18 additions and 2 deletions
Showing only changes of commit 643cdb29e3 - Show all commits

View File

@ -124,6 +124,7 @@ export type CueObjectFeaturesGql = {
cueObjectAngle?: Maybe<Scalars["Float"]["output"]>;
cueObjectDistance?: Maybe<Scalars["Float"]["output"]>;
shotDirection?: Maybe<ShotDirectionEnum>;
spinType?: Maybe<SpinTypeEnum>;
};
export type DeployedConfigGql = {
@ -949,7 +950,7 @@ export type FilterInput =
notFilter?: never;
orFilters?: never;
shotDirection?: never;
spinType: Array<Scalars["String"]["input"]>;
spinType: Array<SpinTypeEnum>;
tableSize?: never;
tags?: never;
targetPocketDistance?: never;
@ -1458,6 +1459,13 @@ export type ShotGql = {
videoId: Scalars["Int"]["output"];
};
export enum SpinTypeEnum {
Center = "CENTER",
Draw = "DRAW",
Follow = "FOLLOW",
Unknown = "UNKNOWN",
}
export type StreamErrorGql = {
__typename?: "StreamErrorGQL";
message: Scalars["String"]["output"];

View File

@ -102,8 +102,8 @@ input FilterInput @oneOf {
kickAngle: RangeFilter
kickDistance: RangeFilter
cueAngleAfterObject: RangeFilter
spinType: [SpinTypeEnum!]
cueSpeedAfterObject: RangeFilter
spinType: [String!]
falsePositiveScore: RangeFilter
}
@ -140,6 +140,13 @@ input ShotAnnotationInput {
name: String!
}
enum SpinTypeEnum {
DRAW
FOLLOW
CENTER
UNKNOWN
}
type BucketSetGQL {
keyName: String!
feature: String!
@ -191,6 +198,7 @@ type CueObjectFeaturesGQL {
cueObjectAngle: Float
cueBallSpeed: Float
shotDirection: ShotDirectionEnum
spinType: SpinTypeEnum
}
type PocketingIntentionFeaturesGQL {