diff --git a/src/index.tsx b/src/index.tsx index 0d62a43..5e05571 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -248,6 +248,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -290,6 +291,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -332,6 +334,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -374,6 +377,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -416,6 +420,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -458,6 +463,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -500,6 +506,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -542,6 +549,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -584,6 +592,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -626,6 +635,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -668,6 +678,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -710,6 +721,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -752,6 +764,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -794,6 +807,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -836,6 +850,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -878,6 +893,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -920,6 +936,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -962,6 +979,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1004,6 +1022,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1046,6 +1065,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1088,6 +1108,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1130,6 +1151,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1172,6 +1194,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1214,6 +1237,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1256,6 +1280,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1298,6 +1323,7 @@ export type FilterInput = missAngleInDegrees: FloatRangeFilter; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1340,6 +1366,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter: FilterInput; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1382,6 +1409,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters: Array; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1424,6 +1452,50 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId: Array; + runLength?: never; + 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; + runId?: never; runLength: FloatRangeFilter; shotDirection?: never; spinType?: never; @@ -1466,6 +1538,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection: Array; spinType?: never; @@ -1508,6 +1581,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType: Array; @@ -1550,6 +1624,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1592,6 +1667,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1634,6 +1710,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1676,6 +1753,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1718,6 +1796,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1760,6 +1839,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1802,6 +1882,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1844,6 +1925,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -1886,6 +1968,7 @@ export type FilterInput = missAngleInDegrees?: never; notFilter?: never; orFilters?: never; + runId?: never; runLength?: never; shotDirection?: never; spinType?: never; @@ -2422,6 +2505,12 @@ export type RequestedMedalsGql = { totalMakes10000?: Maybe; }; +export type RunFeaturesGql = { + __typename?: "RunFeaturesGQL"; + indexInRun: Scalars["Int"]["output"]; + runId: Scalars["Int"]["output"]; +}; + export type RunFilterInput = { andFilters?: InputMaybe>; createdAt?: InputMaybe; @@ -2523,6 +2612,8 @@ export type ShotGql = { id: Scalars["Int"]["output"]; pocketingIntentionFeatures?: Maybe; pocketingIntentionInfo?: Maybe; + run?: Maybe; + runFeatures?: Maybe; serializedShotPaths?: Maybe; startFrame: Scalars["Int"]["output"]; startTime: Scalars["Float"]["output"]; diff --git a/src/schema.gql b/src/schema.gql index c3689ec..6b157b9 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -182,6 +182,7 @@ input FilterInput @oneOf { shotDirection: [ShotDirectionEnum!] videoId: [Int!] userId: [Int!] + runId: [Int!] username: [String!] fargoRating: FloatRangeFilter make: [Boolean!] @@ -367,6 +368,8 @@ type ShotGQL { annotations: [ShotAnnotationGQL!]! falsePositiveScore: Float video: VideoGQL + run: RunGQL + runFeatures: RunFeaturesGQL } type CueObjectFeaturesGQL { @@ -606,6 +609,11 @@ type VideoProcessingStatusGQL { updatedAt: DateTime } +type RunFeaturesGQL { + runId: Int! + indexInRun: Int! +} + input RunFilterInput { videoId: [Int!] userId: [Int!]