Medals #135

Merged
loewy merged 3 commits from volodymyr/medals into master 2024-11-15 17:52:15 -07:00
2 changed files with 140 additions and 41 deletions
Showing only changes of commit 2536f5db6b - Show all commits

View File

@ -2941,29 +2941,106 @@ export type GetMedalsQuery = {
__typename?: "Query"; __typename?: "Query";
getMedals: { getMedals: {
__typename?: "RequestedMedalsGQL"; __typename?: "RequestedMedalsGQL";
distanceOver66?: { __typename?: "MedalGQL"; count: number } | null; distanceOver66?: {
distanceOver78?: { __typename?: "MedalGQL"; count: number } | null; __typename?: "MedalGQL";
distanceOver90?: { __typename?: "MedalGQL"; count: number } | null; count: number;
runLength3?: { __typename?: "MedalGQL"; count: number } | null; nickname?: string | null;
runLength5?: { __typename?: "MedalGQL"; count: number } | null; } | null;
runLength8?: { __typename?: "MedalGQL"; count: number } | null; distanceOver78?: {
runLength10?: { __typename?: "MedalGQL"; count: number } | null; __typename?: "MedalGQL";
runLength15?: { __typename?: "MedalGQL"; count: number } | null; count: number;
runLength20?: { __typename?: "MedalGQL"; count: number } | null; nickname?: string | null;
runLength25?: { __typename?: "MedalGQL"; count: number } | null; } | null;
runLength30?: { __typename?: "MedalGQL"; count: number } | null; distanceOver90?: {
runLength40?: { __typename?: "MedalGQL"; count: number } | null; __typename?: "MedalGQL";
runLength50?: { __typename?: "MedalGQL"; count: number } | null; count: number;
totalMakes25?: { __typename?: "MedalGQL"; count: number } | null; nickname?: string | null;
totalMakes50?: { __typename?: "MedalGQL"; count: number } | null; } | null;
totalMakes75?: { __typename?: "MedalGQL"; count: number } | null; runLength3?: {
totalMakes100?: { __typename?: "MedalGQL"; count: number } | null; __typename?: "MedalGQL";
totalMakes200?: { __typename?: "MedalGQL"; count: number } | null; count: number;
totalMakes300?: { __typename?: "MedalGQL"; count: number } | null; nickname?: string | null;
totalMakes400?: { __typename?: "MedalGQL"; count: number } | null; } | null;
totalMakes500?: { __typename?: "MedalGQL"; count: number } | null; runLength5?: {
totalMakes750?: { __typename?: "MedalGQL"; count: number } | null; __typename?: "MedalGQL";
totalMakes1000?: { __typename?: "MedalGQL"; count: number } | null; count: number;
nickname?: string | null;
} | null;
runLength8?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
runLength10?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
runLength15?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
runLength20?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
runLength25?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
runLength30?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
runLength40?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
runLength50?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
totalMakes25?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
totalMakes50?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
totalMakes75?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
totalMakes100?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
totalMakes200?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
totalMakes300?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
totalMakes400?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
}; };
}; };
@ -4796,72 +4873,83 @@ export const GetMedalsDocument = gql`
getMedals(scope: $scope, userId: $userId) { getMedals(scope: $scope, userId: $userId) {
distanceOver66 { distanceOver66 {
count count
nickname
} }
distanceOver78 { distanceOver78 {
count count
nickname
} }
distanceOver90 { distanceOver90 {
count count
nickname
} }
runLength3 { runLength3 {
count count
nickname
} }
runLength5 { runLength5 {
count count
nickname
} }
runLength8 { runLength8 {
count count
nickname
} }
runLength10 { runLength10 {
count count
nickname
} }
runLength15 { runLength15 {
count count
nickname
} }
runLength20 { runLength20 {
count count
nickname
} }
runLength25 { runLength25 {
count count
nickname
} }
runLength30 { runLength30 {
count count
nickname
} }
runLength40 { runLength40 {
count count
nickname
} }
runLength50 { runLength50 {
count count
nickname
} }
totalMakes25 { totalMakes25 {
count count
nickname
} }
totalMakes50 { totalMakes50 {
count count
nickname
} }
totalMakes75 { totalMakes75 {
count count
nickname
} }
totalMakes100 { totalMakes100 {
count count
nickname
} }
totalMakes200 { totalMakes200 {
count count
nickname
} }
totalMakes300 { totalMakes300 {
count count
nickname
} }
totalMakes400 { totalMakes400 {
count count
} nickname
totalMakes500 {
count
}
totalMakes750 {
count
}
totalMakes1000 {
count
} }
} }
} }

View File

@ -2,72 +2,83 @@ query getMedals($scope: MedalScope!, $userId: Int) {
getMedals(scope: $scope, userId: $userId) { getMedals(scope: $scope, userId: $userId) {
distanceOver66 { distanceOver66 {
count count
nickname
} }
distanceOver78 { distanceOver78 {
count count
nickname
} }
distanceOver90 { distanceOver90 {
count count
nickname
} }
runLength3 { runLength3 {
count count
nickname
} }
runLength5 { runLength5 {
count count
nickname
} }
runLength8 { runLength8 {
count count
nickname
} }
runLength10 { runLength10 {
count count
nickname
} }
runLength15 { runLength15 {
count count
nickname
} }
runLength20 { runLength20 {
count count
nickname
} }
runLength25 { runLength25 {
count count
nickname
} }
runLength30 { runLength30 {
count count
nickname
} }
runLength40 { runLength40 {
count count
nickname
} }
runLength50 { runLength50 {
count count
nickname
} }
totalMakes25 { totalMakes25 {
count count
nickname
} }
totalMakes50 { totalMakes50 {
count count
nickname
} }
totalMakes75 { totalMakes75 {
count count
nickname
} }
totalMakes100 { totalMakes100 {
count count
nickname
} }
totalMakes200 { totalMakes200 {
count count
nickname
} }
totalMakes300 { totalMakes300 {
count count
nickname
} }
totalMakes400 { totalMakes400 {
count count
} nickname
totalMakes500 {
count
}
totalMakes750 {
count
}
totalMakes1000 {
count
} }
} }
} }