Merge pull request 'Add countRespectsLimit' (#109) from mk/count-respects-limit into master

Reviewed-on: #109
This commit is contained in:
countablecloud 2024-10-31 14:40:06 -06:00
commit b3259dac1f
2 changed files with 6 additions and 0 deletions

View File

@ -2211,6 +2211,7 @@ export type QueryGetMedalsArgs = {
}; };
export type QueryGetOrderedShotsArgs = { export type QueryGetOrderedShotsArgs = {
countRespectsLimit?: Scalars["Boolean"]["input"];
filterInput: FilterInput; filterInput: FilterInput;
ids?: InputMaybe<Array<Scalars["Int"]["input"]>>; ids?: InputMaybe<Array<Scalars["Int"]["input"]>>;
limit?: Scalars["Int"]["input"]; limit?: Scalars["Int"]["input"];
@ -2226,6 +2227,7 @@ export type QueryGetShotAnnotationTypesArgs = {
}; };
export type QueryGetShotsArgs = { export type QueryGetShotsArgs = {
countRespectsLimit?: Scalars["Boolean"]["input"];
filterInput: FilterInput; filterInput: FilterInput;
limit?: Scalars["Int"]["input"]; limit?: Scalars["Int"]["input"];
shotsPagination?: InputMaybe<GetShotsPagination>; shotsPagination?: InputMaybe<GetShotsPagination>;
@ -2236,6 +2238,7 @@ export type QueryGetShotsByIdsArgs = {
}; };
export type QueryGetShotsWithMetadataArgs = { export type QueryGetShotsWithMetadataArgs = {
countRespectsLimit?: Scalars["Boolean"]["input"];
filterInput: FilterInput; filterInput: FilterInput;
ids?: InputMaybe<Array<Scalars["Int"]["input"]>>; ids?: InputMaybe<Array<Scalars["Int"]["input"]>>;
limit?: Scalars["Int"]["input"]; limit?: Scalars["Int"]["input"];

View File

@ -15,17 +15,20 @@ type Query {
ids: [Int!] = null ids: [Int!] = null
shotsOrdering: GetShotsOrdering = null shotsOrdering: GetShotsOrdering = null
limit: Int! = 500 limit: Int! = 500
countRespectsLimit: Boolean! = false
): GetShotsResult! ): GetShotsResult!
getShotsWithMetadata( getShotsWithMetadata(
filterInput: FilterInput! filterInput: FilterInput!
ids: [Int!] = null ids: [Int!] = null
shotsPagination: GetShotsPagination = null shotsPagination: GetShotsPagination = null
limit: Int! = 500 limit: Int! = 500
countRespectsLimit: Boolean! = false
): GetShotsResult! ): GetShotsResult!
getShots( getShots(
filterInput: FilterInput! filterInput: FilterInput!
shotsPagination: GetShotsPagination = null shotsPagination: GetShotsPagination = null
limit: Int! = 500 limit: Int! = 500
countRespectsLimit: Boolean! = false
): [ShotGQL!]! ): [ShotGQL!]!
getShotsByIds(ids: [Int!]!): [ShotGQL!]! getShotsByIds(ids: [Int!]!): [ShotGQL!]!
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]! getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!