diff --git a/src/index.tsx b/src/index.tsx index 89e6edf..b4d09d0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3008,12 +3008,14 @@ export type GetShotsWithJustIdsQueryVariables = Exact<{ filterInput: FilterInput; shotsOrdering?: InputMaybe; limit?: InputMaybe; + countRespectsLimit?: InputMaybe; }>; export type GetShotsWithJustIdsQuery = { __typename?: "Query"; getOrderedShots: { __typename?: "GetShotsResult"; + count?: number | null; shots: Array<{ __typename?: "ShotGQL"; id: number; videoId: number }>; }; }; @@ -5049,12 +5051,15 @@ export const GetShotsWithJustIdsDocument = gql` $filterInput: FilterInput! $shotsOrdering: GetShotsOrdering $limit: Int + $countRespectsLimit: Boolean ) { getOrderedShots( filterInput: $filterInput shotsOrdering: $shotsOrdering limit: $limit + countRespectsLimit: $countRespectsLimit ) { + count shots { id videoId @@ -5078,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 4e6ab40..811938c 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -66,12 +66,15 @@ query GetShotsWithJustIds( $filterInput: FilterInput! $shotsOrdering: GetShotsOrdering $limit: Int + $countRespectsLimit: Boolean ) { getOrderedShots( filterInput: $filterInput shotsOrdering: $shotsOrdering limit: $limit + countRespectsLimit: $countRespectsLimit ) { + count shots { id videoId