From 8bd9e039da14b1029f1dab8ce862a942696b8d74 Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Tue, 19 Mar 2024 21:02:49 -0600 Subject: [PATCH] Create game type filter --- src/index.tsx | 5 +++++ src/schema.gql | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 50b7a23..33159de 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -134,6 +134,7 @@ export type FilterInput = { cueBallSpeed?: InputMaybe; cueObjectAngle?: InputMaybe; cueObjectDistance?: InputMaybe; + gameType?: InputMaybe; intendedPocketType?: InputMaybe; make?: InputMaybe; orFilters?: InputMaybe; @@ -143,6 +144,10 @@ export type FilterInput = { videoId?: InputMaybe>; }; +export type GameTypeInputGql = { + value: ValueFilterString; +}; + export type GetUploadLinkReturn = { __typename?: "GetUploadLinkReturn"; headers: Array>; diff --git a/src/schema.gql b/src/schema.gql index 16034fc..db4f3be 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -64,6 +64,7 @@ input FilterInput { videoId: [Int!] = null userId: [Int!] = null make: MakeInputGQL = null + gameType: GameTypeInputGQL = null } input AndFilter { @@ -115,6 +116,10 @@ input ValueFilterBool { equals: String = null } +input GameTypeInputGQL { + value: ValueFilterString! +} + type UserGQL { id: Int! firebaseUid: String!