From 9cc99d956ad8fd7023469fd4b5cc1a869de0b4cd Mon Sep 17 00:00:00 2001 From: Loewy Date: Mon, 11 Nov 2024 20:07:58 -0800 Subject: [PATCH] add countRespectsLimit argument --- src/index.tsx | 4 ++++ src/operations/shots.gql | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index a63ea80..b4d09d0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3008,6 +3008,7 @@ export type GetShotsWithJustIdsQueryVariables = Exact<{ filterInput: FilterInput; shotsOrdering?: InputMaybe; limit?: InputMaybe; + countRespectsLimit?: InputMaybe; }>; export type GetShotsWithJustIdsQuery = { @@ -5050,11 +5051,13 @@ export const GetShotsWithJustIdsDocument = gql` $filterInput: FilterInput! $shotsOrdering: GetShotsOrdering $limit: Int + $countRespectsLimit: Boolean ) { getOrderedShots( filterInput: $filterInput shotsOrdering: $shotsOrdering limit: $limit + countRespectsLimit: $countRespectsLimit ) { count shots { @@ -5080,6 +5083,7 @@ export const GetShotsWithJustIdsDocument = gql` * filterInput: // value for 'filterInput' * shotsOrdering: // value for 'shotsOrdering' * limit: // value for 'limit' + * countRespectsLimit: // value for 'countRespectsLimit' * }, * }); */ diff --git a/src/operations/shots.gql b/src/operations/shots.gql index 151a147..811938c 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -66,11 +66,13 @@ query GetShotsWithJustIds( $filterInput: FilterInput! $shotsOrdering: GetShotsOrdering $limit: Int + $countRespectsLimit: Boolean ) { getOrderedShots( filterInput: $filterInput shotsOrdering: $shotsOrdering limit: $limit + countRespectsLimit: $countRespectsLimit ) { count shots {