From 478c04215f3038917339bab784ac8ca051e6f685 Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Thu, 3 Oct 2024 12:34:36 -0600 Subject: [PATCH] GetShotsWithMetadata accepts ids --- src/index.tsx | 6 ++++++ src/operations/shots.gql | 3 +++ 2 files changed, 9 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 9f8acf9..0aa5698 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2255,6 +2255,7 @@ export type GetShotsWithMetadataQueryVariables = Exact<{ filterInput: FilterInput; shotsPagination?: InputMaybe; limit?: InputMaybe; + ids?: InputMaybe | Scalars["Int"]["input"]>; }>; export type GetShotsWithMetadataQuery = { @@ -2262,6 +2263,7 @@ export type GetShotsWithMetadataQuery = { getShotsWithMetadata: { __typename?: "GetShotsResult"; count?: number | null; + ids: Array; shots: Array<{ __typename?: "ShotGQL"; id: number; @@ -3493,16 +3495,19 @@ export const GetShotsWithMetadataDocument = gql` $filterInput: FilterInput! $shotsPagination: GetShotsPagination $limit: Int + $ids: [Int!] ) { getShotsWithMetadata( filterInput: $filterInput shotsPagination: $shotsPagination limit: $limit + ids: $ids ) { count shots { ...ShotWithAllFeatures } + ids } } ${ShotWithAllFeaturesFragmentDoc} @@ -3523,6 +3528,7 @@ export const GetShotsWithMetadataDocument = gql` * filterInput: // value for 'filterInput' * shotsPagination: // value for 'shotsPagination' * limit: // value for 'limit' + * ids: // value for 'ids' * }, * }); */ diff --git a/src/operations/shots.gql b/src/operations/shots.gql index ca5b1cd..ee1e939 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -21,16 +21,19 @@ query GetShotsWithMetadata( $filterInput: FilterInput! $shotsPagination: GetShotsPagination $limit: Int + $ids: [Int!] ) { getShotsWithMetadata( filterInput: $filterInput shotsPagination: $shotsPagination limit: $limit + ids: $ids ) { count shots { ...ShotWithAllFeatures } + ids } } -- 2.46.1