From 0982b9e60cfbb5a181943f5d9a5a77f5a873e650 Mon Sep 17 00:00:00 2001 From: Mike Kalange Date: Thu, 31 Oct 2024 13:37:15 -0700 Subject: [PATCH] Add countRespectsLimit --- src/index.tsx | 3 +++ src/schema.gql | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 5c9b350..bdda3d9 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2211,6 +2211,7 @@ export type QueryGetMedalsArgs = { }; export type QueryGetOrderedShotsArgs = { + countRespectsLimit?: Scalars["Boolean"]["input"]; filterInput: FilterInput; ids?: InputMaybe>; limit?: Scalars["Int"]["input"]; @@ -2226,6 +2227,7 @@ export type QueryGetShotAnnotationTypesArgs = { }; export type QueryGetShotsArgs = { + countRespectsLimit?: Scalars["Boolean"]["input"]; filterInput: FilterInput; limit?: Scalars["Int"]["input"]; shotsPagination?: InputMaybe; @@ -2236,6 +2238,7 @@ export type QueryGetShotsByIdsArgs = { }; export type QueryGetShotsWithMetadataArgs = { + countRespectsLimit?: Scalars["Boolean"]["input"]; filterInput: FilterInput; ids?: InputMaybe>; limit?: Scalars["Int"]["input"]; diff --git a/src/schema.gql b/src/schema.gql index fd80d57..35e4565 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -15,17 +15,20 @@ type Query { ids: [Int!] = null shotsOrdering: GetShotsOrdering = null limit: Int! = 500 + countRespectsLimit: Boolean! = false ): GetShotsResult! getShotsWithMetadata( filterInput: FilterInput! ids: [Int!] = null shotsPagination: GetShotsPagination = null limit: Int! = 500 + countRespectsLimit: Boolean! = false ): GetShotsResult! getShots( filterInput: FilterInput! shotsPagination: GetShotsPagination = null limit: Int! = 500 + countRespectsLimit: Boolean! = false ): [ShotGQL!]! getShotsByIds(ids: [Int!]!): [ShotGQL!]! getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!