Add runLength ordering and filter

This commit is contained in:
Ivan Malison 2024-10-21 21:35:19 -06:00
parent b9036001aa
commit 8f346d7832
2 changed files with 94 additions and 0 deletions

View File

@ -220,6 +220,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -261,6 +262,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -302,6 +304,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -343,6 +346,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -384,6 +388,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -425,6 +430,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -466,6 +472,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -507,6 +514,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -548,6 +556,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -589,6 +598,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -630,6 +640,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -671,6 +682,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -712,6 +724,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -753,6 +766,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -794,6 +808,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -835,6 +850,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -876,6 +892,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -917,6 +934,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -958,6 +976,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -999,6 +1018,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1040,6 +1060,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1081,6 +1102,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1122,6 +1144,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1163,6 +1186,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1204,6 +1228,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1245,6 +1270,7 @@ export type FilterInput =
missAngleInDegrees: FloatRangeFilter; missAngleInDegrees: FloatRangeFilter;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1286,6 +1312,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter: FilterInput; notFilter: FilterInput;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1327,6 +1354,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters: Array<FilterInput>; orFilters: Array<FilterInput>;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1368,6 +1396,49 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength: FloatRangeFilter;
shotDirection?: never;
spinType?: never;
tableSize?: never;
tags?: never;
targetPocketAngle?: never;
targetPocketAngleDirection?: never;
targetPocketDistance?: never;
totalDistance?: never;
userId?: never;
username?: never;
videoId?: never;
}
| {
andFilters?: never;
annotations?: never;
backcut?: never;
bankAngle?: never;
bankDistance?: never;
createdAt?: never;
cueAngleAfterObject?: never;
cueBallSpeed?: never;
cueObjectAngle?: never;
cueObjectDistance?: never;
cueSpeedAfterObject?: never;
difficulty?: never;
falsePositiveScore?: never;
fargoRating?: never;
intendedPocketType?: never;
isDirect?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
kickAngle?: never;
kickDistance?: never;
make?: never;
marginOfErrorInDegrees?: never;
missAngleInDegrees?: never;
notFilter?: never;
orFilters?: never;
runLength?: never;
shotDirection: Array<ShotDirectionEnum>; shotDirection: Array<ShotDirectionEnum>;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1409,6 +1480,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType: Array<SpinTypeEnum>; spinType: Array<SpinTypeEnum>;
tableSize?: never; tableSize?: never;
@ -1450,6 +1522,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize: FloatRangeFilter; tableSize: FloatRangeFilter;
@ -1491,6 +1564,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1532,6 +1606,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1573,6 +1648,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1614,6 +1690,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1655,6 +1732,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1696,6 +1774,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1737,6 +1816,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -1778,6 +1858,7 @@ export type FilterInput =
missAngleInDegrees?: never; missAngleInDegrees?: never;
notFilter?: never; notFilter?: never;
orFilters?: never; orFilters?: never;
runLength?: never;
shotDirection?: never; shotDirection?: never;
spinType?: never; spinType?: never;
tableSize?: never; tableSize?: never;
@ -2245,24 +2326,35 @@ export type ShotGql = {
export type ShotsOrderingComponent = export type ShotsOrderingComponent =
| { | {
marginOfError: FloatShotOrdering; marginOfError: FloatShotOrdering;
runLength?: never;
startFrame?: never; startFrame?: never;
videoCreation?: never; videoCreation?: never;
videoId?: never; videoId?: never;
} }
| { | {
marginOfError?: never; marginOfError?: never;
runLength: IntShotOrdering;
startFrame?: never;
videoCreation?: never;
videoId?: never;
}
| {
marginOfError?: never;
runLength?: never;
startFrame: IntShotOrdering; startFrame: IntShotOrdering;
videoCreation?: never; videoCreation?: never;
videoId?: never; videoId?: never;
} }
| { | {
marginOfError?: never; marginOfError?: never;
runLength?: never;
startFrame?: never; startFrame?: never;
videoCreation: DatetimeShotOrdering; videoCreation: DatetimeShotOrdering;
videoId?: never; videoId?: never;
} }
| { | {
marginOfError?: never; marginOfError?: never;
runLength?: never;
startFrame?: never; startFrame?: never;
videoCreation?: never; videoCreation?: never;
videoId: IntShotOrdering; videoId: IntShotOrdering;

View File

@ -179,6 +179,7 @@ input FilterInput @oneOf {
marginOfErrorInDegrees: FloatRangeFilter marginOfErrorInDegrees: FloatRangeFilter
createdAt: DateRangeFilter createdAt: DateRangeFilter
totalDistance: FloatRangeFilter totalDistance: FloatRangeFilter
runLength: FloatRangeFilter
} }
input FloatRangeFilter { input FloatRangeFilter {
@ -517,6 +518,7 @@ input ShotsOrderingComponent @oneOf {
marginOfError: FloatShotOrdering marginOfError: FloatShotOrdering
videoId: IntShotOrdering videoId: IntShotOrdering
startFrame: IntShotOrdering startFrame: IntShotOrdering
runLength: IntShotOrdering
} }
input DatetimeShotOrdering { input DatetimeShotOrdering {