Create shot annotations gql
All checks were successful
Tests / Tests (pull_request) Successful in 8s

This commit is contained in:
Kat Huang 2024-07-08 10:56:05 -06:00
parent efc0b2d858
commit 6a72f9f43f
2 changed files with 48 additions and 0 deletions

View File

@ -131,6 +131,7 @@ export type EnumAggregation = {
export type FilterInput = export type FilterInput =
| { | {
andFilters: Array<FilterInput>; andFilters: Array<FilterInput>;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -151,6 +152,28 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations: Array<ShotAnnotationInput>;
cueBallSpeed?: never;
cueObjectAngle?: never;
cueObjectDistance?: never;
difficulty?: never;
intendedPocketType?: never;
isLeft?: never;
isLeftMiss?: never;
isRight?: never;
isRightMiss?: never;
isStraight?: never;
make?: never;
orFilters?: never;
shotDirection?: never;
tags?: never;
targetPocketDistance?: never;
userId?: never;
videoId?: never;
}
| {
andFilters?: never;
annotations?: never;
cueBallSpeed: RangeFilter; cueBallSpeed: RangeFilter;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -171,6 +194,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle: RangeFilter; cueObjectAngle: RangeFilter;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -191,6 +215,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance: RangeFilter; cueObjectDistance: RangeFilter;
@ -211,6 +236,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -231,6 +257,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -251,6 +278,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -271,6 +299,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -291,6 +320,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -311,6 +341,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -331,6 +362,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -351,6 +383,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -371,6 +404,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -391,6 +425,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -411,6 +446,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -431,6 +467,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -451,6 +488,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -471,6 +509,7 @@ export type FilterInput =
} }
| { | {
andFilters?: never; andFilters?: never;
annotations?: never;
cueBallSpeed?: never; cueBallSpeed?: never;
cueObjectAngle?: never; cueObjectAngle?: never;
cueObjectDistance?: never; cueObjectDistance?: never;
@ -671,6 +710,10 @@ export type SerializedShotPathsGql = {
b64EncodedBuffer?: Maybe<Scalars["String"]["output"]>; b64EncodedBuffer?: Maybe<Scalars["String"]["output"]>;
}; };
export type ShotAnnotationInput = {
name: Scalars["String"]["input"];
};
export enum ShotDirectionEnum { export enum ShotDirectionEnum {
Left = "LEFT", Left = "LEFT",
Right = "RIGHT", Right = "RIGHT",

View File

@ -76,6 +76,7 @@ input FilterInput @oneOf {
userId: [Int!] userId: [Int!]
make: [Boolean!] make: [Boolean!]
tags: [VideoTagInput!] tags: [VideoTagInput!]
annotations: [ShotAnnotationInput!]
isStraight: [Boolean!] isStraight: [Boolean!]
isRight: [Boolean!] isRight: [Boolean!]
isLeft: [Boolean!] isLeft: [Boolean!]
@ -108,6 +109,10 @@ input VideoTagClassInput {
name: String! name: String!
} }
input ShotAnnotationInput {
name: String!
}
type BucketSetGQL { type BucketSetGQL {
keyName: String! keyName: String!
feature: String! feature: String!