mk/implement-one-of #9
224
src/index.tsx
224
src/index.tsx
@ -49,10 +49,9 @@ export type AggregationIdentifierGql = {
|
|||||||
groupName: Scalars["String"]["output"];
|
groupName: Scalars["String"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type AggregationInput = {
|
export type AggregationInput =
|
||||||
bucketSet?: InputMaybe<BucketSetInputGql>;
|
| { bucketSet: BucketSetInputGql; enum?: never }
|
||||||
enum?: InputMaybe<EnumAggregation>;
|
| { bucketSet?: never; enum: EnumAggregation };
|
||||||
};
|
|
||||||
|
|
||||||
export type BankFeaturesGql = {
|
export type BankFeaturesGql = {
|
||||||
__typename?: "BankFeaturesGQL";
|
__typename?: "BankFeaturesGQL";
|
||||||
@ -129,21 +128,202 @@ export type EnumAggregation = {
|
|||||||
feature: Scalars["String"]["input"];
|
feature: Scalars["String"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type FilterInput = {
|
export type FilterInput =
|
||||||
andFilters?: InputMaybe<Array<FilterInput>>;
|
| {
|
||||||
cueBallSpeed?: InputMaybe<RangeFilter>;
|
andFilters: Array<FilterInput>;
|
||||||
cueObjectAngle?: InputMaybe<RangeFilter>;
|
cueBallSpeed?: never;
|
||||||
cueObjectDistance?: InputMaybe<RangeFilter>;
|
cueObjectAngle?: never;
|
||||||
difficulty?: InputMaybe<RangeFilter>;
|
cueObjectDistance?: never;
|
||||||
intendedPocketType?: InputMaybe<Array<PocketEnum>>;
|
difficulty?: never;
|
||||||
make?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
|
intendedPocketType?: never;
|
||||||
orFilters?: InputMaybe<Array<FilterInput>>;
|
make?: never;
|
||||||
shotDirection?: InputMaybe<Array<ShotDirectionEnum>>;
|
orFilters?: never;
|
||||||
tags?: InputMaybe<Array<VideoTagInput>>;
|
shotDirection?: never;
|
||||||
targetPocketDistance?: InputMaybe<RangeFilter>;
|
tags?: never;
|
||||||
userId?: InputMaybe<Array<Scalars["Int"]["input"]>>;
|
targetPocketDistance?: never;
|
||||||
videoId?: InputMaybe<Array<Scalars["Int"]["input"]>>;
|
userId?: never;
|
||||||
};
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
cueBallSpeed: RangeFilter;
|
||||||
|
cueObjectAngle?: never;
|
||||||
|
cueObjectDistance?: never;
|
||||||
|
difficulty?: never;
|
||||||
|
intendedPocketType?: never;
|
||||||
|
make?: never;
|
||||||
|
orFilters?: never;
|
||||||
|
shotDirection?: never;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId?: never;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
cueBallSpeed?: never;
|
||||||
|
cueObjectAngle: RangeFilter;
|
||||||
|
cueObjectDistance?: never;
|
||||||
|
difficulty?: never;
|
||||||
|
intendedPocketType?: never;
|
||||||
|
make?: never;
|
||||||
|
orFilters?: never;
|
||||||
|
shotDirection?: never;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId?: never;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
cueBallSpeed?: never;
|
||||||
|
cueObjectAngle?: never;
|
||||||
|
cueObjectDistance: RangeFilter;
|
||||||
|
difficulty?: never;
|
||||||
|
intendedPocketType?: never;
|
||||||
|
make?: never;
|
||||||
|
orFilters?: never;
|
||||||
|
shotDirection?: never;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId?: never;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
cueBallSpeed?: never;
|
||||||
|
cueObjectAngle?: never;
|
||||||
|
cueObjectDistance?: never;
|
||||||
|
difficulty: RangeFilter;
|
||||||
|
intendedPocketType?: never;
|
||||||
|
make?: never;
|
||||||
|
orFilters?: never;
|
||||||
|
shotDirection?: never;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId?: never;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
cueBallSpeed?: never;
|
||||||
|
cueObjectAngle?: never;
|
||||||
|
cueObjectDistance?: never;
|
||||||
|
difficulty?: never;
|
||||||
|
intendedPocketType: Array<PocketEnum>;
|
||||||
|
make?: never;
|
||||||
|
orFilters?: never;
|
||||||
|
shotDirection?: never;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId?: never;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
cueBallSpeed?: never;
|
||||||
|
cueObjectAngle?: never;
|
||||||
|
cueObjectDistance?: never;
|
||||||
|
difficulty?: never;
|
||||||
|
intendedPocketType?: never;
|
||||||
|
make: Array<Scalars["Boolean"]["input"]>;
|
||||||
|
orFilters?: never;
|
||||||
|
shotDirection?: never;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId?: never;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
cueBallSpeed?: never;
|
||||||
|
cueObjectAngle?: never;
|
||||||
|
cueObjectDistance?: never;
|
||||||
|
difficulty?: never;
|
||||||
|
intendedPocketType?: never;
|
||||||
|
make?: never;
|
||||||
|
orFilters: Array<FilterInput>;
|
||||||
|
shotDirection?: never;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId?: never;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
cueBallSpeed?: never;
|
||||||
|
cueObjectAngle?: never;
|
||||||
|
cueObjectDistance?: never;
|
||||||
|
difficulty?: never;
|
||||||
|
intendedPocketType?: never;
|
||||||
|
make?: never;
|
||||||
|
orFilters?: never;
|
||||||
|
shotDirection: Array<ShotDirectionEnum>;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId?: never;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
cueBallSpeed?: never;
|
||||||
|
cueObjectAngle?: never;
|
||||||
|
cueObjectDistance?: never;
|
||||||
|
difficulty?: never;
|
||||||
|
intendedPocketType?: never;
|
||||||
|
make?: never;
|
||||||
|
orFilters?: never;
|
||||||
|
shotDirection?: never;
|
||||||
|
tags: Array<VideoTagInput>;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId?: never;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
cueBallSpeed?: never;
|
||||||
|
cueObjectAngle?: never;
|
||||||
|
cueObjectDistance?: never;
|
||||||
|
difficulty?: never;
|
||||||
|
intendedPocketType?: never;
|
||||||
|
make?: never;
|
||||||
|
orFilters?: never;
|
||||||
|
shotDirection?: never;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance: RangeFilter;
|
||||||
|
userId?: never;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
cueBallSpeed?: never;
|
||||||
|
cueObjectAngle?: never;
|
||||||
|
cueObjectDistance?: never;
|
||||||
|
difficulty?: never;
|
||||||
|
intendedPocketType?: never;
|
||||||
|
make?: never;
|
||||||
|
orFilters?: never;
|
||||||
|
shotDirection?: never;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId: Array<Scalars["Int"]["input"]>;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
cueBallSpeed?: never;
|
||||||
|
cueObjectAngle?: never;
|
||||||
|
cueObjectDistance?: never;
|
||||||
|
difficulty?: never;
|
||||||
|
intendedPocketType?: never;
|
||||||
|
make?: never;
|
||||||
|
orFilters?: never;
|
||||||
|
shotDirection?: never;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId?: never;
|
||||||
|
videoId: Array<Scalars["Int"]["input"]>;
|
||||||
|
};
|
||||||
|
|
||||||
export type GetUploadLinkReturn = {
|
export type GetUploadLinkReturn = {
|
||||||
__typename?: "GetUploadLinkReturn";
|
__typename?: "GetUploadLinkReturn";
|
||||||
@ -321,6 +501,11 @@ export type RangeFilter = {
|
|||||||
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
|
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type SerializedShotPathsGql = {
|
||||||
|
__typename?: "SerializedShotPathsGQL";
|
||||||
|
b64EncodedBuffer?: Maybe<Scalars["String"]["output"]>;
|
||||||
|
};
|
||||||
|
|
||||||
export enum ShotDirectionEnum {
|
export enum ShotDirectionEnum {
|
||||||
Left = "LEFT",
|
Left = "LEFT",
|
||||||
Right = "RIGHT",
|
Right = "RIGHT",
|
||||||
@ -335,6 +520,7 @@ export type ShotGql = {
|
|||||||
endFrame: Scalars["Int"]["output"];
|
endFrame: Scalars["Int"]["output"];
|
||||||
id: Scalars["Int"]["output"];
|
id: Scalars["Int"]["output"];
|
||||||
pocketingIntentionFeatures?: Maybe<PocketingIntentionFeaturesGql>;
|
pocketingIntentionFeatures?: Maybe<PocketingIntentionFeaturesGql>;
|
||||||
|
serializedShotPaths?: Maybe<SerializedShotPathsGql>;
|
||||||
startFrame: Scalars["Int"]["output"];
|
startFrame: Scalars["Int"]["output"];
|
||||||
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
user?: Maybe<UserGql>;
|
user?: Maybe<UserGql>;
|
||||||
|
@ -43,7 +43,7 @@ input AggregateInputGQL {
|
|||||||
filterInput: FilterInput
|
filterInput: FilterInput
|
||||||
}
|
}
|
||||||
|
|
||||||
input AggregationInput {
|
input AggregationInput @oneOf {
|
||||||
bucketSet: BucketSetInputGQL
|
bucketSet: BucketSetInputGQL
|
||||||
enum: EnumAggregation
|
enum: EnumAggregation
|
||||||
}
|
}
|
||||||
@ -62,7 +62,7 @@ input EnumAggregation {
|
|||||||
feature: String!
|
feature: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
input FilterInput {
|
input FilterInput @oneOf {
|
||||||
andFilters: [FilterInput!]
|
andFilters: [FilterInput!]
|
||||||
orFilters: [FilterInput!]
|
orFilters: [FilterInput!]
|
||||||
cueObjectDistance: RangeFilter
|
cueObjectDistance: RangeFilter
|
||||||
@ -136,6 +136,7 @@ type ShotGQL {
|
|||||||
cueObjectFeatures: CueObjectFeaturesGQL
|
cueObjectFeatures: CueObjectFeaturesGQL
|
||||||
pocketingIntentionFeatures: PocketingIntentionFeaturesGQL
|
pocketingIntentionFeatures: PocketingIntentionFeaturesGQL
|
||||||
bankFeatures: BankFeaturesGQL
|
bankFeatures: BankFeaturesGQL
|
||||||
|
serializedShotPaths: SerializedShotPathsGQL
|
||||||
user: UserGQL
|
user: UserGQL
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -169,6 +170,10 @@ enum WallTypeEnum {
|
|||||||
SHORT
|
SHORT
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type SerializedShotPathsGQL {
|
||||||
|
b64EncodedBuffer: String
|
||||||
|
}
|
||||||
|
|
||||||
type UserGQL {
|
type UserGQL {
|
||||||
id: Int!
|
id: Int!
|
||||||
firebaseUid: String!
|
firebaseUid: String!
|
||||||
|
Loading…
Reference in New Issue
Block a user