Compare commits

..

No commits in common. "master" and "mk/extend-makes-medals" have entirely different histories.

3 changed files with 116 additions and 90 deletions

View File

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

View File

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

View File

@ -222,7 +222,6 @@ mutation FindPrerecordTableLayout($b64Image: String!, $videoId: Int!) {
}
fragment HomographyInfo on HomographyInfoGQL {
id
frameIndex
crop {
left