From 985fa8b8e5f27cecb2b844ccbde1fb0aca0612a1 Mon Sep 17 00:00:00 2001 From: Loewy Date: Mon, 11 Nov 2024 19:54:10 -0800 Subject: [PATCH] add count to return for get shots with just ids --- src/index.tsx | 2 ++ src/operations/shots.gql | 1 + 2 files changed, 3 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 89e6edf..a63ea80 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3014,6 +3014,7 @@ export type GetShotsWithJustIdsQuery = { __typename?: "Query"; getOrderedShots: { __typename?: "GetShotsResult"; + count?: number | null; shots: Array<{ __typename?: "ShotGQL"; id: number; videoId: number }>; }; }; @@ -5055,6 +5056,7 @@ export const GetShotsWithJustIdsDocument = gql` shotsOrdering: $shotsOrdering limit: $limit ) { + count shots { id videoId diff --git a/src/operations/shots.gql b/src/operations/shots.gql index 4e6ab40..151a147 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -72,6 +72,7 @@ query GetShotsWithJustIds( shotsOrdering: $shotsOrdering limit: $limit ) { + count shots { id videoId