Merge pull request 'Add shot direction counts' (#57) from shot-direction-counts into master

Reviewed-on: #57
Reviewed-by: Ivan Malison <ivanmalison@gmail.com>
This commit is contained in:
countablecloud 2024-09-19 12:02:51 -06:00
commit 0a255f161a
2 changed files with 15 additions and 0 deletions

View File

@ -1466,6 +1466,13 @@ export type ShotAnnotationTypeGql = {
name: Scalars["String"]["output"]; name: Scalars["String"]["output"];
}; };
export type ShotDirectionCountsGql = {
__typename?: "ShotDirectionCountsGQL";
left: Scalars["Int"]["output"];
right: Scalars["Int"]["output"];
straight: Scalars["Int"]["output"];
};
export enum ShotDirectionEnum { export enum ShotDirectionEnum {
Left = "LEFT", Left = "LEFT",
Right = "RIGHT", Right = "RIGHT",
@ -1536,6 +1543,7 @@ export type TargetMetricsGql = {
averageDifficulty?: Maybe<Scalars["Float"]["output"]>; averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
count: Scalars["Int"]["output"]; count: Scalars["Int"]["output"];
makePercentage?: Maybe<Scalars["Float"]["output"]>; makePercentage?: Maybe<Scalars["Float"]["output"]>;
shotDirectionCounts?: Maybe<ShotDirectionCountsGql>;
spinTypeCounts?: Maybe<SpinTypeCountsGql>; spinTypeCounts?: Maybe<SpinTypeCountsGql>;
}; };

View File

@ -54,6 +54,7 @@ type TargetMetricsGQL {
makePercentage: Float makePercentage: Float
averageDifficulty: Float averageDifficulty: Float
spinTypeCounts: SpinTypeCountsGQL spinTypeCounts: SpinTypeCountsGQL
shotDirectionCounts: ShotDirectionCountsGQL
} }
type SpinTypeCountsGQL { type SpinTypeCountsGQL {
@ -63,6 +64,12 @@ type SpinTypeCountsGQL {
unknown: Int! unknown: Int!
} }
type ShotDirectionCountsGQL {
left: Int!
right: Int!
straight: Int!
}
input AggregateInputGQL { input AggregateInputGQL {
aggregations: [AggregationInput!]! aggregations: [AggregationInput!]!
filterInput: FilterInput filterInput: FilterInput