From 9bb4b7c513bbffc3c0302310d615fc03c3b824cd Mon Sep 17 00:00:00 2001 From: Kat Huang Date: Tue, 4 Feb 2025 19:14:55 -0700 Subject: [PATCH] Return tag classes with tag --- src/index.tsx | 12 +++++++++--- src/schema.gql | 9 +++++++-- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 94b2762..7c56755 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2708,13 +2708,19 @@ export type SuccessfulAddAddShotAnnotationErrors = | AddShotAnnotationErrors | SuccessfulAdd; -export type TagGql = { - __typename?: "TagGQL"; - group?: Maybe; +export type TagClassGql = { + __typename?: "TagClassGQL"; id: Scalars["Int"]["output"]; name: Scalars["String"]["output"]; }; +export type TagGql = { + __typename?: "TagGQL"; + id: Scalars["Int"]["output"]; + name: Scalars["String"]["output"]; + tagClasses?: Maybe>; +}; + export type TargetMetricsGql = { __typename?: "TargetMetricsGQL"; averageDifficulty?: Maybe; diff --git a/src/schema.gql b/src/schema.gql index 9ceb5da..4072a73 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -714,9 +714,14 @@ type PageInfoGQL { } type TagGQL { - name: String! id: Int! - group: String + name: String! + tagClasses: [TagClassGQL!] +} + +type TagClassGQL { + id: Int! + name: String! } """ -- 2.47.0