Compare commits

..

No commits in common. "bd5bebb7471b970ebeff1ed2eb33a92e6c76b560" and "ac1fceb648a58c9811093cd38a02cbc9adffadbc" have entirely different histories.

2 changed files with 116 additions and 89 deletions

View File

@ -2999,12 +2999,6 @@ export type GetVideoMakePercentageIntervalsQuery = {
}>; }>;
}; };
export type MedalFieldsFragment = {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
};
export type GetMedalsQueryVariables = Exact<{ export type GetMedalsQueryVariables = Exact<{
scope: MedalScope; scope: MedalScope;
userId?: InputMaybe<Scalars["Int"]["input"]>; userId?: InputMaybe<Scalars["Int"]["input"]>;
@ -3079,27 +3073,37 @@ export type GetMedalsQuery = {
count: number; count: number;
nickname?: string | null; nickname?: string | null;
} | 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?: { totalMakes100?: {
__typename?: "MedalGQL"; __typename?: "MedalGQL";
count: number; count: number;
nickname?: string | null; nickname?: string | null;
} | null; } | null;
dailyMakes50?: { totalMakes200?: {
__typename?: "MedalGQL"; __typename?: "MedalGQL";
count: number; count: number;
nickname?: string | null; nickname?: string | null;
} | null; } | null;
dailyMakes100?: { totalMakes300?: {
__typename?: "MedalGQL"; __typename?: "MedalGQL";
count: number; count: number;
nickname?: string | null; nickname?: string | null;
} | null; } | null;
dailyMakes150?: { totalMakes400?: {
__typename?: "MedalGQL";
count: number;
nickname?: string | null;
} | null;
dailyMakes200?: {
__typename?: "MedalGQL"; __typename?: "MedalGQL";
count: number; count: number;
nickname?: string | null; nickname?: string | null;
@ -4365,12 +4369,6 @@ export const VideoCardFieldsFragmentDoc = gql`
} }
} }
`; `;
export const MedalFieldsFragmentDoc = gql`
fragment MedalFields on MedalGQL {
count
nickname
}
`;
export const ShotWithAllFeaturesFragmentDoc = gql` export const ShotWithAllFeaturesFragmentDoc = gql`
fragment ShotWithAllFeatures on ShotGQL { fragment ShotWithAllFeatures on ShotGQL {
id id
@ -4946,62 +4944,87 @@ export const GetMedalsDocument = gql`
query getMedals($scope: MedalScope!, $userId: Int) { query getMedals($scope: MedalScope!, $userId: Int) {
getMedals(scope: $scope, userId: $userId) { getMedals(scope: $scope, userId: $userId) {
distanceOver66 { distanceOver66 {
...MedalFields count
nickname
} }
distanceOver78 { distanceOver78 {
...MedalFields count
nickname
} }
distanceOver90 { distanceOver90 {
...MedalFields count
nickname
} }
runLength3 { runLength3 {
...MedalFields count
nickname
} }
runLength5 { runLength5 {
...MedalFields count
nickname
} }
runLength8 { runLength8 {
...MedalFields count
nickname
} }
runLength10 { runLength10 {
...MedalFields count
nickname
} }
runLength15 { runLength15 {
...MedalFields count
nickname
} }
runLength20 { runLength20 {
...MedalFields count
nickname
} }
runLength25 { runLength25 {
...MedalFields count
nickname
} }
runLength30 { runLength30 {
...MedalFields count
nickname
} }
runLength40 { runLength40 {
...MedalFields count
nickname
} }
runLength50 { runLength50 {
...MedalFields count
nickname
}
totalMakes25 {
count
nickname
}
totalMakes50 {
count
nickname
}
totalMakes75 {
count
nickname
} }
totalMakes100 { totalMakes100 {
...MedalFields count
nickname
} }
dailyMakes50 { totalMakes200 {
...MedalFields count
nickname
} }
dailyMakes100 { totalMakes300 {
...MedalFields count
nickname
} }
dailyMakes150 { totalMakes400 {
...MedalFields count
} nickname
dailyMakes200 {
...MedalFields
} }
} }
} }
${MedalFieldsFragmentDoc}
`; `;
/** /**

View File

@ -1,80 +1,84 @@
fragment MedalFields on MedalGQL {
count
nickname
}
query getMedals($scope: MedalScope!, $userId: Int) { query getMedals($scope: MedalScope!, $userId: Int) {
getMedals(scope: $scope, userId: $userId) { getMedals(scope: $scope, userId: $userId) {
distanceOver66 { distanceOver66 {
...MedalFields count
nickname
} }
distanceOver78 { distanceOver78 {
...MedalFields count
nickname
} }
distanceOver90 { distanceOver90 {
...MedalFields count
nickname
} }
runLength3 { runLength3 {
...MedalFields count
nickname
} }
runLength5 { runLength5 {
...MedalFields count
nickname
} }
runLength8 { runLength8 {
...MedalFields count
nickname
} }
runLength10 { runLength10 {
...MedalFields count
nickname
} }
runLength15 { runLength15 {
...MedalFields count
nickname
} }
runLength20 { runLength20 {
...MedalFields count
nickname
} }
runLength25 { runLength25 {
...MedalFields count
nickname
} }
runLength30 { runLength30 {
...MedalFields count
nickname
} }
runLength40 { runLength40 {
...MedalFields count
nickname
} }
runLength50 { runLength50 {
...MedalFields count
nickname
}
totalMakes25 {
count
nickname
}
totalMakes50 {
count
nickname
}
totalMakes75 {
count
nickname
} }
totalMakes100 { totalMakes100 {
...MedalFields count
nickname
} }
# missing assets totalMakes200 {
# totalMakes500 { count
# ...MedalFields nickname
# }
# totalMakes1000 {
# ...MedalFields
# }
# totalMakes5000 {
# ...MedalFields
# }
# totalMakes10000 {
# ...MedalFields
# }
dailyMakes50 {
...MedalFields
} }
dailyMakes100 { totalMakes300 {
...MedalFields count
nickname
} }
dailyMakes150 { totalMakes400 {
...MedalFields count
nickname
} }
dailyMakes200 {
...MedalFields
}
# missing asset
# dailyMakes250 {
# ...MedalFields
# }
} }
} }