From f1ae2b62d6be9e42407563b22cf72f02e5a9f338 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 16 Jan 2025 20:16:14 -0700 Subject: [PATCH] Add limit parameter --- src/index.tsx | 1 + src/schema.gql | 1 + 2 files changed, 2 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index f838bfe..e20978e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2364,6 +2364,7 @@ export type QueryGetFeedVideosArgs = { export type QueryGetLongestRunsLeaderboardArgs = { interval?: InputMaybe; + limit?: Scalars["Int"]["input"]; requiredTags?: InputMaybe>; when?: InputMaybe; }; diff --git a/src/schema.gql b/src/schema.gql index 6b157b9..8db4dd1 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -74,6 +74,7 @@ type Query { getLongestRunsLeaderboard( interval: TimeInterval = null when: DateTime = null + limit: Int! = 100 requiredTags: [String!] = null ): RunLeaderboardGQL! getMakesLeaderboard(