Use RunGQL directly for run leaderboard

This commit is contained in:
Ivan Malison 2024-12-22 23:29:43 -07:00
parent df8495df77
commit 8bc67f75b0
2 changed files with 4 additions and 13 deletions

View File

@ -2422,12 +2422,6 @@ export type RequestedMedalsGql = {
totalMakes10000?: Maybe<MedalGql>;
};
export type RunEntry = {
__typename?: "RunEntry";
run: RunGql;
user: UserGql;
};
export type RunFilterInput = {
andFilters?: InputMaybe<Array<RunFilterInput>>;
createdAt?: InputMaybe<DateRangeFilter>;
@ -2445,6 +2439,7 @@ export type RunGql = {
id: Scalars["Int"]["output"];
runLength: Scalars["Int"]["output"];
shots: Array<ShotGql>;
user: UserGql;
userId: Scalars["Int"]["output"];
video: VideoGql;
videoId: Scalars["Int"]["output"];
@ -2452,7 +2447,7 @@ export type RunGql = {
export type RunLeaderboardGql = {
__typename?: "RunLeaderboardGQL";
entries: Array<RunEntry>;
entries: Array<RunGql>;
};
export type RunsOrderingComponent =

View File

@ -348,6 +348,7 @@ type RunGQL {
userId: Int!
shots: [ShotGQL!]!
video: VideoGQL!
user: UserGQL!
}
type ShotGQL {
@ -730,12 +731,7 @@ input VideoFeedInputGQL @oneOf {
}
type RunLeaderboardGQL {
entries: [RunEntry!]!
}
type RunEntry {
user: UserGQL!
run: RunGQL!
entries: [RunGQL!]!
}
type CountLeaderboardGQL {