Compare commits
6 Commits
3c6b37b567
...
update
| Author | SHA1 | Date | |
|---|---|---|---|
| 647ef3049b | |||
| 7b48a5b6e2 | |||
| ec2e3da513 | |||
| 72729e410b | |||
| 5a9205a9b8 | |||
| a33601158f |
@@ -62,8 +62,13 @@ export type AggregationIdentifierGql = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type AggregationInput =
|
export type AggregationInput =
|
||||||
| { bucketSet: BucketSetInputGql; enum?: never }
|
| { bucketSet: BucketSetInputGql; datetimeRange?: never; enum?: never }
|
||||||
| { bucketSet?: never; enum: EnumAggregation };
|
| {
|
||||||
|
bucketSet?: never;
|
||||||
|
datetimeRange: DatetimeRangeAggregationInput;
|
||||||
|
enum?: never;
|
||||||
|
}
|
||||||
|
| { bucketSet?: never; datetimeRange?: never; enum: EnumAggregation };
|
||||||
|
|
||||||
export type BankFeaturesGql = {
|
export type BankFeaturesGql = {
|
||||||
__typename?: "BankFeaturesGQL";
|
__typename?: "BankFeaturesGQL";
|
||||||
@@ -127,6 +132,12 @@ export type CueObjectFeaturesGql = {
|
|||||||
spinType?: Maybe<SpinTypeEnum>;
|
spinType?: Maybe<SpinTypeEnum>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type DatetimeRangeAggregationInput = {
|
||||||
|
endDatetime: Scalars["DateTime"]["input"];
|
||||||
|
interval: TimeInterval;
|
||||||
|
startDatetime: Scalars["DateTime"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type DeployedConfigGql = {
|
export type DeployedConfigGql = {
|
||||||
__typename?: "DeployedConfigGQL";
|
__typename?: "DeployedConfigGQL";
|
||||||
allowNewUsers: Scalars["Boolean"]["output"];
|
allowNewUsers: Scalars["Boolean"]["output"];
|
||||||
@@ -1479,6 +1490,14 @@ export type ShotGql = {
|
|||||||
videoId: Scalars["Int"]["output"];
|
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 {
|
export enum SpinTypeEnum {
|
||||||
Center = "CENTER",
|
Center = "CENTER",
|
||||||
Draw = "DRAW",
|
Draw = "DRAW",
|
||||||
@@ -1517,6 +1536,20 @@ 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"]>;
|
||||||
|
spinTypeCounts?: Maybe<SpinTypeCountsGql>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type TimeInterval = {
|
||||||
|
days?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
hours?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
minutes?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
/** Assumes a month is 30 days long */
|
||||||
|
months?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
/** A second is the base unit and cannot be subdivided */
|
||||||
|
seconds?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
weeks?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
|
/** Assumes a year is 365 days long */
|
||||||
|
years?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type TooManyInitUploadsErr = {
|
export type TooManyInitUploadsErr = {
|
||||||
@@ -1934,6 +1967,10 @@ export type GetShotsWithMetadataQuery = {
|
|||||||
};
|
};
|
||||||
} | null;
|
} | null;
|
||||||
} | null;
|
} | null;
|
||||||
|
serializedShotPaths?: {
|
||||||
|
__typename?: "SerializedShotPathsGQL";
|
||||||
|
b64EncodedBuffer?: string | null;
|
||||||
|
} | null;
|
||||||
cueObjectFeatures?: {
|
cueObjectFeatures?: {
|
||||||
__typename?: "CueObjectFeaturesGQL";
|
__typename?: "CueObjectFeaturesGQL";
|
||||||
cueObjectDistance?: number | null;
|
cueObjectDistance?: number | null;
|
||||||
@@ -3159,6 +3196,9 @@ export const GetShotsWithMetadataDocument = gql`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
serializedShotPaths {
|
||||||
|
b64EncodedBuffer
|
||||||
|
}
|
||||||
createdAt @include(if: $includeCreatedAt)
|
createdAt @include(if: $includeCreatedAt)
|
||||||
updatedAt @include(if: $includeUpdatedAt)
|
updatedAt @include(if: $includeUpdatedAt)
|
||||||
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
||||||
|
|||||||
@@ -113,6 +113,9 @@ query GetShotsWithMetadata(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
serializedShotPaths {
|
||||||
|
b64EncodedBuffer
|
||||||
|
}
|
||||||
createdAt @include(if: $includeCreatedAt)
|
createdAt @include(if: $includeCreatedAt)
|
||||||
updatedAt @include(if: $includeUpdatedAt)
|
updatedAt @include(if: $includeUpdatedAt)
|
||||||
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
||||||
|
|||||||
@@ -53,6 +53,14 @@ type TargetMetricsGQL {
|
|||||||
count: Int!
|
count: Int!
|
||||||
makePercentage: Float
|
makePercentage: Float
|
||||||
averageDifficulty: Float
|
averageDifficulty: Float
|
||||||
|
spinTypeCounts: SpinTypeCountsGQL
|
||||||
|
}
|
||||||
|
|
||||||
|
type SpinTypeCountsGQL {
|
||||||
|
follow: Int!
|
||||||
|
draw: Int!
|
||||||
|
center: Int!
|
||||||
|
unknown: Int!
|
||||||
}
|
}
|
||||||
|
|
||||||
input AggregateInputGQL {
|
input AggregateInputGQL {
|
||||||
@@ -63,6 +71,7 @@ input AggregateInputGQL {
|
|||||||
input AggregationInput @oneOf {
|
input AggregationInput @oneOf {
|
||||||
bucketSet: BucketSetInputGQL
|
bucketSet: BucketSetInputGQL
|
||||||
enum: EnumAggregation
|
enum: EnumAggregation
|
||||||
|
datetimeRange: DatetimeRangeAggregationInput
|
||||||
}
|
}
|
||||||
|
|
||||||
input BucketSetInputGQL {
|
input BucketSetInputGQL {
|
||||||
@@ -79,6 +88,38 @@ input EnumAggregation {
|
|||||||
feature: String!
|
feature: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input DatetimeRangeAggregationInput {
|
||||||
|
startDatetime: DateTime!
|
||||||
|
endDatetime: DateTime!
|
||||||
|
interval: TimeInterval!
|
||||||
|
}
|
||||||
|
|
||||||
|
"""
|
||||||
|
Date with time (isoformat)
|
||||||
|
"""
|
||||||
|
scalar DateTime
|
||||||
|
|
||||||
|
input TimeInterval {
|
||||||
|
"""
|
||||||
|
A second is the base unit and cannot be subdivided
|
||||||
|
"""
|
||||||
|
seconds: Int = 0
|
||||||
|
minutes: Int = 0
|
||||||
|
hours: Int = 0
|
||||||
|
days: Int = 0
|
||||||
|
weeks: Int = 0
|
||||||
|
|
||||||
|
"""
|
||||||
|
Assumes a month is 30 days long
|
||||||
|
"""
|
||||||
|
months: Int = 0
|
||||||
|
|
||||||
|
"""
|
||||||
|
Assumes a year is 365 days long
|
||||||
|
"""
|
||||||
|
years: Int = 0
|
||||||
|
}
|
||||||
|
|
||||||
input FilterInput @oneOf {
|
input FilterInput @oneOf {
|
||||||
andFilters: [FilterInput!]
|
andFilters: [FilterInput!]
|
||||||
orFilters: [FilterInput!]
|
orFilters: [FilterInput!]
|
||||||
@@ -198,11 +239,6 @@ type ShotGQL {
|
|||||||
video: VideoGQL
|
video: VideoGQL
|
||||||
}
|
}
|
||||||
|
|
||||||
"""
|
|
||||||
Date with time (isoformat)
|
|
||||||
"""
|
|
||||||
scalar DateTime
|
|
||||||
|
|
||||||
type CueObjectFeaturesGQL {
|
type CueObjectFeaturesGQL {
|
||||||
cueObjectDistance: Float
|
cueObjectDistance: Float
|
||||||
cueObjectAngle: Float
|
cueObjectAngle: Float
|
||||||
|
|||||||
Reference in New Issue
Block a user