From 19628736c1d12a896e0de77bade3f7c4068fae3e Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 9 Mar 2024 00:59:13 -0700 Subject: [PATCH] Add aggregation filter attributes --- src/index.tsx | 6 ++++++ src/schema.gql | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index f395570..6c99799 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -132,6 +132,8 @@ export type FilterInput = { orFilters?: InputMaybe; shotDirection?: InputMaybe; targetPocketDistance?: InputMaybe; + userId?: InputMaybe; + videoId?: InputMaybe; }; export type GetUploadLinkReturn = { @@ -154,6 +156,10 @@ export type HomographyInfoGql = { sourcePoints: PocketPointsGql; }; +export type InListFilter = { + inList?: InputMaybe>; +}; + export type IntPoint2D = { __typename?: "IntPoint2D"; x: Scalars["Int"]["output"]; diff --git a/src/schema.gql b/src/schema.gql index 999a377..fc1a1f7 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -198,6 +198,8 @@ input FilterInput { cueBallSpeed: CueBallSpeedInput = null intendedPocketType: IntendedPocketTypeInput = null shotDirection: ShotDirectionInput = null + videoId: InListFilter = null + userId: InListFilter = null } input AndFilter { @@ -241,6 +243,10 @@ input ShotDirectionInput { value: EnumFilter! } +input InListFilter { + inList: [Int!] = null +} + type BucketSetGQL { keyName: String! feature: String!