Do not return target metrics as list
This commit is contained in:
parent
43c1f7be09
commit
27114615a5
@ -42,7 +42,7 @@ export type AggregateInputGql = {
|
||||
export type AggregateResultGql = {
|
||||
__typename?: "AggregateResultGQL";
|
||||
featureBuckets: Array<BucketGql>;
|
||||
targetMetrics: Array<TargetMetricGql>;
|
||||
targetMetrics: TargetMetricGql;
|
||||
};
|
||||
|
||||
export type AndFilter = {
|
||||
@ -453,7 +453,7 @@ export type GetAggregatedShotMetricsQuery = {
|
||||
rangeKey: string;
|
||||
lowerBound: number;
|
||||
}>;
|
||||
targetMetrics: Array<{
|
||||
targetMetrics: {
|
||||
__typename?: "TargetMetricGQL";
|
||||
count?: number | null;
|
||||
makePercentage?: number | null;
|
||||
@ -463,7 +463,7 @@ export type GetAggregatedShotMetricsQuery = {
|
||||
average?: number | null;
|
||||
median?: number | null;
|
||||
} | null;
|
||||
}>;
|
||||
};
|
||||
}>;
|
||||
};
|
||||
|
||||
|
@ -16,7 +16,7 @@ type Query {
|
||||
|
||||
type AggregateResultGQL {
|
||||
featureBuckets: [BucketGQL!]!
|
||||
targetMetrics: [TargetMetricGQL!]!
|
||||
targetMetrics: TargetMetricGQL!
|
||||
}
|
||||
|
||||
type BucketGQL {
|
||||
|
Loading…
Reference in New Issue
Block a user