From 1665cf1eb96c6b1133e2b3ba88f951fdeb70293d Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Fri, 8 Mar 2024 13:23:01 -0700 Subject: [PATCH] Create video id filter gql --- src/index.tsx | 9 +++++++++ src/schema.gql | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 4cfbbbe..6d99543 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -124,6 +124,7 @@ export type FilterInput = { orFilters?: InputMaybe; shotDirection?: InputMaybe; targetPocketDistance?: InputMaybe; + videoId?: InputMaybe; }; export type GetUploadLinkReturn = { @@ -138,6 +139,14 @@ export type Header = { value: Scalars["String"]["output"]; }; +export type IdInput = { + value: InListFilter; +}; + +export type InListFilter = { + inList?: InputMaybe>; +}; + export type IntendedPocketTypeInput = { value: EnumFilter; }; diff --git a/src/schema.gql b/src/schema.gql index 6b879b5..b257afb 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -163,6 +163,7 @@ input FilterInput { cueBallSpeed: CueBallSpeedInput = null intendedPocketType: IntendedPocketTypeInput = null shotDirection: ShotDirectionInput = null + videoId: IdInput = null } input AndFilter { @@ -206,6 +207,14 @@ input ShotDirectionInput { value: EnumFilter! } +input IdInput { + value: InListFilter! +} + +input InListFilter { + inList: [ID!] = null +} + type BucketSetGQL { keyName: String! feature: String!