diff --git a/src/index.tsx b/src/index.tsx index f6137e7..885aa8e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -132,20 +132,16 @@ export type FilterInput = { cueBallSpeed?: InputMaybe; cueObjectAngle?: InputMaybe; cueObjectDistance?: InputMaybe; - gameType?: InputMaybe; intendedPocketType?: InputMaybe; make?: InputMaybe; orFilters?: InputMaybe; shotDirection?: InputMaybe; + tags?: InputMaybe>; targetPocketDistance?: InputMaybe; userId?: InputMaybe>; videoId?: InputMaybe>; }; -export type GameTypeInputGql = { - value: ValueFilterString; -}; - export type GetUploadLinkReturn = { __typename?: "GetUploadLinkReturn"; headers: Array>; @@ -458,6 +454,15 @@ export type VideoTagClass = { name: Scalars["String"]["output"]; }; +export type VideoTagClassInput = { + name: Scalars["String"]["input"]; +}; + +export type VideoTagInput = { + name: Scalars["String"]["input"]; + tagClasses: Array; +}; + export enum WallTypeEnum { Long = "LONG", Short = "SHORT", diff --git a/src/schema.gql b/src/schema.gql index 017c318..533d04f 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -58,7 +58,7 @@ input FilterInput { videoId: [Int!] = null userId: [Int!] = null make: MakeInputGQL = null - gameType: GameTypeInputGQL = null + tags: [VideoTagInput!] = null } input AndFilter { @@ -110,8 +110,13 @@ input ValueFilterBool { equals: Boolean = null } -input GameTypeInputGQL { - value: ValueFilterString! +input VideoTagInput { + tagClasses: [VideoTagClassInput!]! + name: String! +} + +input VideoTagClassInput { + name: String! } type UserGQL {