Compare commits
18 Commits
kat/suppor
...
172df69340
Author | SHA1 | Date | |
---|---|---|---|
172df69340 | |||
41c9701e18 | |||
16e79ed608 | |||
f401e1879b | |||
72b451d322 | |||
5350c46e0a | |||
1f5c5774e1 | |||
3b29502e7e | |||
abc7e9fd05 | |||
dd5ce77102 | |||
dabaa3d1e1 | |||
a6604a3a6d | |||
09a3e0e294 | |||
f20ca53a2a | |||
a2b912500c | |||
7de3d196ba | |||
6d5669aaf8 | |||
2c583509a2 |
273
src/index.tsx
273
src/index.tsx
@@ -122,6 +122,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 {
|
||||||
@@ -161,6 +162,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 +194,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 +226,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 +258,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 +290,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 +322,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 +354,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 +386,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 +418,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 +450,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 +482,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 +514,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 +546,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 +578,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 +610,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 +642,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 +674,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 +706,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 +738,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 +770,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 +802,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 +834,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 +866,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 +898,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;
|
||||||
@@ -905,6 +930,7 @@ export type FilterInput =
|
|||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
spinType: Array<Scalars["String"]["input"]>;
|
spinType: Array<Scalars["String"]["input"]>;
|
||||||
|
tableSize?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -936,6 +962,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 +1026,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 +1058,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 +1090,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,6 +1163,20 @@ 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: Scalars["Boolean"]["output"];
|
||||||
@@ -1096,7 +1186,7 @@ export type Mutation = {
|
|||||||
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"];
|
||||||
@@ -1152,6 +1242,11 @@ export type MutationSetSegmentDurationArgs = {
|
|||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type NoInitForChunkedUploadErr = {
|
||||||
|
__typename?: "NoInitForChunkedUploadErr";
|
||||||
|
segmentType: StreamSegmentTypeEnum;
|
||||||
|
};
|
||||||
|
|
||||||
export type PageInfoGql = {
|
export type PageInfoGql = {
|
||||||
__typename?: "PageInfoGQL";
|
__typename?: "PageInfoGQL";
|
||||||
endCursor?: Maybe<Scalars["String"]["output"]>;
|
endCursor?: Maybe<Scalars["String"]["output"]>;
|
||||||
@@ -1181,6 +1276,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",
|
||||||
@@ -1265,9 +1365,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 = {
|
||||||
@@ -1343,6 +1451,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 +1551,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 +1573,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 +1668,7 @@ export type GetDeployedConfigQuery = {
|
|||||||
devMode: boolean;
|
devMode: boolean;
|
||||||
environment: string;
|
environment: string;
|
||||||
firebase: boolean;
|
firebase: boolean;
|
||||||
|
minimumAllowedAppVersion: string;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1568,6 +1695,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<{
|
||||||
@@ -1627,6 +1755,17 @@ 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;
|
||||||
@@ -1663,7 +1802,17 @@ export type GetProfileImageUploadLinkMutationVariables = Exact<{
|
|||||||
export type GetProfileImageUploadLinkMutation = {
|
export type GetProfileImageUploadLinkMutation = {
|
||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
getProfileImageUploadLink: {
|
getProfileImageUploadLink: {
|
||||||
__typename?: "GetUploadLinkReturn";
|
__typename?: "GetProfileUploadLinkReturn";
|
||||||
|
value:
|
||||||
|
| {
|
||||||
|
__typename?: "GetProfileUploadLinkErrors";
|
||||||
|
error: {
|
||||||
|
__typename?: "TooManyProfileImageUploadsErr";
|
||||||
|
linksRequested: number;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
__typename?: "UploadLink";
|
||||||
uploadUrl: string;
|
uploadUrl: string;
|
||||||
headers: Array<{
|
headers: Array<{
|
||||||
__typename?: "Header";
|
__typename?: "Header";
|
||||||
@@ -1671,6 +1820,7 @@ export type GetProfileImageUploadLinkMutation = {
|
|||||||
value: string;
|
value: string;
|
||||||
} | null>;
|
} | null>;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export type EditProfileImageUriMutationVariables = Exact<{
|
export type EditProfileImageUriMutationVariables = Exact<{
|
||||||
@@ -1801,6 +1951,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 +1990,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;
|
||||||
@@ -2026,6 +2178,32 @@ export type GetUploadLinkMutation = {
|
|||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
getUploadLink: {
|
getUploadLink: {
|
||||||
__typename?: "GetUploadLinkReturn";
|
__typename?: "GetUploadLinkReturn";
|
||||||
|
value:
|
||||||
|
| {
|
||||||
|
__typename?: "GetUploadLinkErrors";
|
||||||
|
error:
|
||||||
|
| {
|
||||||
|
__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;
|
uploadUrl: string;
|
||||||
headers: Array<{
|
headers: Array<{
|
||||||
__typename?: "Header";
|
__typename?: "Header";
|
||||||
@@ -2033,6 +2211,11 @@ export type GetUploadLinkMutation = {
|
|||||||
value: string;
|
value: string;
|
||||||
} | null>;
|
} | null>;
|
||||||
};
|
};
|
||||||
|
stream?: {
|
||||||
|
__typename?: "UploadStreamGQL";
|
||||||
|
uploadCompletionCursor: number;
|
||||||
|
} | null;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export type GetHlsInitUploadLinkMutationVariables = Exact<{
|
export type GetHlsInitUploadLinkMutationVariables = Exact<{
|
||||||
@@ -2043,6 +2226,21 @@ export type GetHlsInitUploadLinkMutation = {
|
|||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
getHlsInitUploadLink: {
|
getHlsInitUploadLink: {
|
||||||
__typename?: "GetUploadLinkReturn";
|
__typename?: "GetUploadLinkReturn";
|
||||||
|
value:
|
||||||
|
| {
|
||||||
|
__typename?: "GetUploadLinkErrors";
|
||||||
|
error:
|
||||||
|
| { __typename?: "MustHaveSetForUploadLinkErr" }
|
||||||
|
| {
|
||||||
|
__typename?: "NoInitForChunkedUploadErr";
|
||||||
|
segmentType: StreamSegmentTypeEnum;
|
||||||
|
}
|
||||||
|
| { __typename?: "ProcessingFailedErr" }
|
||||||
|
| { __typename?: "SegmentAlreadyUploadedErr" }
|
||||||
|
| { __typename?: "TooManyProfileImageUploadsErr" };
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
__typename?: "UploadLink";
|
||||||
uploadUrl: string;
|
uploadUrl: string;
|
||||||
headers: Array<{
|
headers: Array<{
|
||||||
__typename?: "Header";
|
__typename?: "Header";
|
||||||
@@ -2050,6 +2248,7 @@ export type GetHlsInitUploadLinkMutation = {
|
|||||||
value: string;
|
value: string;
|
||||||
} | null>;
|
} | null>;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
export type SetSegmentDurationMutationVariables = Exact<{
|
export type SetSegmentDurationMutationVariables = Exact<{
|
||||||
@@ -2210,6 +2409,7 @@ export const GetDeployedConfigDocument = gql`
|
|||||||
devMode
|
devMode
|
||||||
environment
|
environment
|
||||||
firebase
|
firebase
|
||||||
|
minimumAllowedAppVersion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -2304,6 +2504,7 @@ export const GetFeedDocument = gql`
|
|||||||
stream {
|
stream {
|
||||||
isCompleted
|
isCompleted
|
||||||
}
|
}
|
||||||
|
tableSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
tagClasses {
|
||||||
name
|
name
|
||||||
@@ -2463,7 +2664,7 @@ export type GetVideoMakePercentageIntervalsQueryResult = Apollo.QueryResult<
|
|||||||
export const GetShotsDocument = gql`
|
export const GetShotsDocument = gql`
|
||||||
query GetShots(
|
query GetShots(
|
||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
$shotsPagination: GetShotsPagination = null
|
$shotsPagination: GetShotsPagination
|
||||||
$limit: Int
|
$limit: Int
|
||||||
$includeCreatedAt: Boolean! = false
|
$includeCreatedAt: Boolean! = false
|
||||||
$includeUpdatedAt: Boolean! = false
|
$includeUpdatedAt: Boolean! = false
|
||||||
@@ -2490,6 +2691,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) {
|
||||||
@@ -2657,12 +2866,23 @@ 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) {
|
||||||
|
value {
|
||||||
|
... on UploadLink {
|
||||||
uploadUrl
|
uploadUrl
|
||||||
headers {
|
headers {
|
||||||
key
|
key
|
||||||
value
|
value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
... on GetProfileUploadLinkErrors {
|
||||||
|
error {
|
||||||
|
... on TooManyProfileImageUploadsErr {
|
||||||
|
linksRequested
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
export type GetProfileImageUploadLinkMutationFn = Apollo.MutationFunction<
|
export type GetProfileImageUploadLinkMutationFn = Apollo.MutationFunction<
|
||||||
@@ -3134,6 +3354,7 @@ export const GetVideoUpdatePageDetailsDocument = gql`
|
|||||||
totalShots
|
totalShots
|
||||||
makePercentage
|
makePercentage
|
||||||
elapsedTime
|
elapsedTime
|
||||||
|
tableSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
tagClasses {
|
||||||
name
|
name
|
||||||
@@ -3273,6 +3494,7 @@ export const GetVideoDetailsDocument = gql`
|
|||||||
totalShotsMade
|
totalShotsMade
|
||||||
createdAt
|
createdAt
|
||||||
updatedAt
|
updatedAt
|
||||||
|
tableSize
|
||||||
owner {
|
owner {
|
||||||
id
|
id
|
||||||
firebaseUid
|
firebaseUid
|
||||||
@@ -3922,12 +4144,38 @@ 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) {
|
||||||
|
value {
|
||||||
|
... on UploadLink {
|
||||||
uploadUrl
|
uploadUrl
|
||||||
headers {
|
headers {
|
||||||
key
|
key
|
||||||
value
|
value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
... on GetUploadLinkErrors {
|
||||||
|
error {
|
||||||
|
... on MustHaveSetForUploadLinkErr {
|
||||||
|
resolution
|
||||||
|
framesPerSecond
|
||||||
|
}
|
||||||
|
... on SegmentAlreadyUploadedErr {
|
||||||
|
segmentId
|
||||||
|
}
|
||||||
|
... on ProcessingFailedErr {
|
||||||
|
processing {
|
||||||
|
status
|
||||||
|
errors {
|
||||||
|
message
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stream {
|
||||||
|
uploadCompletionCursor
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
export type GetUploadLinkMutationFn = Apollo.MutationFunction<
|
export type GetUploadLinkMutationFn = Apollo.MutationFunction<
|
||||||
@@ -3977,12 +4225,23 @@ 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) {
|
||||||
|
value {
|
||||||
|
... on UploadLink {
|
||||||
uploadUrl
|
uploadUrl
|
||||||
headers {
|
headers {
|
||||||
key
|
key
|
||||||
value
|
value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
... on GetUploadLinkErrors {
|
||||||
|
error {
|
||||||
|
... on NoInitForChunkedUploadErr {
|
||||||
|
segmentType
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
export type GetHlsInitUploadLinkMutationFn = Apollo.MutationFunction<
|
export type GetHlsInitUploadLinkMutationFn = Apollo.MutationFunction<
|
||||||
|
@@ -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
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
query GetShots(
|
query GetShots(
|
||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
$shotsPagination: GetShotsPagination = null
|
$shotsPagination: GetShotsPagination
|
||||||
$limit: Int
|
$limit: Int
|
||||||
$includeCreatedAt: Boolean! = false
|
$includeCreatedAt: Boolean! = false
|
||||||
$includeUpdatedAt: Boolean! = false
|
$includeUpdatedAt: Boolean! = false
|
||||||
@@ -27,6 +27,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) {
|
||||||
|
@@ -1,11 +1,22 @@
|
|||||||
mutation getProfileImageUploadLink($fileExt: String = ".png") {
|
mutation getProfileImageUploadLink($fileExt: String = ".png") {
|
||||||
getProfileImageUploadLink(fileExt: $fileExt) {
|
getProfileImageUploadLink(fileExt: $fileExt) {
|
||||||
|
value {
|
||||||
|
... on UploadLink {
|
||||||
uploadUrl
|
uploadUrl
|
||||||
headers {
|
headers {
|
||||||
key
|
key
|
||||||
value
|
value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
... on GetProfileUploadLinkErrors {
|
||||||
|
error {
|
||||||
|
... on TooManyProfileImageUploadsErr {
|
||||||
|
linksRequested
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mutation editProfileImageUri($profileImageUri: String!) {
|
mutation editProfileImageUri($profileImageUri: String!) {
|
||||||
|
@@ -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
|
||||||
|
@@ -6,22 +6,59 @@ 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) {
|
||||||
|
value {
|
||||||
|
... on UploadLink {
|
||||||
uploadUrl
|
uploadUrl
|
||||||
headers {
|
headers {
|
||||||
key
|
key
|
||||||
value
|
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) {
|
||||||
|
value {
|
||||||
|
... on UploadLink {
|
||||||
uploadUrl
|
uploadUrl
|
||||||
headers {
|
headers {
|
||||||
key
|
key
|
||||||
value
|
value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
... on GetUploadLinkErrors {
|
||||||
|
error {
|
||||||
|
... on NoInitForChunkedUploadErr {
|
||||||
|
segmentType
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mutation SetSegmentDuration(
|
mutation SetSegmentDuration(
|
||||||
|
@@ -96,6 +96,7 @@ 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
|
||||||
@@ -109,7 +110,10 @@ input FilterInput @oneOf {
|
|||||||
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 {
|
||||||
@@ -152,6 +156,7 @@ type DeployedConfigGQL {
|
|||||||
firebase: Boolean!
|
firebase: Boolean!
|
||||||
devMode: Boolean!
|
devMode: Boolean!
|
||||||
environment: String!
|
environment: String!
|
||||||
|
minimumAllowedAppVersion: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
type MakePercentageIntervalGQL {
|
type MakePercentageIntervalGQL {
|
||||||
@@ -252,6 +257,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!]!
|
||||||
@@ -429,7 +435,9 @@ 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(shotId: Int!, annotationName: String!): Boolean!
|
||||||
getProfileImageUploadLink(fileExt: String = ".png"): GetUploadLinkReturn!
|
getProfileImageUploadLink(
|
||||||
|
fileExt: String = ".png"
|
||||||
|
): GetProfileUploadLinkReturn!
|
||||||
editProfileImageUri(profileImageUri: String!): UserGQL!
|
editProfileImageUri(profileImageUri: String!): UserGQL!
|
||||||
createUploadStream(
|
createUploadStream(
|
||||||
videoMetadata: VideoMetadataInput!
|
videoMetadata: VideoMetadataInput!
|
||||||
@@ -451,10 +459,17 @@ input CreateBucketSetInput {
|
|||||||
buckets: [BucketInputGQL!]!
|
buckets: [BucketInputGQL!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetUploadLinkReturn {
|
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 +477,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 +494,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 +525,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