Merge pull request 'Create shot annotations gql' (#13) from kat/shot-annotations into master

Reviewed-on: #13
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
This commit is contained in:
Ivan Malison 2024-07-08 11:03:47 -06:00
commit ba84f6d9c0
2 changed files with 48 additions and 0 deletions

View File

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

View File

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