This commit is contained in:
2024-11-15 20:27:37 +01:00
committed by Loewy
parent dabb0d1d9c
commit 55bfe42484
2 changed files with 322 additions and 0 deletions

106
src/operations/medals.gql Normal file
View File

@@ -0,0 +1,106 @@
query getMedals($scope: MedalScope!, $userId: Int) {
getMedals(scope: $scope, userId: $userId) {
dayStreak2 {
count
}
dayStreak3 {
count
}
dayStreak4 {
count
}
dayStreak5 {
count
}
dayStreak6 {
count
}
dayStreak7 {
count
}
dayStreak14 {
count
}
dayStreak21 {
count
}
dayStreak30 {
count
}
dayStreak60 {
count
}
dayStreak90 {
count
}
distanceOver66 {
count
}
distanceOver78 {
count
}
distanceOver90 {
count
}
runLength3 {
count
}
runLength5 {
count
}
runLength8 {
count
}
runLength10 {
count
}
runLength15 {
count
}
runLength20 {
count
}
runLength25 {
count
}
runLength30 {
count
}
runLength40 {
count
}
runLength50 {
count
}
totalMakes25 {
count
}
totalMakes50 {
count
}
totalMakes75 {
count
}
totalMakes100 {
count
}
totalMakes200 {
count
}
totalMakes300 {
count
}
totalMakes400 {
count
}
totalMakes500 {
count
}
totalMakes750 {
count
}
totalMakes1000 {
count
}
}
}