Add video info to longest runs leaderboard

This commit is contained in:
Ivan Malison 2025-01-16 17:01:32 -07:00
parent bfdda67d1a
commit 4f78cd94ab
2 changed files with 13 additions and 0 deletions

View File

@ -3219,6 +3219,11 @@ export type GetRunsLeaderboardQuery = {
__typename?: "RunGQL";
id: number;
runLength: number;
video: {
__typename?: "VideoGQL";
name?: string | null;
createdAt?: any | null;
};
user: {
__typename?: "UserGQL";
id: number;
@ -5355,6 +5360,10 @@ export const GetRunsLeaderboardDocument = gql`
entries {
id
runLength
video {
name
createdAt
}
user {
id
username

View File

@ -18,6 +18,10 @@ query GetRunsLeaderboard($interval: TimeInterval, $when: DateTime) {
entries {
id
runLength
video {
name
createdAt
}
user {
id
username