railbird-gql/src/operations/leaderboards.gql

33 lines
583 B
Plaintext
Raw Normal View History

2024-12-20 13:13:30 -08:00
query GetMakesLeaderboard($interval: TimeInterval, $when: DateTime) {
getMakesLeaderboard(interval: $interval, when: $when) {
entries {
user {
id
username
profileImageUri
}
value
proportionMade
total
2024-12-20 13:13:30 -08:00
}
}
}
2024-12-23 13:55:14 -07:00
query GetRunsLeaderboard($interval: TimeInterval, $when: DateTime) {
getLongestRunsLeaderboard(interval: $interval, when: $when) {
entries {
id
runLength
video {
name
createdAt
}
2024-12-23 13:55:14 -07:00
user {
id
username
profileImageUri
}
}
}
}