Use RunGQL directly for run leaderboard
This commit is contained in:
parent
df8495df77
commit
8bc67f75b0
@ -2422,12 +2422,6 @@ export type RequestedMedalsGql = {
|
|||||||
totalMakes10000?: Maybe<MedalGql>;
|
totalMakes10000?: Maybe<MedalGql>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type RunEntry = {
|
|
||||||
__typename?: "RunEntry";
|
|
||||||
run: RunGql;
|
|
||||||
user: UserGql;
|
|
||||||
};
|
|
||||||
|
|
||||||
export type RunFilterInput = {
|
export type RunFilterInput = {
|
||||||
andFilters?: InputMaybe<Array<RunFilterInput>>;
|
andFilters?: InputMaybe<Array<RunFilterInput>>;
|
||||||
createdAt?: InputMaybe<DateRangeFilter>;
|
createdAt?: InputMaybe<DateRangeFilter>;
|
||||||
@ -2445,6 +2439,7 @@ export type RunGql = {
|
|||||||
id: Scalars["Int"]["output"];
|
id: Scalars["Int"]["output"];
|
||||||
runLength: Scalars["Int"]["output"];
|
runLength: Scalars["Int"]["output"];
|
||||||
shots: Array<ShotGql>;
|
shots: Array<ShotGql>;
|
||||||
|
user: UserGql;
|
||||||
userId: Scalars["Int"]["output"];
|
userId: Scalars["Int"]["output"];
|
||||||
video: VideoGql;
|
video: VideoGql;
|
||||||
videoId: Scalars["Int"]["output"];
|
videoId: Scalars["Int"]["output"];
|
||||||
@ -2452,7 +2447,7 @@ export type RunGql = {
|
|||||||
|
|
||||||
export type RunLeaderboardGql = {
|
export type RunLeaderboardGql = {
|
||||||
__typename?: "RunLeaderboardGQL";
|
__typename?: "RunLeaderboardGQL";
|
||||||
entries: Array<RunEntry>;
|
entries: Array<RunGql>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type RunsOrderingComponent =
|
export type RunsOrderingComponent =
|
||||||
|
@ -348,6 +348,7 @@ type RunGQL {
|
|||||||
userId: Int!
|
userId: Int!
|
||||||
shots: [ShotGQL!]!
|
shots: [ShotGQL!]!
|
||||||
video: VideoGQL!
|
video: VideoGQL!
|
||||||
|
user: UserGQL!
|
||||||
}
|
}
|
||||||
|
|
||||||
type ShotGQL {
|
type ShotGQL {
|
||||||
@ -730,12 +731,7 @@ input VideoFeedInputGQL @oneOf {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type RunLeaderboardGQL {
|
type RunLeaderboardGQL {
|
||||||
entries: [RunEntry!]!
|
entries: [RunGQL!]!
|
||||||
}
|
|
||||||
|
|
||||||
type RunEntry {
|
|
||||||
user: UserGQL!
|
|
||||||
run: RunGQL!
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type CountLeaderboardGQL {
|
type CountLeaderboardGQL {
|
||||||
|
Loading…
Reference in New Issue
Block a user