From a538c1d81cec8e3d12c0cf2124c7b16a4504aaba Mon Sep 17 00:00:00 2001 From: Mike Kalange Date: Fri, 15 Nov 2024 11:50:11 -0800 Subject: [PATCH] Remove unimplemented dayStreak and add support for nickname --- src/index.tsx | 12 +----------- src/schema.gql | 12 +----------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 408c09a..da9af37 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1979,6 +1979,7 @@ export type MakePercentageIntervalGql = { export type MedalGql = { __typename?: "MedalGQL"; count: Scalars["Int"]["output"]; + nickname?: Maybe; }; export type MedalScope = @@ -2299,17 +2300,6 @@ export type QueryWaitForArgs = { export type RequestedMedalsGql = { __typename?: "RequestedMedalsGQL"; - dayStreak2?: Maybe; - dayStreak3?: Maybe; - dayStreak4?: Maybe; - dayStreak5?: Maybe; - dayStreak6?: Maybe; - dayStreak7?: Maybe; - dayStreak14?: Maybe; - dayStreak21?: Maybe; - dayStreak30?: Maybe; - dayStreak60?: Maybe; - dayStreak90?: Maybe; distanceOver66?: Maybe; distanceOver78?: Maybe; distanceOver90?: Maybe; diff --git a/src/schema.gql b/src/schema.gql index 5c67cc0..068e686 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -296,21 +296,11 @@ type RequestedMedalsGQL { totalMakes500: MedalGQL totalMakes750: MedalGQL totalMakes1000: MedalGQL - dayStreak2: MedalGQL - dayStreak3: MedalGQL - dayStreak4: MedalGQL - dayStreak5: MedalGQL - dayStreak6: MedalGQL - dayStreak7: MedalGQL - dayStreak14: MedalGQL - dayStreak21: MedalGQL - dayStreak30: MedalGQL - dayStreak60: MedalGQL - dayStreak90: MedalGQL } type MedalGQL { count: Int! + nickname: String } input MedalScope @oneOf {