From 0160455b9fd163191601de4f53a1f3dd222662c4 Mon Sep 17 00:00:00 2001 From: Loewy Date: Thu, 24 Apr 2025 12:43:07 -0700 Subject: [PATCH] add limit and countRespectsLimit args --- src/index.tsx | 8 ++++++++ src/operations/runs.gql | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 52fa5e2..099d8e3 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3593,6 +3593,8 @@ export type GetRunsForHighlightsQueryVariables = Exact<{ filterInput: RunFilterInput; runIds?: InputMaybe | Scalars["Int"]["input"]>; runsOrdering?: InputMaybe; + limit?: Scalars["Int"]["input"]; + countRespectsLimit?: Scalars["Boolean"]["input"]; }>; export type GetRunsForHighlightsQuery = { @@ -6060,11 +6062,15 @@ export const GetRunsForHighlightsDocument = gql` $filterInput: RunFilterInput! $runIds: [Int!] = null $runsOrdering: GetRunsOrdering + $limit: Int! = 500 + $countRespectsLimit: Boolean! = false ) { getRuns( filterInput: $filterInput runIds: $runIds runsOrdering: $runsOrdering + limit: $limit + countRespectsLimit: $countRespectsLimit ) { count runs { @@ -6097,6 +6103,8 @@ export const GetRunsForHighlightsDocument = gql` * filterInput: // value for 'filterInput' * runIds: // value for 'runIds' * runsOrdering: // value for 'runsOrdering' + * limit: // value for 'limit' + * countRespectsLimit: // value for 'countRespectsLimit' * }, * }); */ diff --git a/src/operations/runs.gql b/src/operations/runs.gql index a900152..8ae83a6 100644 --- a/src/operations/runs.gql +++ b/src/operations/runs.gql @@ -2,11 +2,15 @@ query GetRunsForHighlights( $filterInput: RunFilterInput! $runIds: [Int!] = null $runsOrdering: GetRunsOrdering + $limit: Int! = 500 + $countRespectsLimit: Boolean! = false ) { getRuns( filterInput: $filterInput runIds: $runIds runsOrdering: $runsOrdering + limit: $limit + countRespectsLimit: $countRespectsLimit ) { count runs { -- 2.47.2