From c3210df517185ccceff76658ff0ecda431c40966 Mon Sep 17 00:00:00 2001 From: Loewy Date: Tue, 13 Aug 2024 13:49:12 -0700 Subject: [PATCH] make pagination optional: --- src/index.tsx | 4 ++-- src/operations/shots.gql | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index c20a7ad..a73f54c 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1600,7 +1600,7 @@ export type GetVideoMakePercentageIntervalsQuery = { export type GetShotsQueryVariables = Exact<{ filterInput: FilterInput; - shotsPagination: GetShotsPagination; + shotsPagination?: InputMaybe; limit?: InputMaybe; includeCreatedAt?: Scalars["Boolean"]["input"]; includeUpdatedAt?: Scalars["Boolean"]["input"]; @@ -2462,7 +2462,7 @@ export type GetVideoMakePercentageIntervalsQueryResult = Apollo.QueryResult< export const GetShotsDocument = gql` query GetShots( $filterInput: FilterInput! - $shotsPagination: GetShotsPagination! + $shotsPagination: GetShotsPagination $limit: Int $includeCreatedAt: Boolean! = false $includeUpdatedAt: Boolean! = false diff --git a/src/operations/shots.gql b/src/operations/shots.gql index 3e2f6da..5c486f9 100644 --- a/src/operations/shots.gql +++ b/src/operations/shots.gql @@ -1,6 +1,6 @@ query GetShots( $filterInput: FilterInput! - $shotsPagination: GetShotsPagination! + $shotsPagination: GetShotsPagination $limit: Int $includeCreatedAt: Boolean! = false $includeUpdatedAt: Boolean! = false