Make range filters generic

This commit is contained in:
Ivan Malison 2024-09-20 13:02:02 -06:00
parent 740daf95ae
commit c013228f79
3 changed files with 144 additions and 46 deletions

View File

@ -28,6 +28,8 @@ export type Scalars = {
Boolean: { input: boolean; output: boolean }; Boolean: { input: boolean; output: boolean };
Int: { input: number; output: number }; Int: { input: number; output: number };
Float: { input: number; output: number }; Float: { input: number; output: number };
/** Date (isoformat) */
Date: { input: any; output: any };
/** Date with time (isoformat) */ /** Date with time (isoformat) */
DateTime: { input: any; output: any }; DateTime: { input: any; output: any };
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf). */ /** The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf). */
@ -132,6 +134,15 @@ export type CueObjectFeaturesGql = {
spinType?: Maybe<SpinTypeEnum>; spinType?: Maybe<SpinTypeEnum>;
}; };
export type DateRangeFilter = {
greaterThan?: InputMaybe<Scalars["Date"]["input"]>;
greaterThanEqualTo?: InputMaybe<Scalars["Date"]["input"]>;
greaterThanInclusive?: Scalars["Boolean"]["input"];
includeOnNone?: Scalars["Boolean"]["input"];
lessThan?: InputMaybe<Scalars["Date"]["input"]>;
lessThanInclusive?: Scalars["Boolean"]["input"];
};
export type DatetimeRangeAggregationInput = { export type DatetimeRangeAggregationInput = {
endDatetime: Scalars["DateTime"]["input"]; endDatetime: Scalars["DateTime"]["input"];
interval: TimeInterval; interval: TimeInterval;
@ -174,6 +185,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -210,6 +222,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -246,6 +259,7 @@ export type FilterInput =
backcut: Array<Scalars["Boolean"]["input"]>; backcut: Array<Scalars["Boolean"]["input"]>;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -280,8 +294,9 @@ export type FilterInput =
andFilters?: never; andFilters?: never;
annotations?: never; annotations?: never;
backcut?: never; backcut?: never;
bankAngle: RangeFilter; bankAngle: FloatRangeFilter;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -317,7 +332,8 @@ export type FilterInput =
annotations?: never; annotations?: never;
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance: RangeFilter; bankDistance: FloatRangeFilter;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -354,7 +370,8 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
cueAngleAfterObject: RangeFilter; createdAt: DateRangeFilter;
cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -390,8 +407,9 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
cueAngleAfterObject?: never; createdAt?: never;
cueBallSpeed: RangeFilter; cueAngleAfterObject: FloatRangeFilter;
cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
@ -426,9 +444,10 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed: FloatRangeFilter;
cueObjectAngle: RangeFilter; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
@ -462,10 +481,11 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle: FloatRangeFilter;
cueObjectDistance: RangeFilter; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never; falsePositiveScore?: never;
@ -498,11 +518,12 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance: FloatRangeFilter;
cueSpeedAfterObject: RangeFilter; cueSpeedAfterObject?: never;
difficulty?: never; difficulty?: never;
falsePositiveScore?: never; falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
@ -534,12 +555,13 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject: FloatRangeFilter;
difficulty: RangeFilter; difficulty?: never;
falsePositiveScore?: never; falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
@ -570,13 +592,14 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
cueSpeedAfterObject?: never; cueSpeedAfterObject?: never;
difficulty?: never; difficulty: FloatRangeFilter;
falsePositiveScore: RangeFilter; falsePositiveScore?: never;
intendedPocketType?: never; intendedPocketType?: never;
isDirect?: never; isDirect?: never;
isLeft?: never; isLeft?: never;
@ -606,6 +629,44 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never;
cueBallSpeed?: never;
cueObjectAngle?: never;
cueObjectDistance?: never;
cueSpeedAfterObject?: never;
difficulty?: never;
falsePositiveScore: FloatRangeFilter;
intendedPocketType?: never;
isDirect?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
kickAngle?: never;
kickDistance?: never;
make?: never;
missAngleInDegrees?: never;
notFilter?: never;
orFilters?: never;
shotDirection?: never;
spinType?: never;
tableSize?: never;
tags?: never;
targetPocketAngle?: never;
targetPocketAngleDirection?: never;
targetPocketDistance?: never;
userId?: never;
videoId?: never;
}
| {
andFilters?: never;
annotations?: never;
backcut?: never;
bankAngle?: never;
bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -642,6 +703,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -678,6 +740,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -714,6 +777,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -750,6 +814,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -786,6 +851,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -822,6 +888,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -858,6 +925,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -872,7 +940,7 @@ export type FilterInput =
isRight?: never; isRight?: never;
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
kickAngle: RangeFilter; kickAngle: FloatRangeFilter;
kickDistance?: never; kickDistance?: never;
make?: never; make?: never;
missAngleInDegrees?: never; missAngleInDegrees?: never;
@ -894,6 +962,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -909,7 +978,7 @@ export type FilterInput =
isRightMiss?: never; isRightMiss?: never;
isStraight?: never; isStraight?: never;
kickAngle?: never; kickAngle?: never;
kickDistance: RangeFilter; kickDistance: FloatRangeFilter;
make?: never; make?: never;
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
@ -930,6 +999,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -966,6 +1036,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -983,7 +1054,7 @@ export type FilterInput =
kickAngle?: never; kickAngle?: never;
kickDistance?: never; kickDistance?: never;
make?: never; make?: never;
missAngleInDegrees: RangeFilter; missAngleInDegrees: FloatRangeFilter;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
@ -1002,6 +1073,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -1038,6 +1110,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -1074,6 +1147,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -1110,6 +1184,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -1146,6 +1221,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -1168,7 +1244,7 @@ export type FilterInput =
orFilters?: never; orFilters?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize: RangeFilter; tableSize: FloatRangeFilter;
tags?: never; tags?: never;
targetPocketAngle?: never; targetPocketAngle?: never;
targetPocketAngleDirection?: never; targetPocketAngleDirection?: never;
@ -1182,6 +1258,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -1218,6 +1295,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -1242,7 +1320,7 @@ export type FilterInput =
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
tags?: never; tags?: never;
targetPocketAngle: RangeFilter; targetPocketAngle: FloatRangeFilter;
targetPocketAngleDirection?: never; targetPocketAngleDirection?: never;
targetPocketDistance?: never; targetPocketDistance?: never;
userId?: never; userId?: never;
@ -1254,6 +1332,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -1290,6 +1369,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -1316,7 +1396,7 @@ export type FilterInput =
tags?: never; tags?: never;
targetPocketAngle?: never; targetPocketAngle?: never;
targetPocketAngleDirection?: never; targetPocketAngleDirection?: never;
targetPocketDistance: RangeFilter; targetPocketDistance: FloatRangeFilter;
userId?: never; userId?: never;
videoId?: never; videoId?: never;
} }
@ -1326,6 +1406,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -1362,6 +1443,7 @@ export type FilterInput =
backcut?: never; backcut?: never;
bankAngle?: never; bankAngle?: never;
bankDistance?: never; bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never; cueAngleAfterObject?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
@ -1393,6 +1475,15 @@ export type FilterInput =
videoId: Array<Scalars["Int"]["input"]>; videoId: Array<Scalars["Int"]["input"]>;
}; };
export type FloatRangeFilter = {
greaterThan?: InputMaybe<Scalars["Float"]["input"]>;
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
greaterThanInclusive?: Scalars["Boolean"]["input"];
includeOnNone?: Scalars["Boolean"]["input"];
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
lessThanInclusive?: Scalars["Boolean"]["input"];
};
export type GetProfileUploadLinkErrors = { export type GetProfileUploadLinkErrors = {
__typename?: "GetProfileUploadLinkErrors"; __typename?: "GetProfileUploadLinkErrors";
error: TooManyProfileImageUploadsErr; error: TooManyProfileImageUploadsErr;
@ -1709,15 +1800,6 @@ export type QueryWaitForArgs = {
duration: Scalars["Float"]["input"]; duration: Scalars["Float"]["input"];
}; };
export type RangeFilter = {
greaterThan?: InputMaybe<Scalars["Float"]["input"]>;
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
greaterThanInclusive?: Scalars["Boolean"]["input"];
includeOnNone?: Scalars["Boolean"]["input"];
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
lessThanInclusive?: Scalars["Boolean"]["input"];
};
export type SegmentAlreadyUploadedErr = { export type SegmentAlreadyUploadedErr = {
__typename?: "SegmentAlreadyUploadedErr"; __typename?: "SegmentAlreadyUploadedErr";
segmentId: Scalars["Int"]["output"]; segmentId: Scalars["Int"]["output"];

View File

@ -116,6 +116,7 @@ query GetShotsWithMetadata(
serializedShotPaths { serializedShotPaths {
b64EncodedBuffer b64EncodedBuffer
} }
createdAt @include(if: $includeCreatedAt) createdAt @include(if: $includeCreatedAt)
updatedAt @include(if: $includeUpdatedAt) updatedAt @include(if: $includeUpdatedAt)
cueObjectFeatures @include(if: $includeCueObjectFeatures) { cueObjectFeatures @include(if: $includeCueObjectFeatures) {

View File

@ -131,11 +131,11 @@ input FilterInput @oneOf {
andFilters: [FilterInput!] andFilters: [FilterInput!]
orFilters: [FilterInput!] orFilters: [FilterInput!]
notFilter: FilterInput notFilter: FilterInput
cueObjectDistance: RangeFilter cueObjectDistance: FloatRangeFilter
targetPocketDistance: RangeFilter targetPocketDistance: FloatRangeFilter
cueObjectAngle: RangeFilter cueObjectAngle: FloatRangeFilter
cueBallSpeed: RangeFilter cueBallSpeed: FloatRangeFilter
difficulty: RangeFilter difficulty: FloatRangeFilter
intendedPocketType: [PocketEnum!] intendedPocketType: [PocketEnum!]
shotDirection: [ShotDirectionEnum!] shotDirection: [ShotDirectionEnum!]
videoId: [Int!] videoId: [Int!]
@ -149,22 +149,23 @@ input FilterInput @oneOf {
isLeftMiss: [Boolean!] isLeftMiss: [Boolean!]
isRightMiss: [Boolean!] isRightMiss: [Boolean!]
isDirect: [Boolean!] isDirect: [Boolean!]
tableSize: RangeFilter tableSize: FloatRangeFilter
bankAngle: RangeFilter bankAngle: FloatRangeFilter
bankDistance: RangeFilter bankDistance: FloatRangeFilter
kickAngle: RangeFilter kickAngle: FloatRangeFilter
kickDistance: RangeFilter kickDistance: FloatRangeFilter
cueAngleAfterObject: RangeFilter cueAngleAfterObject: FloatRangeFilter
spinType: [SpinTypeEnum!] spinType: [SpinTypeEnum!]
cueSpeedAfterObject: RangeFilter cueSpeedAfterObject: FloatRangeFilter
falsePositiveScore: RangeFilter falsePositiveScore: FloatRangeFilter
backcut: [Boolean!] backcut: [Boolean!]
targetPocketAngleDirection: [ShotDirectionEnum!] targetPocketAngleDirection: [ShotDirectionEnum!]
targetPocketAngle: RangeFilter targetPocketAngle: FloatRangeFilter
missAngleInDegrees: RangeFilter missAngleInDegrees: FloatRangeFilter
createdAt: DateRangeFilter
} }
input RangeFilter { input FloatRangeFilter {
lessThan: Float = null lessThan: Float = null
greaterThanEqualTo: Float = null greaterThanEqualTo: Float = null
greaterThan: Float = null greaterThan: Float = null
@ -204,6 +205,20 @@ enum SpinTypeEnum {
UNKNOWN UNKNOWN
} }
input DateRangeFilter {
lessThan: Date = null
greaterThanEqualTo: Date = null
greaterThan: Date = null
includeOnNone: Boolean! = false
lessThanInclusive: Boolean! = false
greaterThanInclusive: Boolean! = true
}
"""
Date (isoformat)
"""
scalar Date
type BucketSetGQL { type BucketSetGQL {
keyName: String! keyName: String!
feature: String! feature: String!