From 647ef3049b8e72db29766e1941c527cab656432b Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 18 Sep 2024 16:58:46 -0600 Subject: [PATCH] Add spin type counts --- src/index.tsx | 9 +++++++++ src/schema.gql | 8 ++++++++ 2 files changed, 17 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index bbc1f76..f568eb4 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1490,6 +1490,14 @@ export type ShotGql = { videoId: Scalars["Int"]["output"]; }; +export type SpinTypeCountsGql = { + __typename?: "SpinTypeCountsGQL"; + center: Scalars["Int"]["output"]; + draw: Scalars["Int"]["output"]; + follow: Scalars["Int"]["output"]; + unknown: Scalars["Int"]["output"]; +}; + export enum SpinTypeEnum { Center = "CENTER", Draw = "DRAW", @@ -1528,6 +1536,7 @@ export type TargetMetricsGql = { averageDifficulty?: Maybe; count: Scalars["Int"]["output"]; makePercentage?: Maybe; + spinTypeCounts?: Maybe; }; export type TimeInterval = { diff --git a/src/schema.gql b/src/schema.gql index a107379..c00f37e 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -53,6 +53,14 @@ type TargetMetricsGQL { count: Int! makePercentage: Float averageDifficulty: Float + spinTypeCounts: SpinTypeCountsGQL +} + +type SpinTypeCountsGQL { + follow: Int! + draw: Int! + center: Int! + unknown: Int! } input AggregateInputGQL {