Compare commits
34 Commits
mk/table-s
...
4c232829b6
Author | SHA1 | Date | |
---|---|---|---|
4c232829b6 | |||
ddf1036009 | |||
9b3e5c23a0 | |||
a7eae9d46b | |||
8c3e9d6273 | |||
f306cc6c16 | |||
643cdb29e3 | |||
89287a0100 | |||
f9b02f65e0 | |||
41169e2848 | |||
ba36bc709c | |||
4005416233 | |||
db4a6315cd | |||
af38fdea64 | |||
172df69340 | |||
a030a0ef16 | |||
7a6cc2739f | |||
41c9701e18 | |||
16e79ed608 | |||
f401e1879b | |||
72b451d322 | |||
5350c46e0a | |||
1f5c5774e1 | |||
3b29502e7e | |||
abc7e9fd05 | |||
dd5ce77102 | |||
dabaa3d1e1 | |||
a6604a3a6d | |||
09a3e0e294 | |||
f20ca53a2a | |||
a2b912500c | |||
7de3d196ba | |||
6d5669aaf8 | |||
2c583509a2 |
504
src/index.tsx
504
src/index.tsx
@@ -34,6 +34,16 @@ export type Scalars = {
|
|||||||
JSON: { input: any; output: any };
|
JSON: { input: any; output: any };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type AddShotAnnotationErrors = {
|
||||||
|
__typename?: "AddShotAnnotationErrors";
|
||||||
|
error: DoesNotOwnShotErrOtherErrorNeedsNote;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type AddShotAnnotationReturn = {
|
||||||
|
__typename?: "AddShotAnnotationReturn";
|
||||||
|
value: SuccessfulAddAddShotAnnotationErrors;
|
||||||
|
};
|
||||||
|
|
||||||
export type AggregateInputGql = {
|
export type AggregateInputGql = {
|
||||||
aggregations: Array<AggregationInput>;
|
aggregations: Array<AggregationInput>;
|
||||||
filterInput?: InputMaybe<FilterInput>;
|
filterInput?: InputMaybe<FilterInput>;
|
||||||
@@ -114,6 +124,7 @@ export type CueObjectFeaturesGql = {
|
|||||||
cueObjectAngle?: Maybe<Scalars["Float"]["output"]>;
|
cueObjectAngle?: Maybe<Scalars["Float"]["output"]>;
|
||||||
cueObjectDistance?: Maybe<Scalars["Float"]["output"]>;
|
cueObjectDistance?: Maybe<Scalars["Float"]["output"]>;
|
||||||
shotDirection?: Maybe<ShotDirectionEnum>;
|
shotDirection?: Maybe<ShotDirectionEnum>;
|
||||||
|
spinType?: Maybe<SpinTypeEnum>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type DeployedConfigGql = {
|
export type DeployedConfigGql = {
|
||||||
@@ -122,6 +133,7 @@ export type DeployedConfigGql = {
|
|||||||
devMode: Scalars["Boolean"]["output"];
|
devMode: Scalars["Boolean"]["output"];
|
||||||
environment: Scalars["String"]["output"];
|
environment: Scalars["String"]["output"];
|
||||||
firebase: Scalars["Boolean"]["output"];
|
firebase: Scalars["Boolean"]["output"];
|
||||||
|
minimumAllowedAppVersion: Scalars["String"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export enum DeviceTypeEnum {
|
export enum DeviceTypeEnum {
|
||||||
@@ -130,6 +142,16 @@ export enum DeviceTypeEnum {
|
|||||||
Ios = "IOS",
|
Ios = "IOS",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type DoesNotOwnShotErr = {
|
||||||
|
__typename?: "DoesNotOwnShotErr";
|
||||||
|
msg?: Maybe<Scalars["String"]["output"]>;
|
||||||
|
shotId: Scalars["Int"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
|
export type DoesNotOwnShotErrOtherErrorNeedsNote =
|
||||||
|
| DoesNotOwnShotErr
|
||||||
|
| OtherErrorNeedsNote;
|
||||||
|
|
||||||
export type EnumAggregation = {
|
export type EnumAggregation = {
|
||||||
feature: Scalars["String"]["input"];
|
feature: Scalars["String"]["input"];
|
||||||
};
|
};
|
||||||
@@ -161,6 +183,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -192,6 +215,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -223,6 +247,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -254,6 +279,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -285,6 +311,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -316,6 +343,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -347,6 +375,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -378,6 +407,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -409,6 +439,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -440,6 +471,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -471,6 +503,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -502,6 +535,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -533,6 +567,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -564,6 +599,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -595,6 +631,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -626,6 +663,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -657,6 +695,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -688,6 +727,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -719,6 +759,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -750,6 +791,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -781,6 +823,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -812,6 +855,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -843,6 +887,7 @@ export type FilterInput =
|
|||||||
orFilters: Array<FilterInput>;
|
orFilters: Array<FilterInput>;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -874,6 +919,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection: Array<ShotDirectionEnum>;
|
shotDirection: Array<ShotDirectionEnum>;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -904,7 +950,8 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType: Array<Scalars["String"]["input"]>;
|
spinType: Array<SpinTypeEnum>;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -936,6 +983,39 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize: RangeFilter;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId?: never;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
annotations?: never;
|
||||||
|
bankAngle?: never;
|
||||||
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
|
cueBallSpeed?: never;
|
||||||
|
cueObjectAngle?: never;
|
||||||
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
|
intendedPocketType?: never;
|
||||||
|
isDirect?: never;
|
||||||
|
isLeft?: never;
|
||||||
|
isLeftMiss?: never;
|
||||||
|
isRight?: never;
|
||||||
|
isRightMiss?: never;
|
||||||
|
isStraight?: never;
|
||||||
|
kickAngle?: never;
|
||||||
|
kickDistance?: never;
|
||||||
|
make?: never;
|
||||||
|
notFilter?: never;
|
||||||
|
orFilters?: never;
|
||||||
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags: Array<VideoTagInput>;
|
tags: Array<VideoTagInput>;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -967,6 +1047,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance: RangeFilter;
|
targetPocketDistance: RangeFilter;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -998,6 +1079,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId: Array<Scalars["Int"]["input"]>;
|
userId: Array<Scalars["Int"]["input"]>;
|
||||||
@@ -1029,22 +1111,37 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType?: never;
|
spinType?: never;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
videoId: Array<Scalars["Int"]["input"]>;
|
videoId: Array<Scalars["Int"]["input"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type GetProfileUploadLinkErrors = {
|
||||||
|
__typename?: "GetProfileUploadLinkErrors";
|
||||||
|
error: TooManyProfileImageUploadsErr;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type GetProfileUploadLinkReturn = {
|
||||||
|
__typename?: "GetProfileUploadLinkReturn";
|
||||||
|
value: UploadLinkGetProfileUploadLinkErrors;
|
||||||
|
};
|
||||||
|
|
||||||
export type GetShotsPagination = {
|
export type GetShotsPagination = {
|
||||||
createdAfter: CreatedAfter;
|
createdAfter: CreatedAfter;
|
||||||
startFrameAfter: Scalars["Int"]["input"];
|
startFrameAfter: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type GetUploadLinkErrors = {
|
||||||
|
__typename?: "GetUploadLinkErrors";
|
||||||
|
error: MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErr;
|
||||||
|
};
|
||||||
|
|
||||||
export type GetUploadLinkReturn = {
|
export type GetUploadLinkReturn = {
|
||||||
__typename?: "GetUploadLinkReturn";
|
__typename?: "GetUploadLinkReturn";
|
||||||
headers: Array<Maybe<Header>>;
|
stream?: Maybe<UploadStreamGql>;
|
||||||
uploadCompletionCursor?: Maybe<Scalars["Int"]["output"]>;
|
value: UploadLinkGetUploadLinkErrors;
|
||||||
uploadUrl: Scalars["String"]["output"];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export type HlsPlaylistGql = {
|
export type HlsPlaylistGql = {
|
||||||
@@ -1087,16 +1184,30 @@ export type MakePercentageIntervalGql = {
|
|||||||
makePercentage: Scalars["Float"]["output"];
|
makePercentage: Scalars["Float"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MustHaveSetForUploadLinkErr = {
|
||||||
|
__typename?: "MustHaveSetForUploadLinkErr";
|
||||||
|
framesPerSecond?: Maybe<Scalars["Boolean"]["output"]>;
|
||||||
|
resolution?: Maybe<Scalars["Boolean"]["output"]>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErr =
|
||||||
|
|
||||||
|
| MustHaveSetForUploadLinkErr
|
||||||
|
| NoInitForChunkedUploadErr
|
||||||
|
| ProcessingFailedErr
|
||||||
|
| SegmentAlreadyUploadedErr
|
||||||
|
| TooManyProfileImageUploadsErr;
|
||||||
|
|
||||||
export type Mutation = {
|
export type Mutation = {
|
||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
addAnnotationToShot: Scalars["Boolean"]["output"];
|
addAnnotationToShot: AddShotAnnotationReturn;
|
||||||
createBucketSet: BucketSetGql;
|
createBucketSet: BucketSetGql;
|
||||||
createUploadStream: CreateUploadStreamReturn;
|
createUploadStream: CreateUploadStreamReturn;
|
||||||
deleteVideo: Scalars["Boolean"]["output"];
|
deleteVideo: Scalars["Boolean"]["output"];
|
||||||
editProfileImageUri: UserGql;
|
editProfileImageUri: UserGql;
|
||||||
editUploadStream: Scalars["Boolean"]["output"];
|
editUploadStream: Scalars["Boolean"]["output"];
|
||||||
getHlsInitUploadLink: GetUploadLinkReturn;
|
getHlsInitUploadLink: GetUploadLinkReturn;
|
||||||
getProfileImageUploadLink: GetUploadLinkReturn;
|
getProfileImageUploadLink: GetProfileUploadLinkReturn;
|
||||||
getUploadLink: GetUploadLinkReturn;
|
getUploadLink: GetUploadLinkReturn;
|
||||||
setLoggerLevel: Scalars["Boolean"]["output"];
|
setLoggerLevel: Scalars["Boolean"]["output"];
|
||||||
setSegmentDuration: Scalars["Boolean"]["output"];
|
setSegmentDuration: Scalars["Boolean"]["output"];
|
||||||
@@ -1104,6 +1215,7 @@ export type Mutation = {
|
|||||||
|
|
||||||
export type MutationAddAnnotationToShotArgs = {
|
export type MutationAddAnnotationToShotArgs = {
|
||||||
annotationName: Scalars["String"]["input"];
|
annotationName: Scalars["String"]["input"];
|
||||||
|
notes?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
shotId: Scalars["Int"]["input"];
|
shotId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1152,6 +1264,16 @@ export type MutationSetSegmentDurationArgs = {
|
|||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type NoInitForChunkedUploadErr = {
|
||||||
|
__typename?: "NoInitForChunkedUploadErr";
|
||||||
|
segmentType: StreamSegmentTypeEnum;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type OtherErrorNeedsNote = {
|
||||||
|
__typename?: "OtherErrorNeedsNote";
|
||||||
|
msg?: Maybe<Scalars["String"]["output"]>;
|
||||||
|
};
|
||||||
|
|
||||||
export type PageInfoGql = {
|
export type PageInfoGql = {
|
||||||
__typename?: "PageInfoGQL";
|
__typename?: "PageInfoGQL";
|
||||||
endCursor?: Maybe<Scalars["String"]["output"]>;
|
endCursor?: Maybe<Scalars["String"]["output"]>;
|
||||||
@@ -1181,6 +1303,11 @@ export type PocketingIntentionFeaturesGql = {
|
|||||||
targetPocketDistance?: Maybe<Scalars["Float"]["output"]>;
|
targetPocketDistance?: Maybe<Scalars["Float"]["output"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type ProcessingFailedErr = {
|
||||||
|
__typename?: "ProcessingFailedErr";
|
||||||
|
processing: VideoProcessingGql;
|
||||||
|
};
|
||||||
|
|
||||||
export enum ProcessingStatusEnum {
|
export enum ProcessingStatusEnum {
|
||||||
Created = "CREATED",
|
Created = "CREATED",
|
||||||
Failed = "FAILED",
|
Failed = "FAILED",
|
||||||
@@ -1223,6 +1350,10 @@ export type QueryGetPlayTimeArgs = {
|
|||||||
userId: Scalars["Int"]["input"];
|
userId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type QueryGetShotAnnotationTypesArgs = {
|
||||||
|
errorTypes?: InputMaybe<Scalars["Boolean"]["input"]>;
|
||||||
|
};
|
||||||
|
|
||||||
export type QueryGetShotsArgs = {
|
export type QueryGetShotsArgs = {
|
||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
limit?: Scalars["Int"]["input"];
|
limit?: Scalars["Int"]["input"];
|
||||||
@@ -1265,9 +1396,17 @@ export type QueryWaitForArgs = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type RangeFilter = {
|
export type RangeFilter = {
|
||||||
|
greaterThan?: InputMaybe<Scalars["Float"]["input"]>;
|
||||||
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
|
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
|
||||||
|
greaterThanInclusive?: Scalars["Boolean"]["input"];
|
||||||
includeOnNone?: Scalars["Boolean"]["input"];
|
includeOnNone?: Scalars["Boolean"]["input"];
|
||||||
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
|
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
|
||||||
|
lessThanInclusive?: Scalars["Boolean"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
|
export type SegmentAlreadyUploadedErr = {
|
||||||
|
__typename?: "SegmentAlreadyUploadedErr";
|
||||||
|
segmentId: Scalars["Int"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type SerializedShotPathsGql = {
|
export type SerializedShotPathsGql = {
|
||||||
@@ -1279,6 +1418,7 @@ export type ShotAnnotationGql = {
|
|||||||
__typename?: "ShotAnnotationGQL";
|
__typename?: "ShotAnnotationGQL";
|
||||||
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
creator: UserGql;
|
creator: UserGql;
|
||||||
|
errorDefault: Scalars["Boolean"]["output"];
|
||||||
notes: Scalars["String"]["output"];
|
notes: Scalars["String"]["output"];
|
||||||
shotId: Scalars["Int"]["output"];
|
shotId: Scalars["Int"]["output"];
|
||||||
type: ShotAnnotationTypeGql;
|
type: ShotAnnotationTypeGql;
|
||||||
@@ -1319,6 +1459,13 @@ export type ShotGql = {
|
|||||||
videoId: Scalars["Int"]["output"];
|
videoId: Scalars["Int"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export enum SpinTypeEnum {
|
||||||
|
Center = "CENTER",
|
||||||
|
Draw = "DRAW",
|
||||||
|
Follow = "FOLLOW",
|
||||||
|
Unknown = "UNKNOWN",
|
||||||
|
}
|
||||||
|
|
||||||
export type StreamErrorGql = {
|
export type StreamErrorGql = {
|
||||||
__typename?: "StreamErrorGQL";
|
__typename?: "StreamErrorGQL";
|
||||||
message: Scalars["String"]["output"];
|
message: Scalars["String"]["output"];
|
||||||
@@ -1329,6 +1476,15 @@ export enum StreamSegmentTypeEnum {
|
|||||||
RbChunkedMp4 = "RB_CHUNKED_MP4",
|
RbChunkedMp4 = "RB_CHUNKED_MP4",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type SuccessfulAdd = {
|
||||||
|
__typename?: "SuccessfulAdd";
|
||||||
|
value: Scalars["Boolean"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
|
export type SuccessfulAddAddShotAnnotationErrors =
|
||||||
|
| AddShotAnnotationErrors
|
||||||
|
| SuccessfulAdd;
|
||||||
|
|
||||||
export type TagGql = {
|
export type TagGql = {
|
||||||
__typename?: "TagGQL";
|
__typename?: "TagGQL";
|
||||||
group?: Maybe<Scalars["String"]["output"]>;
|
group?: Maybe<Scalars["String"]["output"]>;
|
||||||
@@ -1343,6 +1499,23 @@ export type TargetMetricsGql = {
|
|||||||
makePercentage?: Maybe<Scalars["Float"]["output"]>;
|
makePercentage?: Maybe<Scalars["Float"]["output"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type TooManyProfileImageUploadsErr = {
|
||||||
|
__typename?: "TooManyProfileImageUploadsErr";
|
||||||
|
linksRequested: Scalars["Int"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
|
export type UploadLink = {
|
||||||
|
__typename?: "UploadLink";
|
||||||
|
headers: Array<Maybe<Header>>;
|
||||||
|
uploadUrl: Scalars["String"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
|
export type UploadLinkGetProfileUploadLinkErrors =
|
||||||
|
| GetProfileUploadLinkErrors
|
||||||
|
| UploadLink;
|
||||||
|
|
||||||
|
export type UploadLinkGetUploadLinkErrors = GetUploadLinkErrors | UploadLink;
|
||||||
|
|
||||||
export type UploadSegmentGql = {
|
export type UploadSegmentGql = {
|
||||||
__typename?: "UploadSegmentGQL";
|
__typename?: "UploadSegmentGQL";
|
||||||
durationInSeconds?: Maybe<Scalars["Float"]["output"]>;
|
durationInSeconds?: Maybe<Scalars["Float"]["output"]>;
|
||||||
@@ -1426,6 +1599,7 @@ export type VideoGql = {
|
|||||||
shots: Array<ShotGql>;
|
shots: Array<ShotGql>;
|
||||||
startTime?: Maybe<Scalars["DateTime"]["output"]>;
|
startTime?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
stream?: Maybe<UploadStreamGql>;
|
stream?: Maybe<UploadStreamGql>;
|
||||||
|
tableSize: Scalars["Float"]["output"];
|
||||||
tags: Array<VideoTag>;
|
tags: Array<VideoTag>;
|
||||||
totalShots: Scalars["Int"]["output"];
|
totalShots: Scalars["Int"]["output"];
|
||||||
totalShotsMade: Scalars["Int"]["output"];
|
totalShotsMade: Scalars["Int"]["output"];
|
||||||
@@ -1447,7 +1621,7 @@ export type VideoMetadataInput = {
|
|||||||
resolution?: InputMaybe<VideoResolution>;
|
resolution?: InputMaybe<VideoResolution>;
|
||||||
startTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
startTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
||||||
streamSegmentType?: InputMaybe<StreamSegmentTypeEnum>;
|
streamSegmentType?: InputMaybe<StreamSegmentTypeEnum>;
|
||||||
tableSize?: InputMaybe<Scalars["String"]["input"]>;
|
tableSize?: InputMaybe<Scalars["Float"]["input"]>;
|
||||||
uploadStreamMetadataInput?: InputMaybe<UploadStreamMetadataInput>;
|
uploadStreamMetadataInput?: InputMaybe<UploadStreamMetadataInput>;
|
||||||
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
};
|
};
|
||||||
@@ -1542,6 +1716,7 @@ export type GetDeployedConfigQuery = {
|
|||||||
devMode: boolean;
|
devMode: boolean;
|
||||||
environment: string;
|
environment: string;
|
||||||
firebase: boolean;
|
firebase: boolean;
|
||||||
|
minimumAllowedAppVersion: string;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1568,6 +1743,7 @@ export type GetFeedQuery = {
|
|||||||
startTime?: any | null;
|
startTime?: any | null;
|
||||||
endTime?: any | null;
|
endTime?: any | null;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
|
tableSize: number;
|
||||||
owner?: { __typename?: "UserGQL"; username: string } | null;
|
owner?: { __typename?: "UserGQL"; username: string } | null;
|
||||||
stream?: { __typename?: "UploadStreamGQL"; isCompleted: boolean } | null;
|
stream?: { __typename?: "UploadStreamGQL"; isCompleted: boolean } | null;
|
||||||
tags: Array<{
|
tags: Array<{
|
||||||
@@ -1609,6 +1785,7 @@ export type GetShotsQueryVariables = Exact<{
|
|||||||
includeCueObjectDistance?: Scalars["Boolean"]["input"];
|
includeCueObjectDistance?: Scalars["Boolean"]["input"];
|
||||||
includeCueObjectAngle?: Scalars["Boolean"]["input"];
|
includeCueObjectAngle?: Scalars["Boolean"]["input"];
|
||||||
includeCueBallSpeed?: Scalars["Boolean"]["input"];
|
includeCueBallSpeed?: Scalars["Boolean"]["input"];
|
||||||
|
includeSpinType?: Scalars["Boolean"]["input"];
|
||||||
includeShotDirection?: Scalars["Boolean"]["input"];
|
includeShotDirection?: Scalars["Boolean"]["input"];
|
||||||
includeTargetPocketDistance?: Scalars["Boolean"]["input"];
|
includeTargetPocketDistance?: Scalars["Boolean"]["input"];
|
||||||
includeMake?: Scalars["Boolean"]["input"];
|
includeMake?: Scalars["Boolean"]["input"];
|
||||||
@@ -1627,12 +1804,24 @@ export type GetShotsQuery = {
|
|||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
updatedAt?: any | null;
|
updatedAt?: any | null;
|
||||||
user?: { __typename?: "UserGQL"; id: number } | null;
|
user?: { __typename?: "UserGQL"; id: number } | null;
|
||||||
|
video?: {
|
||||||
|
__typename?: "VideoGQL";
|
||||||
|
stream?: {
|
||||||
|
__typename?: "UploadStreamGQL";
|
||||||
|
resolution: {
|
||||||
|
__typename?: "VideoResolutionGQL";
|
||||||
|
width?: number | null;
|
||||||
|
height?: number | null;
|
||||||
|
};
|
||||||
|
} | null;
|
||||||
|
} | null;
|
||||||
cueObjectFeatures?: {
|
cueObjectFeatures?: {
|
||||||
__typename?: "CueObjectFeaturesGQL";
|
__typename?: "CueObjectFeaturesGQL";
|
||||||
cueObjectDistance?: number | null;
|
cueObjectDistance?: number | null;
|
||||||
cueObjectAngle?: number | null;
|
cueObjectAngle?: number | null;
|
||||||
cueBallSpeed?: number | null;
|
cueBallSpeed?: number | null;
|
||||||
shotDirection?: ShotDirectionEnum | null;
|
shotDirection?: ShotDirectionEnum | null;
|
||||||
|
spinType?: SpinTypeEnum | null;
|
||||||
} | null;
|
} | null;
|
||||||
pocketingIntentionFeatures?: {
|
pocketingIntentionFeatures?: {
|
||||||
__typename?: "PocketingIntentionFeaturesGQL";
|
__typename?: "PocketingIntentionFeaturesGQL";
|
||||||
@@ -1643,6 +1832,25 @@ export type GetShotsQuery = {
|
|||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type GetSerializedShotPathsQueryVariables = Exact<{
|
||||||
|
filterInput: FilterInput;
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type GetSerializedShotPathsQuery = {
|
||||||
|
__typename?: "Query";
|
||||||
|
getShots: Array<{
|
||||||
|
__typename?: "ShotGQL";
|
||||||
|
id: number;
|
||||||
|
videoId: number;
|
||||||
|
startFrame: number;
|
||||||
|
endFrame: number;
|
||||||
|
serializedShotPaths?: {
|
||||||
|
__typename?: "SerializedShotPathsGQL";
|
||||||
|
b64EncodedBuffer?: string | null;
|
||||||
|
} | null;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
|
||||||
export type GetShotAnnotationTypesQueryVariables = Exact<{
|
export type GetShotAnnotationTypesQueryVariables = Exact<{
|
||||||
[key: string]: never;
|
[key: string]: never;
|
||||||
}>;
|
}>;
|
||||||
@@ -1663,13 +1871,24 @@ export type GetProfileImageUploadLinkMutationVariables = Exact<{
|
|||||||
export type GetProfileImageUploadLinkMutation = {
|
export type GetProfileImageUploadLinkMutation = {
|
||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
getProfileImageUploadLink: {
|
getProfileImageUploadLink: {
|
||||||
__typename?: "GetUploadLinkReturn";
|
__typename?: "GetProfileUploadLinkReturn";
|
||||||
uploadUrl: string;
|
value:
|
||||||
headers: Array<{
|
| {
|
||||||
__typename?: "Header";
|
__typename?: "GetProfileUploadLinkErrors";
|
||||||
key: string;
|
error: {
|
||||||
value: string;
|
__typename?: "TooManyProfileImageUploadsErr";
|
||||||
} | null>;
|
linksRequested: number;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
__typename?: "UploadLink";
|
||||||
|
uploadUrl: string;
|
||||||
|
headers: Array<{
|
||||||
|
__typename?: "Header";
|
||||||
|
key: string;
|
||||||
|
value: string;
|
||||||
|
} | null>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1801,6 +2020,7 @@ export type GetVideoUpdatePageDetailsQuery = {
|
|||||||
totalShots: number;
|
totalShots: number;
|
||||||
makePercentage: number;
|
makePercentage: number;
|
||||||
elapsedTime?: number | null;
|
elapsedTime?: number | null;
|
||||||
|
tableSize: number;
|
||||||
tags: Array<{
|
tags: Array<{
|
||||||
__typename?: "VideoTag";
|
__typename?: "VideoTag";
|
||||||
name: string;
|
name: string;
|
||||||
@@ -1839,6 +2059,7 @@ export type GetVideoDetailsQuery = {
|
|||||||
totalShotsMade: number;
|
totalShotsMade: number;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
updatedAt?: any | null;
|
updatedAt?: any | null;
|
||||||
|
tableSize: number;
|
||||||
owner?: {
|
owner?: {
|
||||||
__typename?: "UserGQL";
|
__typename?: "UserGQL";
|
||||||
id: number;
|
id: number;
|
||||||
@@ -1863,13 +2084,11 @@ export type GetVideosQuery = {
|
|||||||
getVideos: Array<{
|
getVideos: Array<{
|
||||||
__typename?: "VideoGQL";
|
__typename?: "VideoGQL";
|
||||||
id: number;
|
id: number;
|
||||||
playlist?: {
|
framesPerSecond: number;
|
||||||
__typename?: "HLSPlaylistGQL";
|
|
||||||
segmentDurations: Array<number>;
|
|
||||||
} | null;
|
|
||||||
stream?: {
|
stream?: {
|
||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
id: string;
|
id: string;
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
segments: Array<{
|
segments: Array<{
|
||||||
__typename?: "UploadSegmentGQL";
|
__typename?: "UploadSegmentGQL";
|
||||||
uploaded: boolean;
|
uploaded: boolean;
|
||||||
@@ -1879,6 +2098,10 @@ export type GetVideosQuery = {
|
|||||||
framesPerSecond?: number | null;
|
framesPerSecond?: number | null;
|
||||||
}>;
|
}>;
|
||||||
} | null;
|
} | null;
|
||||||
|
playlist?: {
|
||||||
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
segmentDurations: Array<number>;
|
||||||
|
} | null;
|
||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2026,12 +2249,43 @@ export type GetUploadLinkMutation = {
|
|||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
getUploadLink: {
|
getUploadLink: {
|
||||||
__typename?: "GetUploadLinkReturn";
|
__typename?: "GetUploadLinkReturn";
|
||||||
uploadUrl: string;
|
value:
|
||||||
headers: Array<{
|
| {
|
||||||
__typename?: "Header";
|
__typename?: "GetUploadLinkErrors";
|
||||||
key: string;
|
error:
|
||||||
value: string;
|
| {
|
||||||
} | null>;
|
__typename?: "MustHaveSetForUploadLinkErr";
|
||||||
|
resolution?: boolean | null;
|
||||||
|
framesPerSecond?: boolean | null;
|
||||||
|
}
|
||||||
|
| { __typename?: "NoInitForChunkedUploadErr" }
|
||||||
|
| {
|
||||||
|
__typename?: "ProcessingFailedErr";
|
||||||
|
processing: {
|
||||||
|
__typename?: "VideoProcessingGQL";
|
||||||
|
status: ProcessingStatusEnum;
|
||||||
|
errors: Array<{
|
||||||
|
__typename?: "VideoProcessingErrorGQL";
|
||||||
|
message: string;
|
||||||
|
}>;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
| { __typename?: "SegmentAlreadyUploadedErr"; segmentId: number }
|
||||||
|
| { __typename?: "TooManyProfileImageUploadsErr" };
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
__typename?: "UploadLink";
|
||||||
|
uploadUrl: string;
|
||||||
|
headers: Array<{
|
||||||
|
__typename?: "Header";
|
||||||
|
key: string;
|
||||||
|
value: string;
|
||||||
|
} | null>;
|
||||||
|
};
|
||||||
|
stream?: {
|
||||||
|
__typename?: "UploadStreamGQL";
|
||||||
|
uploadCompletionCursor: number;
|
||||||
|
} | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2043,12 +2297,28 @@ export type GetHlsInitUploadLinkMutation = {
|
|||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
getHlsInitUploadLink: {
|
getHlsInitUploadLink: {
|
||||||
__typename?: "GetUploadLinkReturn";
|
__typename?: "GetUploadLinkReturn";
|
||||||
uploadUrl: string;
|
value:
|
||||||
headers: Array<{
|
| {
|
||||||
__typename?: "Header";
|
__typename?: "GetUploadLinkErrors";
|
||||||
key: string;
|
error:
|
||||||
value: string;
|
| { __typename?: "MustHaveSetForUploadLinkErr" }
|
||||||
} | null>;
|
| {
|
||||||
|
__typename?: "NoInitForChunkedUploadErr";
|
||||||
|
segmentType: StreamSegmentTypeEnum;
|
||||||
|
}
|
||||||
|
| { __typename?: "ProcessingFailedErr" }
|
||||||
|
| { __typename?: "SegmentAlreadyUploadedErr" }
|
||||||
|
| { __typename?: "TooManyProfileImageUploadsErr" };
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
__typename?: "UploadLink";
|
||||||
|
uploadUrl: string;
|
||||||
|
headers: Array<{
|
||||||
|
__typename?: "Header";
|
||||||
|
key: string;
|
||||||
|
value: string;
|
||||||
|
} | null>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2210,6 +2480,7 @@ export const GetDeployedConfigDocument = gql`
|
|||||||
devMode
|
devMode
|
||||||
environment
|
environment
|
||||||
firebase
|
firebase
|
||||||
|
minimumAllowedAppVersion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -2304,6 +2575,7 @@ export const GetFeedDocument = gql`
|
|||||||
stream {
|
stream {
|
||||||
isCompleted
|
isCompleted
|
||||||
}
|
}
|
||||||
|
tableSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
tagClasses {
|
||||||
name
|
name
|
||||||
@@ -2472,6 +2744,7 @@ export const GetShotsDocument = gql`
|
|||||||
$includeCueObjectDistance: Boolean! = false
|
$includeCueObjectDistance: Boolean! = false
|
||||||
$includeCueObjectAngle: Boolean! = false
|
$includeCueObjectAngle: Boolean! = false
|
||||||
$includeCueBallSpeed: Boolean! = false
|
$includeCueBallSpeed: Boolean! = false
|
||||||
|
$includeSpinType: Boolean! = false
|
||||||
$includeShotDirection: Boolean! = false
|
$includeShotDirection: Boolean! = false
|
||||||
$includeTargetPocketDistance: Boolean! = false
|
$includeTargetPocketDistance: Boolean! = false
|
||||||
$includeMake: Boolean! = false
|
$includeMake: Boolean! = false
|
||||||
@@ -2490,6 +2763,14 @@ export const GetShotsDocument = gql`
|
|||||||
id
|
id
|
||||||
}
|
}
|
||||||
falsePositiveScore
|
falsePositiveScore
|
||||||
|
video {
|
||||||
|
stream {
|
||||||
|
resolution {
|
||||||
|
width
|
||||||
|
height
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
createdAt @include(if: $includeCreatedAt)
|
createdAt @include(if: $includeCreatedAt)
|
||||||
updatedAt @include(if: $includeUpdatedAt)
|
updatedAt @include(if: $includeUpdatedAt)
|
||||||
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
||||||
@@ -2497,6 +2778,7 @@ export const GetShotsDocument = gql`
|
|||||||
cueObjectAngle @include(if: $includeCueObjectAngle)
|
cueObjectAngle @include(if: $includeCueObjectAngle)
|
||||||
cueBallSpeed @include(if: $includeCueBallSpeed)
|
cueBallSpeed @include(if: $includeCueBallSpeed)
|
||||||
shotDirection @include(if: $includeShotDirection)
|
shotDirection @include(if: $includeShotDirection)
|
||||||
|
spinType @include(if: $includeSpinType)
|
||||||
}
|
}
|
||||||
pocketingIntentionFeatures
|
pocketingIntentionFeatures
|
||||||
@include(if: $includePocketingIntentionFeatures) {
|
@include(if: $includePocketingIntentionFeatures) {
|
||||||
@@ -2530,6 +2812,7 @@ export const GetShotsDocument = gql`
|
|||||||
* includeCueObjectDistance: // value for 'includeCueObjectDistance'
|
* includeCueObjectDistance: // value for 'includeCueObjectDistance'
|
||||||
* includeCueObjectAngle: // value for 'includeCueObjectAngle'
|
* includeCueObjectAngle: // value for 'includeCueObjectAngle'
|
||||||
* includeCueBallSpeed: // value for 'includeCueBallSpeed'
|
* includeCueBallSpeed: // value for 'includeCueBallSpeed'
|
||||||
|
* includeSpinType: // value for 'includeSpinType'
|
||||||
* includeShotDirection: // value for 'includeShotDirection'
|
* includeShotDirection: // value for 'includeShotDirection'
|
||||||
* includeTargetPocketDistance: // value for 'includeTargetPocketDistance'
|
* includeTargetPocketDistance: // value for 'includeTargetPocketDistance'
|
||||||
* includeMake: // value for 'includeMake'
|
* includeMake: // value for 'includeMake'
|
||||||
@@ -2581,6 +2864,85 @@ export type GetShotsQueryResult = Apollo.QueryResult<
|
|||||||
GetShotsQuery,
|
GetShotsQuery,
|
||||||
GetShotsQueryVariables
|
GetShotsQueryVariables
|
||||||
>;
|
>;
|
||||||
|
export const GetSerializedShotPathsDocument = gql`
|
||||||
|
query GetSerializedShotPaths($filterInput: FilterInput!) {
|
||||||
|
getShots(filterInput: $filterInput) {
|
||||||
|
id
|
||||||
|
videoId
|
||||||
|
startFrame
|
||||||
|
endFrame
|
||||||
|
serializedShotPaths {
|
||||||
|
b64EncodedBuffer
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useGetSerializedShotPathsQuery__
|
||||||
|
*
|
||||||
|
* To run a query within a React component, call `useGetSerializedShotPathsQuery` and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useGetSerializedShotPathsQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
||||||
|
* you can use to render your UI.
|
||||||
|
*
|
||||||
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* const { data, loading, error } = useGetSerializedShotPathsQuery({
|
||||||
|
* variables: {
|
||||||
|
* filterInput: // value for 'filterInput'
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useGetSerializedShotPathsQuery(
|
||||||
|
baseOptions: Apollo.QueryHookOptions<
|
||||||
|
GetSerializedShotPathsQuery,
|
||||||
|
GetSerializedShotPathsQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useQuery<
|
||||||
|
GetSerializedShotPathsQuery,
|
||||||
|
GetSerializedShotPathsQueryVariables
|
||||||
|
>(GetSerializedShotPathsDocument, options);
|
||||||
|
}
|
||||||
|
export function useGetSerializedShotPathsLazyQuery(
|
||||||
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
||||||
|
GetSerializedShotPathsQuery,
|
||||||
|
GetSerializedShotPathsQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useLazyQuery<
|
||||||
|
GetSerializedShotPathsQuery,
|
||||||
|
GetSerializedShotPathsQueryVariables
|
||||||
|
>(GetSerializedShotPathsDocument, options);
|
||||||
|
}
|
||||||
|
export function useGetSerializedShotPathsSuspenseQuery(
|
||||||
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
||||||
|
GetSerializedShotPathsQuery,
|
||||||
|
GetSerializedShotPathsQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useSuspenseQuery<
|
||||||
|
GetSerializedShotPathsQuery,
|
||||||
|
GetSerializedShotPathsQueryVariables
|
||||||
|
>(GetSerializedShotPathsDocument, options);
|
||||||
|
}
|
||||||
|
export type GetSerializedShotPathsQueryHookResult = ReturnType<
|
||||||
|
typeof useGetSerializedShotPathsQuery
|
||||||
|
>;
|
||||||
|
export type GetSerializedShotPathsLazyQueryHookResult = ReturnType<
|
||||||
|
typeof useGetSerializedShotPathsLazyQuery
|
||||||
|
>;
|
||||||
|
export type GetSerializedShotPathsSuspenseQueryHookResult = ReturnType<
|
||||||
|
typeof useGetSerializedShotPathsSuspenseQuery
|
||||||
|
>;
|
||||||
|
export type GetSerializedShotPathsQueryResult = Apollo.QueryResult<
|
||||||
|
GetSerializedShotPathsQuery,
|
||||||
|
GetSerializedShotPathsQueryVariables
|
||||||
|
>;
|
||||||
export const GetShotAnnotationTypesDocument = gql`
|
export const GetShotAnnotationTypesDocument = gql`
|
||||||
query GetShotAnnotationTypes {
|
query GetShotAnnotationTypes {
|
||||||
getShotAnnotationTypes {
|
getShotAnnotationTypes {
|
||||||
@@ -2657,10 +3019,21 @@ export type GetShotAnnotationTypesQueryResult = Apollo.QueryResult<
|
|||||||
export const GetProfileImageUploadLinkDocument = gql`
|
export const GetProfileImageUploadLinkDocument = gql`
|
||||||
mutation getProfileImageUploadLink($fileExt: String = ".png") {
|
mutation getProfileImageUploadLink($fileExt: String = ".png") {
|
||||||
getProfileImageUploadLink(fileExt: $fileExt) {
|
getProfileImageUploadLink(fileExt: $fileExt) {
|
||||||
uploadUrl
|
value {
|
||||||
headers {
|
... on UploadLink {
|
||||||
key
|
uploadUrl
|
||||||
value
|
headers {
|
||||||
|
key
|
||||||
|
value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
... on GetProfileUploadLinkErrors {
|
||||||
|
error {
|
||||||
|
... on TooManyProfileImageUploadsErr {
|
||||||
|
linksRequested
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3134,6 +3507,7 @@ export const GetVideoUpdatePageDetailsDocument = gql`
|
|||||||
totalShots
|
totalShots
|
||||||
makePercentage
|
makePercentage
|
||||||
elapsedTime
|
elapsedTime
|
||||||
|
tableSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
tagClasses {
|
||||||
name
|
name
|
||||||
@@ -3273,6 +3647,7 @@ export const GetVideoDetailsDocument = gql`
|
|||||||
totalShotsMade
|
totalShotsMade
|
||||||
createdAt
|
createdAt
|
||||||
updatedAt
|
updatedAt
|
||||||
|
tableSize
|
||||||
owner {
|
owner {
|
||||||
id
|
id
|
||||||
firebaseUid
|
firebaseUid
|
||||||
@@ -3358,11 +3733,10 @@ export const GetVideosDocument = gql`
|
|||||||
query GetVideos($videoIds: [Int!]!) {
|
query GetVideos($videoIds: [Int!]!) {
|
||||||
getVideos(videoIds: $videoIds) {
|
getVideos(videoIds: $videoIds) {
|
||||||
id
|
id
|
||||||
playlist {
|
framesPerSecond
|
||||||
segmentDurations
|
|
||||||
}
|
|
||||||
stream {
|
stream {
|
||||||
id
|
id
|
||||||
|
streamSegmentType
|
||||||
segments {
|
segments {
|
||||||
uploaded
|
uploaded
|
||||||
valid
|
valid
|
||||||
@@ -3371,6 +3745,9 @@ export const GetVideosDocument = gql`
|
|||||||
framesPerSecond
|
framesPerSecond
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
playlist {
|
||||||
|
segmentDurations
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -3922,10 +4299,36 @@ export type CreateUploadStreamMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
export const GetUploadLinkDocument = gql`
|
export const GetUploadLinkDocument = gql`
|
||||||
mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
|
mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
|
||||||
getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) {
|
getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) {
|
||||||
uploadUrl
|
value {
|
||||||
headers {
|
... on UploadLink {
|
||||||
key
|
uploadUrl
|
||||||
value
|
headers {
|
||||||
|
key
|
||||||
|
value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
... on GetUploadLinkErrors {
|
||||||
|
error {
|
||||||
|
... on MustHaveSetForUploadLinkErr {
|
||||||
|
resolution
|
||||||
|
framesPerSecond
|
||||||
|
}
|
||||||
|
... on SegmentAlreadyUploadedErr {
|
||||||
|
segmentId
|
||||||
|
}
|
||||||
|
... on ProcessingFailedErr {
|
||||||
|
processing {
|
||||||
|
status
|
||||||
|
errors {
|
||||||
|
message
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stream {
|
||||||
|
uploadCompletionCursor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3977,10 +4380,21 @@ export type GetUploadLinkMutationOptions = Apollo.BaseMutationOptions<
|
|||||||
export const GetHlsInitUploadLinkDocument = gql`
|
export const GetHlsInitUploadLinkDocument = gql`
|
||||||
mutation GetHlsInitUploadLink($videoId: Int!) {
|
mutation GetHlsInitUploadLink($videoId: Int!) {
|
||||||
getHlsInitUploadLink(videoId: $videoId) {
|
getHlsInitUploadLink(videoId: $videoId) {
|
||||||
uploadUrl
|
value {
|
||||||
headers {
|
... on UploadLink {
|
||||||
key
|
uploadUrl
|
||||||
value
|
headers {
|
||||||
|
key
|
||||||
|
value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
... on GetUploadLinkErrors {
|
||||||
|
error {
|
||||||
|
... on NoInitForChunkedUploadErr {
|
||||||
|
segmentType
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -4,5 +4,6 @@ query getDeployedConfig {
|
|||||||
devMode
|
devMode
|
||||||
environment
|
environment
|
||||||
firebase
|
firebase
|
||||||
|
minimumAllowedAppVersion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -23,6 +23,7 @@ query GetFeed(
|
|||||||
stream {
|
stream {
|
||||||
isCompleted
|
isCompleted
|
||||||
}
|
}
|
||||||
|
tableSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
tagClasses {
|
||||||
name
|
name
|
||||||
|
@@ -9,6 +9,7 @@ query GetShots(
|
|||||||
$includeCueObjectDistance: Boolean! = false
|
$includeCueObjectDistance: Boolean! = false
|
||||||
$includeCueObjectAngle: Boolean! = false
|
$includeCueObjectAngle: Boolean! = false
|
||||||
$includeCueBallSpeed: Boolean! = false
|
$includeCueBallSpeed: Boolean! = false
|
||||||
|
$includeSpinType: Boolean! = false
|
||||||
$includeShotDirection: Boolean! = false
|
$includeShotDirection: Boolean! = false
|
||||||
$includeTargetPocketDistance: Boolean! = false
|
$includeTargetPocketDistance: Boolean! = false
|
||||||
$includeMake: Boolean! = false
|
$includeMake: Boolean! = false
|
||||||
@@ -27,6 +28,14 @@ query GetShots(
|
|||||||
id
|
id
|
||||||
}
|
}
|
||||||
falsePositiveScore
|
falsePositiveScore
|
||||||
|
video {
|
||||||
|
stream {
|
||||||
|
resolution {
|
||||||
|
width
|
||||||
|
height
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
createdAt @include(if: $includeCreatedAt)
|
createdAt @include(if: $includeCreatedAt)
|
||||||
updatedAt @include(if: $includeUpdatedAt)
|
updatedAt @include(if: $includeUpdatedAt)
|
||||||
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
||||||
@@ -34,6 +43,7 @@ query GetShots(
|
|||||||
cueObjectAngle @include(if: $includeCueObjectAngle)
|
cueObjectAngle @include(if: $includeCueObjectAngle)
|
||||||
cueBallSpeed @include(if: $includeCueBallSpeed)
|
cueBallSpeed @include(if: $includeCueBallSpeed)
|
||||||
shotDirection @include(if: $includeShotDirection)
|
shotDirection @include(if: $includeShotDirection)
|
||||||
|
spinType @include(if: $includeSpinType)
|
||||||
}
|
}
|
||||||
pocketingIntentionFeatures
|
pocketingIntentionFeatures
|
||||||
@include(if: $includePocketingIntentionFeatures) {
|
@include(if: $includePocketingIntentionFeatures) {
|
||||||
@@ -44,6 +54,18 @@ query GetShots(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
query GetSerializedShotPaths($filterInput: FilterInput!) {
|
||||||
|
getShots(filterInput: $filterInput) {
|
||||||
|
id
|
||||||
|
videoId
|
||||||
|
startFrame
|
||||||
|
endFrame
|
||||||
|
serializedShotPaths {
|
||||||
|
b64EncodedBuffer
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
query GetShotAnnotationTypes {
|
query GetShotAnnotationTypes {
|
||||||
getShotAnnotationTypes {
|
getShotAnnotationTypes {
|
||||||
id
|
id
|
||||||
|
@@ -1,9 +1,20 @@
|
|||||||
mutation getProfileImageUploadLink($fileExt: String = ".png") {
|
mutation getProfileImageUploadLink($fileExt: String = ".png") {
|
||||||
getProfileImageUploadLink(fileExt: $fileExt) {
|
getProfileImageUploadLink(fileExt: $fileExt) {
|
||||||
uploadUrl
|
value {
|
||||||
headers {
|
... on UploadLink {
|
||||||
key
|
uploadUrl
|
||||||
value
|
headers {
|
||||||
|
key
|
||||||
|
value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
... on GetProfileUploadLinkErrors {
|
||||||
|
error {
|
||||||
|
... on TooManyProfileImageUploadsErr {
|
||||||
|
linksRequested
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -70,6 +70,7 @@ query GetVideoUpdatePageDetails($videoId: Int!) {
|
|||||||
totalShots
|
totalShots
|
||||||
makePercentage
|
makePercentage
|
||||||
elapsedTime
|
elapsedTime
|
||||||
|
tableSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
tagClasses {
|
||||||
name
|
name
|
||||||
@@ -98,6 +99,7 @@ query GetVideoDetails($videoId: Int!) {
|
|||||||
totalShotsMade
|
totalShotsMade
|
||||||
createdAt
|
createdAt
|
||||||
updatedAt
|
updatedAt
|
||||||
|
tableSize
|
||||||
owner {
|
owner {
|
||||||
id
|
id
|
||||||
firebaseUid
|
firebaseUid
|
||||||
@@ -116,11 +118,10 @@ query GetVideoDetails($videoId: Int!) {
|
|||||||
query GetVideos($videoIds: [Int!]!) {
|
query GetVideos($videoIds: [Int!]!) {
|
||||||
getVideos(videoIds: $videoIds) {
|
getVideos(videoIds: $videoIds) {
|
||||||
id
|
id
|
||||||
playlist {
|
framesPerSecond
|
||||||
segmentDurations
|
|
||||||
}
|
|
||||||
stream {
|
stream {
|
||||||
id
|
id
|
||||||
|
streamSegmentType
|
||||||
segments {
|
segments {
|
||||||
uploaded
|
uploaded
|
||||||
valid
|
valid
|
||||||
@@ -129,6 +130,9 @@ query GetVideos($videoIds: [Int!]!) {
|
|||||||
framesPerSecond
|
framesPerSecond
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
playlist {
|
||||||
|
segmentDurations
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -6,20 +6,57 @@ mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
|||||||
|
|
||||||
mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
|
mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
|
||||||
getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) {
|
getUploadLink(videoId: $videoId, segmentIndex: $segmentIndex) {
|
||||||
uploadUrl
|
value {
|
||||||
headers {
|
... on UploadLink {
|
||||||
key
|
uploadUrl
|
||||||
value
|
headers {
|
||||||
|
key
|
||||||
|
value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
... on GetUploadLinkErrors {
|
||||||
|
error {
|
||||||
|
... on MustHaveSetForUploadLinkErr {
|
||||||
|
resolution
|
||||||
|
framesPerSecond
|
||||||
|
}
|
||||||
|
... on SegmentAlreadyUploadedErr {
|
||||||
|
segmentId
|
||||||
|
}
|
||||||
|
... on ProcessingFailedErr {
|
||||||
|
processing {
|
||||||
|
status
|
||||||
|
errors {
|
||||||
|
message
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stream {
|
||||||
|
uploadCompletionCursor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mutation GetHlsInitUploadLink($videoId: Int!) {
|
mutation GetHlsInitUploadLink($videoId: Int!) {
|
||||||
getHlsInitUploadLink(videoId: $videoId) {
|
getHlsInitUploadLink(videoId: $videoId) {
|
||||||
uploadUrl
|
value {
|
||||||
headers {
|
... on UploadLink {
|
||||||
key
|
uploadUrl
|
||||||
value
|
headers {
|
||||||
|
key
|
||||||
|
value
|
||||||
|
}
|
||||||
|
}
|
||||||
|
... on GetUploadLinkErrors {
|
||||||
|
error {
|
||||||
|
... on NoInitForChunkedUploadErr {
|
||||||
|
segmentType
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
114
src/schema.gql
114
src/schema.gql
@@ -14,7 +14,7 @@ type Query {
|
|||||||
shotsPagination: GetShotsPagination = null
|
shotsPagination: GetShotsPagination = null
|
||||||
limit: Int! = 500
|
limit: Int! = 500
|
||||||
): [ShotGQL!]!
|
): [ShotGQL!]!
|
||||||
getShotAnnotationTypes: [ShotAnnotationTypeGQL!]!
|
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!
|
||||||
getUser(userId: Int!): UserGQL
|
getUser(userId: Int!): UserGQL
|
||||||
getLoggedInUser: UserGQL
|
getLoggedInUser: UserGQL
|
||||||
getUsernames(
|
getUsernames(
|
||||||
@@ -96,20 +96,24 @@ input FilterInput @oneOf {
|
|||||||
isLeftMiss: [Boolean!]
|
isLeftMiss: [Boolean!]
|
||||||
isRightMiss: [Boolean!]
|
isRightMiss: [Boolean!]
|
||||||
isDirect: [Boolean!]
|
isDirect: [Boolean!]
|
||||||
|
tableSize: RangeFilter
|
||||||
bankAngle: RangeFilter
|
bankAngle: RangeFilter
|
||||||
bankDistance: RangeFilter
|
bankDistance: RangeFilter
|
||||||
kickAngle: RangeFilter
|
kickAngle: RangeFilter
|
||||||
kickDistance: RangeFilter
|
kickDistance: RangeFilter
|
||||||
cueAngleAfterObject: RangeFilter
|
cueAngleAfterObject: RangeFilter
|
||||||
|
spinType: [SpinTypeEnum!]
|
||||||
cueSpeedAfterObject: RangeFilter
|
cueSpeedAfterObject: RangeFilter
|
||||||
spinType: [String!]
|
|
||||||
falsePositiveScore: RangeFilter
|
falsePositiveScore: RangeFilter
|
||||||
}
|
}
|
||||||
|
|
||||||
input RangeFilter {
|
input RangeFilter {
|
||||||
lessThan: Float = null
|
lessThan: Float = null
|
||||||
greaterThanEqualTo: Float = null
|
greaterThanEqualTo: Float = null
|
||||||
|
greaterThan: Float = null
|
||||||
includeOnNone: Boolean! = false
|
includeOnNone: Boolean! = false
|
||||||
|
lessThanInclusive: Boolean! = false
|
||||||
|
greaterThanInclusive: Boolean! = true
|
||||||
}
|
}
|
||||||
|
|
||||||
enum PocketEnum {
|
enum PocketEnum {
|
||||||
@@ -136,6 +140,13 @@ input ShotAnnotationInput {
|
|||||||
name: String!
|
name: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum SpinTypeEnum {
|
||||||
|
DRAW
|
||||||
|
FOLLOW
|
||||||
|
CENTER
|
||||||
|
UNKNOWN
|
||||||
|
}
|
||||||
|
|
||||||
type BucketSetGQL {
|
type BucketSetGQL {
|
||||||
keyName: String!
|
keyName: String!
|
||||||
feature: String!
|
feature: String!
|
||||||
@@ -152,6 +163,7 @@ type DeployedConfigGQL {
|
|||||||
firebase: Boolean!
|
firebase: Boolean!
|
||||||
devMode: Boolean!
|
devMode: Boolean!
|
||||||
environment: String!
|
environment: String!
|
||||||
|
minimumAllowedAppVersion: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
type MakePercentageIntervalGQL {
|
type MakePercentageIntervalGQL {
|
||||||
@@ -186,6 +198,7 @@ type CueObjectFeaturesGQL {
|
|||||||
cueObjectAngle: Float
|
cueObjectAngle: Float
|
||||||
cueBallSpeed: Float
|
cueBallSpeed: Float
|
||||||
shotDirection: ShotDirectionEnum
|
shotDirection: ShotDirectionEnum
|
||||||
|
spinType: SpinTypeEnum
|
||||||
}
|
}
|
||||||
|
|
||||||
type PocketingIntentionFeaturesGQL {
|
type PocketingIntentionFeaturesGQL {
|
||||||
@@ -226,6 +239,7 @@ type ShotAnnotationGQL {
|
|||||||
type: ShotAnnotationTypeGQL!
|
type: ShotAnnotationTypeGQL!
|
||||||
creator: UserGQL!
|
creator: UserGQL!
|
||||||
notes: String!
|
notes: String!
|
||||||
|
errorDefault: Boolean!
|
||||||
createdAt: DateTime
|
createdAt: DateTime
|
||||||
updatedAt: DateTime
|
updatedAt: DateTime
|
||||||
}
|
}
|
||||||
@@ -252,6 +266,7 @@ type VideoGQL {
|
|||||||
endTime: DateTime
|
endTime: DateTime
|
||||||
elapsedTime: Float
|
elapsedTime: Float
|
||||||
framesPerSecond: Float!
|
framesPerSecond: Float!
|
||||||
|
tableSize: Float!
|
||||||
stream: UploadStreamGQL
|
stream: UploadStreamGQL
|
||||||
playlist: HLSPlaylistGQL
|
playlist: HLSPlaylistGQL
|
||||||
tags: [VideoTag!]!
|
tags: [VideoTag!]!
|
||||||
@@ -428,8 +443,14 @@ scalar JSON
|
|||||||
type Mutation {
|
type Mutation {
|
||||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||||
addAnnotationToShot(shotId: Int!, annotationName: String!): Boolean!
|
addAnnotationToShot(
|
||||||
getProfileImageUploadLink(fileExt: String = ".png"): GetUploadLinkReturn!
|
shotId: Int!
|
||||||
|
annotationName: String!
|
||||||
|
notes: String = null
|
||||||
|
): AddShotAnnotationReturn!
|
||||||
|
getProfileImageUploadLink(
|
||||||
|
fileExt: String = ".png"
|
||||||
|
): GetProfileUploadLinkReturn!
|
||||||
editProfileImageUri(profileImageUri: String!): UserGQL!
|
editProfileImageUri(profileImageUri: String!): UserGQL!
|
||||||
createUploadStream(
|
createUploadStream(
|
||||||
videoMetadata: VideoMetadataInput!
|
videoMetadata: VideoMetadataInput!
|
||||||
@@ -451,10 +472,46 @@ input CreateBucketSetInput {
|
|||||||
buckets: [BucketInputGQL!]!
|
buckets: [BucketInputGQL!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetUploadLinkReturn {
|
type AddShotAnnotationReturn {
|
||||||
|
value: SuccessfulAddAddShotAnnotationErrors!
|
||||||
|
}
|
||||||
|
|
||||||
|
union SuccessfulAddAddShotAnnotationErrors =
|
||||||
|
SuccessfulAdd
|
||||||
|
| AddShotAnnotationErrors
|
||||||
|
|
||||||
|
type SuccessfulAdd {
|
||||||
|
value: Boolean!
|
||||||
|
}
|
||||||
|
|
||||||
|
type AddShotAnnotationErrors {
|
||||||
|
error: DoesNotOwnShotErrOtherErrorNeedsNote!
|
||||||
|
}
|
||||||
|
|
||||||
|
union DoesNotOwnShotErrOtherErrorNeedsNote =
|
||||||
|
DoesNotOwnShotErr
|
||||||
|
| OtherErrorNeedsNote
|
||||||
|
|
||||||
|
type DoesNotOwnShotErr {
|
||||||
|
shotId: Int!
|
||||||
|
msg: String
|
||||||
|
}
|
||||||
|
|
||||||
|
type OtherErrorNeedsNote {
|
||||||
|
msg: String
|
||||||
|
}
|
||||||
|
|
||||||
|
type GetProfileUploadLinkReturn {
|
||||||
|
value: UploadLinkGetProfileUploadLinkErrors!
|
||||||
|
}
|
||||||
|
|
||||||
|
union UploadLinkGetProfileUploadLinkErrors =
|
||||||
|
UploadLink
|
||||||
|
| GetProfileUploadLinkErrors
|
||||||
|
|
||||||
|
type UploadLink {
|
||||||
uploadUrl: String!
|
uploadUrl: String!
|
||||||
headers: [Header]!
|
headers: [Header]!
|
||||||
uploadCompletionCursor: Int
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type Header {
|
type Header {
|
||||||
@@ -462,6 +519,14 @@ type Header {
|
|||||||
value: String!
|
value: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type GetProfileUploadLinkErrors {
|
||||||
|
error: TooManyProfileImageUploadsErr!
|
||||||
|
}
|
||||||
|
|
||||||
|
type TooManyProfileImageUploadsErr {
|
||||||
|
linksRequested: Int!
|
||||||
|
}
|
||||||
|
|
||||||
type CreateUploadStreamReturn {
|
type CreateUploadStreamReturn {
|
||||||
videoId: Int!
|
videoId: Int!
|
||||||
}
|
}
|
||||||
@@ -471,7 +536,7 @@ input VideoMetadataInput {
|
|||||||
startTime: DateTime = null
|
startTime: DateTime = null
|
||||||
endTime: DateTime = null
|
endTime: DateTime = null
|
||||||
gameType: String = null
|
gameType: String = null
|
||||||
tableSize: String = null
|
tableSize: Float = null
|
||||||
uploadStreamMetadataInput: UploadStreamMetadataInput = null
|
uploadStreamMetadataInput: UploadStreamMetadataInput = null
|
||||||
lastIntendedSegmentBound: Int = null
|
lastIntendedSegmentBound: Int = null
|
||||||
streamSegmentType: StreamSegmentTypeEnum = null
|
streamSegmentType: StreamSegmentTypeEnum = null
|
||||||
@@ -502,3 +567,38 @@ input VideoResolution {
|
|||||||
width: Int!
|
width: Int!
|
||||||
height: Int!
|
height: Int!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type GetUploadLinkReturn {
|
||||||
|
value: UploadLinkGetUploadLinkErrors!
|
||||||
|
stream: UploadStreamGQL
|
||||||
|
}
|
||||||
|
|
||||||
|
union UploadLinkGetUploadLinkErrors = UploadLink | GetUploadLinkErrors
|
||||||
|
|
||||||
|
type GetUploadLinkErrors {
|
||||||
|
error: MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErr!
|
||||||
|
}
|
||||||
|
|
||||||
|
union MustHaveSetForUploadLinkErrSegmentAlreadyUploadedErrProcessingFailedErrNoInitForChunkedUploadErrTooManyProfileImageUploadsErr =
|
||||||
|
MustHaveSetForUploadLinkErr
|
||||||
|
| SegmentAlreadyUploadedErr
|
||||||
|
| ProcessingFailedErr
|
||||||
|
| NoInitForChunkedUploadErr
|
||||||
|
| TooManyProfileImageUploadsErr
|
||||||
|
|
||||||
|
type MustHaveSetForUploadLinkErr {
|
||||||
|
resolution: Boolean
|
||||||
|
framesPerSecond: Boolean
|
||||||
|
}
|
||||||
|
|
||||||
|
type SegmentAlreadyUploadedErr {
|
||||||
|
segmentId: Int!
|
||||||
|
}
|
||||||
|
|
||||||
|
type ProcessingFailedErr {
|
||||||
|
processing: VideoProcessingGQL!
|
||||||
|
}
|
||||||
|
|
||||||
|
type NoInitForChunkedUploadErr {
|
||||||
|
segmentType: StreamSegmentTypeEnum!
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user