Merge pull request 'Add spinType and filter input' (#45) from mk/spin-type into master

Reviewed-on: #45
Reviewed-by: loewy <loewymalkov@gmail.com>
This commit is contained in:
countablecloud 2024-08-28 17:38:43 -06:00
commit 8c3e9d6273
2 changed files with 18 additions and 2 deletions

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 {