From 2f9e630de45cd856c43515a8b5eea8a7354d9844 Mon Sep 17 00:00:00 2001 From: Loewy Date: Thu, 5 Dec 2024 13:47:47 -0800 Subject: [PATCH] new assets for medals --- src/index.tsx | 40 +++++++++++++++++++++++++++++++++++++++ src/operations/medals.gql | 32 +++++++++++++++---------------- 2 files changed, 55 insertions(+), 17 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 0e4b318..a259db7 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3111,6 +3111,26 @@ export type GetMedalsQuery = { count: number; nickname?: string | null; } | null; + totalMakes500?: { + __typename?: "MedalGQL"; + count: number; + nickname?: string | null; + } | null; + totalMakes1000?: { + __typename?: "MedalGQL"; + count: number; + nickname?: string | null; + } | null; + totalMakes5000?: { + __typename?: "MedalGQL"; + count: number; + nickname?: string | null; + } | null; + totalMakes10000?: { + __typename?: "MedalGQL"; + count: number; + nickname?: string | null; + } | null; dailyMakes50?: { __typename?: "MedalGQL"; count: number; @@ -3131,6 +3151,11 @@ export type GetMedalsQuery = { count: number; nickname?: string | null; } | null; + dailyMakes250?: { + __typename?: "MedalGQL"; + count: number; + nickname?: string | null; + } | null; }; }; @@ -5016,6 +5041,18 @@ export const GetMedalsDocument = gql` totalMakes100 { ...MedalFields } + totalMakes500 { + ...MedalFields + } + totalMakes1000 { + ...MedalFields + } + totalMakes5000 { + ...MedalFields + } + totalMakes10000 { + ...MedalFields + } dailyMakes50 { ...MedalFields } @@ -5028,6 +5065,9 @@ export const GetMedalsDocument = gql` dailyMakes200 { ...MedalFields } + dailyMakes250 { + ...MedalFields + } } } ${MedalFieldsFragmentDoc} diff --git a/src/operations/medals.gql b/src/operations/medals.gql index 89caea6..a9fb2fb 100644 --- a/src/operations/medals.gql +++ b/src/operations/medals.gql @@ -44,19 +44,18 @@ query getMedals($scope: MedalScope!, $userId: Int) { totalMakes100 { ...MedalFields } - # missing assets - # totalMakes500 { - # ...MedalFields - # } - # totalMakes1000 { - # ...MedalFields - # } - # totalMakes5000 { - # ...MedalFields - # } - # totalMakes10000 { - # ...MedalFields - # } + totalMakes500 { + ...MedalFields + } + totalMakes1000 { + ...MedalFields + } + totalMakes5000 { + ...MedalFields + } + totalMakes10000 { + ...MedalFields + } dailyMakes50 { ...MedalFields } @@ -69,9 +68,8 @@ query getMedals($scope: MedalScope!, $userId: Int) { dailyMakes200 { ...MedalFields } - # missing asset - # dailyMakes250 { - # ...MedalFields - # } + dailyMakes250 { + ...MedalFields + } } } -- 2.47.0