Compare commits
48 Commits
kat/create
...
kat/expose
Author | SHA1 | Date | |
---|---|---|---|
f9b02f65e0 | |||
ba36bc709c | |||
4005416233 | |||
db4a6315cd | |||
af38fdea64 | |||
172df69340 | |||
a030a0ef16 | |||
7a6cc2739f | |||
41c9701e18 | |||
16e79ed608 | |||
f401e1879b | |||
72b451d322 | |||
5350c46e0a | |||
1f5c5774e1 | |||
3b29502e7e | |||
abc7e9fd05 | |||
dd5ce77102 | |||
dabaa3d1e1 | |||
a6604a3a6d | |||
09a3e0e294 | |||
f20ca53a2a | |||
a2b912500c | |||
7de3d196ba | |||
6d5669aaf8 | |||
2c583509a2 | |||
3480637600 | |||
f4665f51b1 | |||
810212dc12 | |||
c3210df517 | |||
9f5c354433 | |||
23d9fef2b1 | |||
df3087de7d | |||
5dd8318dab | |||
56c8bcce20 | |||
1c4961db5b | |||
5e0d01ea5b | |||
e8938621fc | |||
8c8dcdd8e1 | |||
5085c9af90 | |||
85bc743c8e | |||
b8efa644e3 | |||
c18628a4ca | |||
535e24c9c2 | |||
04308b1003 | |||
43c626141e | |||
c49266e4c1 | |||
6677b9232f | |||
76e792be88 |
460
src/index.tsx
460
src/index.tsx
@@ -30,6 +30,18 @@ export type Scalars = {
|
|||||||
Float: { input: number; output: number };
|
Float: { input: number; output: number };
|
||||||
/** Date with time (isoformat) */
|
/** Date with time (isoformat) */
|
||||||
DateTime: { input: any; output: any };
|
DateTime: { input: any; output: any };
|
||||||
|
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf). */
|
||||||
|
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 = {
|
||||||
@@ -102,6 +114,10 @@ export type CreateUploadStreamReturn = {
|
|||||||
videoId: Scalars["Int"]["output"];
|
videoId: Scalars["Int"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type CreatedAfter =
|
||||||
|
| { createdAt: Scalars["DateTime"]["input"]; videoId?: never }
|
||||||
|
| { createdAt?: never; videoId: Scalars["Int"]["input"] };
|
||||||
|
|
||||||
export type CueObjectFeaturesGql = {
|
export type CueObjectFeaturesGql = {
|
||||||
__typename?: "CueObjectFeaturesGQL";
|
__typename?: "CueObjectFeaturesGQL";
|
||||||
cueBallSpeed?: Maybe<Scalars["Float"]["output"]>;
|
cueBallSpeed?: Maybe<Scalars["Float"]["output"]>;
|
||||||
@@ -116,6 +132,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 {
|
||||||
@@ -124,6 +141,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"];
|
||||||
};
|
};
|
||||||
@@ -155,6 +182,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;
|
||||||
@@ -186,6 +214,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;
|
||||||
@@ -217,6 +246,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;
|
||||||
@@ -248,6 +278,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;
|
||||||
@@ -279,6 +310,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;
|
||||||
@@ -310,6 +342,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;
|
||||||
@@ -341,6 +374,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;
|
||||||
@@ -372,6 +406,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;
|
||||||
@@ -403,6 +438,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;
|
||||||
@@ -434,6 +470,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;
|
||||||
@@ -465,6 +502,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;
|
||||||
@@ -496,6 +534,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;
|
||||||
@@ -527,6 +566,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;
|
||||||
@@ -558,6 +598,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;
|
||||||
@@ -589,6 +630,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;
|
||||||
@@ -620,6 +662,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;
|
||||||
@@ -651,6 +694,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;
|
||||||
@@ -682,6 +726,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;
|
||||||
@@ -713,6 +758,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;
|
||||||
@@ -744,6 +790,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;
|
||||||
@@ -775,6 +822,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;
|
||||||
@@ -806,6 +854,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;
|
||||||
@@ -837,6 +886,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;
|
||||||
@@ -868,6 +918,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;
|
||||||
@@ -899,6 +950,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;
|
||||||
@@ -930,6 +982,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;
|
||||||
@@ -961,6 +1046,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;
|
||||||
@@ -992,6 +1078,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"]>;
|
||||||
@@ -1023,16 +1110,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 = {
|
||||||
|
createdAfter: CreatedAfter;
|
||||||
|
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>;
|
||||||
uploadUrl: Scalars["String"]["output"];
|
value: UploadLinkGetUploadLinkErrors;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type HlsPlaylistGql = {
|
export type HlsPlaylistGql = {
|
||||||
@@ -1075,20 +1183,41 @@ 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: 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"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MutationAddAnnotationToShotArgs = {
|
||||||
|
annotationName: Scalars["String"]["input"];
|
||||||
|
notes?: InputMaybe<Scalars["String"]["input"]>;
|
||||||
|
shotId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type MutationCreateBucketSetArgs = {
|
export type MutationCreateBucketSetArgs = {
|
||||||
params: CreateBucketSetInput;
|
params: CreateBucketSetInput;
|
||||||
};
|
};
|
||||||
@@ -1134,6 +1263,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"]>;
|
||||||
@@ -1163,6 +1302,22 @@ export type PocketingIntentionFeaturesGql = {
|
|||||||
targetPocketDistance?: Maybe<Scalars["Float"]["output"]>;
|
targetPocketDistance?: Maybe<Scalars["Float"]["output"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type ProcessingFailedErr = {
|
||||||
|
__typename?: "ProcessingFailedErr";
|
||||||
|
processing: VideoProcessingGql;
|
||||||
|
};
|
||||||
|
|
||||||
|
export enum ProcessingStatusEnum {
|
||||||
|
Created = "CREATED",
|
||||||
|
Failed = "FAILED",
|
||||||
|
Queued = "QUEUED",
|
||||||
|
ReextractingFeatures = "REEXTRACTING_FEATURES",
|
||||||
|
Running = "RUNNING",
|
||||||
|
Started = "STARTED",
|
||||||
|
Succeeded = "SUCCEEDED",
|
||||||
|
Suspended = "SUSPENDED",
|
||||||
|
}
|
||||||
|
|
||||||
export type Query = {
|
export type Query = {
|
||||||
__typename?: "Query";
|
__typename?: "Query";
|
||||||
getAggregatedShotMetrics: Array<AggregateResultGql>;
|
getAggregatedShotMetrics: Array<AggregateResultGql>;
|
||||||
@@ -1179,6 +1334,7 @@ export type Query = {
|
|||||||
getVideo: VideoGql;
|
getVideo: VideoGql;
|
||||||
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
|
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
|
||||||
getVideos: Array<VideoGql>;
|
getVideos: Array<VideoGql>;
|
||||||
|
waitFor: Scalars["Float"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
export type QueryGetAggregatedShotMetricsArgs = {
|
export type QueryGetAggregatedShotMetricsArgs = {
|
||||||
@@ -1193,8 +1349,14 @@ 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"];
|
||||||
|
shotsPagination?: InputMaybe<GetShotsPagination>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type QueryGetUserArgs = {
|
export type QueryGetUserArgs = {
|
||||||
@@ -1215,6 +1377,7 @@ export type QueryGetUsernamesArgs = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export type QueryGetVideoArgs = {
|
export type QueryGetVideoArgs = {
|
||||||
|
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1227,10 +1390,22 @@ export type QueryGetVideosArgs = {
|
|||||||
videoIds: Array<Scalars["Int"]["input"]>;
|
videoIds: Array<Scalars["Int"]["input"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type QueryWaitForArgs = {
|
||||||
|
duration: Scalars["Float"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
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 = {
|
||||||
@@ -1242,6 +1417,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;
|
||||||
@@ -1278,6 +1454,7 @@ export type ShotGql = {
|
|||||||
startFrame: Scalars["Int"]["output"];
|
startFrame: Scalars["Int"]["output"];
|
||||||
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
user?: Maybe<UserGql>;
|
user?: Maybe<UserGql>;
|
||||||
|
video?: Maybe<VideoGql>;
|
||||||
videoId: Scalars["Int"]["output"];
|
videoId: Scalars["Int"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1291,6 +1468,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"]>;
|
||||||
@@ -1305,6 +1491,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"]>;
|
||||||
@@ -1388,6 +1591,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"];
|
||||||
@@ -1409,7 +1613,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"]>;
|
||||||
};
|
};
|
||||||
@@ -1424,6 +1628,17 @@ export type VideoProcessingErrorGql = {
|
|||||||
export type VideoProcessingGql = {
|
export type VideoProcessingGql = {
|
||||||
__typename?: "VideoProcessingGQL";
|
__typename?: "VideoProcessingGQL";
|
||||||
errors: Array<VideoProcessingErrorGql>;
|
errors: Array<VideoProcessingErrorGql>;
|
||||||
|
status: ProcessingStatusEnum;
|
||||||
|
statuses: Array<VideoProcessingStatusGql>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type VideoProcessingStatusGql = {
|
||||||
|
__typename?: "VideoProcessingStatusGQL";
|
||||||
|
appVersion: Scalars["String"]["output"];
|
||||||
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
|
sequenceId: Scalars["Int"]["output"];
|
||||||
|
status: ProcessingStatusEnum;
|
||||||
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type VideoResolution = {
|
export type VideoResolution = {
|
||||||
@@ -1493,6 +1708,7 @@ export type GetDeployedConfigQuery = {
|
|||||||
devMode: boolean;
|
devMode: boolean;
|
||||||
environment: string;
|
environment: string;
|
||||||
firebase: boolean;
|
firebase: boolean;
|
||||||
|
minimumAllowedAppVersion: string;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1519,6 +1735,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<{
|
||||||
@@ -1551,6 +1768,8 @@ export type GetVideoMakePercentageIntervalsQuery = {
|
|||||||
|
|
||||||
export type GetShotsQueryVariables = Exact<{
|
export type GetShotsQueryVariables = Exact<{
|
||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
|
shotsPagination?: InputMaybe<GetShotsPagination>;
|
||||||
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
||||||
includeCreatedAt?: Scalars["Boolean"]["input"];
|
includeCreatedAt?: Scalars["Boolean"]["input"];
|
||||||
includeUpdatedAt?: Scalars["Boolean"]["input"];
|
includeUpdatedAt?: Scalars["Boolean"]["input"];
|
||||||
includeCueObjectFeatures?: Scalars["Boolean"]["input"];
|
includeCueObjectFeatures?: Scalars["Boolean"]["input"];
|
||||||
@@ -1576,6 +1795,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;
|
||||||
@@ -1612,13 +1842,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>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1678,6 +1919,7 @@ export type GetUsernamesQuery = {
|
|||||||
|
|
||||||
export type GetStreamMonitoringDetailsQueryVariables = Exact<{
|
export type GetStreamMonitoringDetailsQueryVariables = Exact<{
|
||||||
videoId: Scalars["Int"]["input"];
|
videoId: Scalars["Int"]["input"];
|
||||||
|
debuggingJson?: InputMaybe<Scalars["JSON"]["input"]>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export type GetStreamMonitoringDetailsQuery = {
|
export type GetStreamMonitoringDetailsQuery = {
|
||||||
@@ -1749,6 +1991,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;
|
||||||
@@ -1787,6 +2030,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;
|
||||||
@@ -1811,13 +2055,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;
|
||||||
@@ -1827,6 +2069,10 @@ export type GetVideosQuery = {
|
|||||||
framesPerSecond?: number | null;
|
framesPerSecond?: number | null;
|
||||||
}>;
|
}>;
|
||||||
} | null;
|
} | null;
|
||||||
|
playlist?: {
|
||||||
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
segmentDurations: Array<number>;
|
||||||
|
} | null;
|
||||||
}>;
|
}>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1845,6 +2091,7 @@ export type GetVideoQuery = {
|
|||||||
} | null;
|
} | null;
|
||||||
homographyHistory: Array<{
|
homographyHistory: Array<{
|
||||||
__typename?: "HomographyInfoGQL";
|
__typename?: "HomographyInfoGQL";
|
||||||
|
frameIndex: number;
|
||||||
crop: {
|
crop: {
|
||||||
__typename?: "BoundingBoxGQL";
|
__typename?: "BoundingBoxGQL";
|
||||||
left: number;
|
left: number;
|
||||||
@@ -1931,6 +2178,7 @@ export type GetVideoForClipTimesQuery = {
|
|||||||
getVideo: {
|
getVideo: {
|
||||||
__typename?: "VideoGQL";
|
__typename?: "VideoGQL";
|
||||||
id: number;
|
id: number;
|
||||||
|
framesPerSecond: number;
|
||||||
playlist?: {
|
playlist?: {
|
||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
@@ -1972,12 +2220,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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1989,12 +2268,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>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -2058,6 +2353,7 @@ export type GetUploadStreamsWithDetailsQuery = {
|
|||||||
isCompleted: boolean;
|
isCompleted: boolean;
|
||||||
lastIntendedSegmentBound?: number | null;
|
lastIntendedSegmentBound?: number | null;
|
||||||
uploadCompletionCursor: number;
|
uploadCompletionCursor: number;
|
||||||
|
uploadsCompleted: number;
|
||||||
} | null;
|
} | null;
|
||||||
}>;
|
}>;
|
||||||
pageInfo: {
|
pageInfo: {
|
||||||
@@ -2155,6 +2451,7 @@ export const GetDeployedConfigDocument = gql`
|
|||||||
devMode
|
devMode
|
||||||
environment
|
environment
|
||||||
firebase
|
firebase
|
||||||
|
minimumAllowedAppVersion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -2249,6 +2546,7 @@ export const GetFeedDocument = gql`
|
|||||||
stream {
|
stream {
|
||||||
isCompleted
|
isCompleted
|
||||||
}
|
}
|
||||||
|
tableSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
tagClasses {
|
||||||
name
|
name
|
||||||
@@ -2408,6 +2706,8 @@ export type GetVideoMakePercentageIntervalsQueryResult = Apollo.QueryResult<
|
|||||||
export const GetShotsDocument = gql`
|
export const GetShotsDocument = gql`
|
||||||
query GetShots(
|
query GetShots(
|
||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
|
$shotsPagination: GetShotsPagination
|
||||||
|
$limit: Int
|
||||||
$includeCreatedAt: Boolean! = false
|
$includeCreatedAt: Boolean! = false
|
||||||
$includeUpdatedAt: Boolean! = false
|
$includeUpdatedAt: Boolean! = false
|
||||||
$includeCueObjectFeatures: Boolean! = false
|
$includeCueObjectFeatures: Boolean! = false
|
||||||
@@ -2420,7 +2720,11 @@ export const GetShotsDocument = gql`
|
|||||||
$includeMake: Boolean! = false
|
$includeMake: Boolean! = false
|
||||||
$includeIntendedPocketType: Boolean! = false
|
$includeIntendedPocketType: Boolean! = false
|
||||||
) {
|
) {
|
||||||
getShots(filterInput: $filterInput) {
|
getShots(
|
||||||
|
filterInput: $filterInput
|
||||||
|
shotsPagination: $shotsPagination
|
||||||
|
limit: $limit
|
||||||
|
) {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
startFrame
|
startFrame
|
||||||
@@ -2429,6 +2733,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) {
|
||||||
@@ -2460,6 +2772,8 @@ export const GetShotsDocument = gql`
|
|||||||
* const { data, loading, error } = useGetShotsQuery({
|
* const { data, loading, error } = useGetShotsQuery({
|
||||||
* variables: {
|
* variables: {
|
||||||
* filterInput: // value for 'filterInput'
|
* filterInput: // value for 'filterInput'
|
||||||
|
* shotsPagination: // value for 'shotsPagination'
|
||||||
|
* limit: // value for 'limit'
|
||||||
* includeCreatedAt: // value for 'includeCreatedAt'
|
* includeCreatedAt: // value for 'includeCreatedAt'
|
||||||
* includeUpdatedAt: // value for 'includeUpdatedAt'
|
* includeUpdatedAt: // value for 'includeUpdatedAt'
|
||||||
* includeCueObjectFeatures: // value for 'includeCueObjectFeatures'
|
* includeCueObjectFeatures: // value for 'includeCueObjectFeatures'
|
||||||
@@ -2594,10 +2908,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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2931,8 +3256,8 @@ export type GetUsernamesQueryResult = Apollo.QueryResult<
|
|||||||
GetUsernamesQueryVariables
|
GetUsernamesQueryVariables
|
||||||
>;
|
>;
|
||||||
export const GetStreamMonitoringDetailsDocument = gql`
|
export const GetStreamMonitoringDetailsDocument = gql`
|
||||||
query GetStreamMonitoringDetails($videoId: Int!) {
|
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
||||||
getVideo(videoId: $videoId) {
|
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
||||||
id
|
id
|
||||||
totalShots
|
totalShots
|
||||||
makePercentage
|
makePercentage
|
||||||
@@ -3010,6 +3335,7 @@ export const GetStreamMonitoringDetailsDocument = gql`
|
|||||||
* const { data, loading, error } = useGetStreamMonitoringDetailsQuery({
|
* const { data, loading, error } = useGetStreamMonitoringDetailsQuery({
|
||||||
* variables: {
|
* variables: {
|
||||||
* videoId: // value for 'videoId'
|
* videoId: // value for 'videoId'
|
||||||
|
* debuggingJson: // value for 'debuggingJson'
|
||||||
* },
|
* },
|
||||||
* });
|
* });
|
||||||
*/
|
*/
|
||||||
@@ -3070,6 +3396,7 @@ export const GetVideoUpdatePageDetailsDocument = gql`
|
|||||||
totalShots
|
totalShots
|
||||||
makePercentage
|
makePercentage
|
||||||
elapsedTime
|
elapsedTime
|
||||||
|
tableSize
|
||||||
tags {
|
tags {
|
||||||
tagClasses {
|
tagClasses {
|
||||||
name
|
name
|
||||||
@@ -3209,6 +3536,7 @@ export const GetVideoDetailsDocument = gql`
|
|||||||
totalShotsMade
|
totalShotsMade
|
||||||
createdAt
|
createdAt
|
||||||
updatedAt
|
updatedAt
|
||||||
|
tableSize
|
||||||
owner {
|
owner {
|
||||||
id
|
id
|
||||||
firebaseUid
|
firebaseUid
|
||||||
@@ -3294,11 +3622,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
|
||||||
@@ -3307,6 +3634,9 @@ export const GetVideosDocument = gql`
|
|||||||
framesPerSecond
|
framesPerSecond
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
playlist {
|
||||||
|
segmentDurations
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
@@ -3379,6 +3709,7 @@ export const GetVideoDocument = gql`
|
|||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
homographyHistory {
|
homographyHistory {
|
||||||
|
frameIndex
|
||||||
crop {
|
crop {
|
||||||
left
|
left
|
||||||
top
|
top
|
||||||
@@ -3720,6 +4051,7 @@ export const GetVideoForClipTimesDocument = gql`
|
|||||||
query GetVideoForClipTimes($videoId: Int!) {
|
query GetVideoForClipTimes($videoId: Int!) {
|
||||||
getVideo(videoId: $videoId) {
|
getVideo(videoId: $videoId) {
|
||||||
id
|
id
|
||||||
|
framesPerSecond
|
||||||
playlist {
|
playlist {
|
||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
@@ -3856,10 +4188,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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3911,10 +4269,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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4172,6 +4541,7 @@ export const GetUploadStreamsWithDetailsDocument = gql`
|
|||||||
isCompleted
|
isCompleted
|
||||||
lastIntendedSegmentBound
|
lastIntendedSegmentBound
|
||||||
uploadCompletionCursor
|
uploadCompletionCursor
|
||||||
|
uploadsCompleted
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pageInfo {
|
pageInfo {
|
||||||
|
@@ -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,5 +1,7 @@
|
|||||||
query GetShots(
|
query GetShots(
|
||||||
$filterInput: FilterInput!
|
$filterInput: FilterInput!
|
||||||
|
$shotsPagination: GetShotsPagination
|
||||||
|
$limit: Int
|
||||||
$includeCreatedAt: Boolean! = false
|
$includeCreatedAt: Boolean! = false
|
||||||
$includeUpdatedAt: Boolean! = false
|
$includeUpdatedAt: Boolean! = false
|
||||||
$includeCueObjectFeatures: Boolean! = false
|
$includeCueObjectFeatures: Boolean! = false
|
||||||
@@ -12,7 +14,11 @@ query GetShots(
|
|||||||
$includeMake: Boolean! = false
|
$includeMake: Boolean! = false
|
||||||
$includeIntendedPocketType: Boolean! = false
|
$includeIntendedPocketType: Boolean! = false
|
||||||
) {
|
) {
|
||||||
getShots(filterInput: $filterInput) {
|
getShots(
|
||||||
|
filterInput: $filterInput
|
||||||
|
shotsPagination: $shotsPagination
|
||||||
|
limit: $limit
|
||||||
|
) {
|
||||||
id
|
id
|
||||||
videoId
|
videoId
|
||||||
startFrame
|
startFrame
|
||||||
@@ -21,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,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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
query GetStreamMonitoringDetails($videoId: Int!) {
|
query GetStreamMonitoringDetails($videoId: Int!, $debuggingJson: JSON) {
|
||||||
getVideo(videoId: $videoId) {
|
getVideo(videoId: $videoId, debuggingJson: $debuggingJson) {
|
||||||
id
|
id
|
||||||
totalShots
|
totalShots
|
||||||
makePercentage
|
makePercentage
|
||||||
@@ -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
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -139,6 +143,7 @@ query GetVideo($videoId: Int!) {
|
|||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
homographyHistory {
|
homographyHistory {
|
||||||
|
frameIndex
|
||||||
crop {
|
crop {
|
||||||
left
|
left
|
||||||
top
|
top
|
||||||
@@ -215,6 +220,7 @@ query GetMedianRunForVideo($videoId: Int!) {
|
|||||||
query GetVideoForClipTimes($videoId: Int!) {
|
query GetVideoForClipTimes($videoId: Int!) {
|
||||||
getVideo(videoId: $videoId) {
|
getVideo(videoId: $videoId) {
|
||||||
id
|
id
|
||||||
|
framesPerSecond
|
||||||
playlist {
|
playlist {
|
||||||
segmentDurations
|
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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -72,6 +109,7 @@ query GetUploadStreamsWithDetails(
|
|||||||
isCompleted
|
isCompleted
|
||||||
lastIntendedSegmentBound
|
lastIntendedSegmentBound
|
||||||
uploadCompletionCursor
|
uploadCompletionCursor
|
||||||
|
uploadsCompleted
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pageInfo {
|
pageInfo {
|
||||||
|
169
src/schema.gql
169
src/schema.gql
@@ -4,12 +4,17 @@ type Query {
|
|||||||
): [AggregateResultGQL!]!
|
): [AggregateResultGQL!]!
|
||||||
getBucketSet(keyName: String!): BucketSetGQL
|
getBucketSet(keyName: String!): BucketSetGQL
|
||||||
getDeployedConfig: DeployedConfigGQL!
|
getDeployedConfig: DeployedConfigGQL!
|
||||||
|
waitFor(duration: Float!): Float!
|
||||||
getVideoMakePercentageIntervals(
|
getVideoMakePercentageIntervals(
|
||||||
videoId: ID!
|
videoId: ID!
|
||||||
intervalDuration: Int! = 300
|
intervalDuration: Int! = 300
|
||||||
): [MakePercentageIntervalGQL!]!
|
): [MakePercentageIntervalGQL!]!
|
||||||
getShots(filterInput: FilterInput!): [ShotGQL!]!
|
getShots(
|
||||||
getShotAnnotationTypes: [ShotAnnotationTypeGQL!]!
|
filterInput: FilterInput!
|
||||||
|
shotsPagination: GetShotsPagination = null
|
||||||
|
limit: Int! = 500
|
||||||
|
): [ShotGQL!]!
|
||||||
|
getShotAnnotationTypes(errorTypes: Boolean = false): [ShotAnnotationTypeGQL!]!
|
||||||
getUser(userId: Int!): UserGQL
|
getUser(userId: Int!): UserGQL
|
||||||
getLoggedInUser: UserGQL
|
getLoggedInUser: UserGQL
|
||||||
getUsernames(
|
getUsernames(
|
||||||
@@ -25,7 +30,7 @@ type Query {
|
|||||||
filters: VideoFilterInput = null
|
filters: VideoFilterInput = null
|
||||||
): VideoHistoryGQL!
|
): VideoHistoryGQL!
|
||||||
getUserTags: [TagGQL!]!
|
getUserTags: [TagGQL!]!
|
||||||
getVideo(videoId: Int!): VideoGQL!
|
getVideo(videoId: Int!, debuggingJson: JSON = null): VideoGQL!
|
||||||
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -91,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
|
||||||
@@ -104,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 {
|
||||||
@@ -147,6 +156,7 @@ type DeployedConfigGQL {
|
|||||||
firebase: Boolean!
|
firebase: Boolean!
|
||||||
devMode: Boolean!
|
devMode: Boolean!
|
||||||
environment: String!
|
environment: String!
|
||||||
|
minimumAllowedAppVersion: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
type MakePercentageIntervalGQL {
|
type MakePercentageIntervalGQL {
|
||||||
@@ -168,6 +178,7 @@ type ShotGQL {
|
|||||||
user: UserGQL
|
user: UserGQL
|
||||||
annotations: [ShotAnnotationGQL!]!
|
annotations: [ShotAnnotationGQL!]!
|
||||||
falsePositiveScore: Float
|
falsePositiveScore: Float
|
||||||
|
video: VideoGQL
|
||||||
}
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@@ -220,6 +231,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
|
||||||
}
|
}
|
||||||
@@ -229,15 +241,6 @@ type ShotAnnotationTypeGQL {
|
|||||||
name: String!
|
name: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
type UserPlayTimeGQL {
|
|
||||||
totalSeconds: Float!
|
|
||||||
}
|
|
||||||
|
|
||||||
type VideoHistoryGQL {
|
|
||||||
videos: [VideoGQL!]!
|
|
||||||
pageInfo: PageInfoGQL!
|
|
||||||
}
|
|
||||||
|
|
||||||
type VideoGQL {
|
type VideoGQL {
|
||||||
id: Int!
|
id: Int!
|
||||||
owner: UserGQL
|
owner: UserGQL
|
||||||
@@ -255,6 +258,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!]!
|
||||||
@@ -356,6 +360,8 @@ type IntPoint2D {
|
|||||||
|
|
||||||
type VideoProcessingGQL {
|
type VideoProcessingGQL {
|
||||||
errors: [VideoProcessingErrorGQL!]!
|
errors: [VideoProcessingErrorGQL!]!
|
||||||
|
status: ProcessingStatusEnum!
|
||||||
|
statuses: [VideoProcessingStatusGQL!]!
|
||||||
}
|
}
|
||||||
|
|
||||||
type VideoProcessingErrorGQL {
|
type VideoProcessingErrorGQL {
|
||||||
@@ -364,6 +370,44 @@ type VideoProcessingErrorGQL {
|
|||||||
endSegmentIndex: Int
|
endSegmentIndex: Int
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum ProcessingStatusEnum {
|
||||||
|
STARTED
|
||||||
|
FAILED
|
||||||
|
SUCCEEDED
|
||||||
|
SUSPENDED
|
||||||
|
CREATED
|
||||||
|
QUEUED
|
||||||
|
RUNNING
|
||||||
|
REEXTRACTING_FEATURES
|
||||||
|
}
|
||||||
|
|
||||||
|
type VideoProcessingStatusGQL {
|
||||||
|
status: ProcessingStatusEnum!
|
||||||
|
appVersion: String!
|
||||||
|
sequenceId: Int!
|
||||||
|
createdAt: DateTime
|
||||||
|
updatedAt: DateTime
|
||||||
|
}
|
||||||
|
|
||||||
|
input GetShotsPagination {
|
||||||
|
createdAfter: CreatedAfter!
|
||||||
|
startFrameAfter: Int!
|
||||||
|
}
|
||||||
|
|
||||||
|
input CreatedAfter @oneOf {
|
||||||
|
videoId: Int
|
||||||
|
createdAt: DateTime
|
||||||
|
}
|
||||||
|
|
||||||
|
type UserPlayTimeGQL {
|
||||||
|
totalSeconds: Float!
|
||||||
|
}
|
||||||
|
|
||||||
|
type VideoHistoryGQL {
|
||||||
|
videos: [VideoGQL!]!
|
||||||
|
pageInfo: PageInfoGQL!
|
||||||
|
}
|
||||||
|
|
||||||
type PageInfoGQL {
|
type PageInfoGQL {
|
||||||
hasNextPage: Boolean!
|
hasNextPage: Boolean!
|
||||||
endCursor: String
|
endCursor: String
|
||||||
@@ -380,10 +424,25 @@ type TagGQL {
|
|||||||
group: String
|
group: String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"""
|
||||||
|
The `JSON` scalar type represents JSON values as specified by [ECMA-404](https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf).
|
||||||
|
"""
|
||||||
|
scalar JSON
|
||||||
|
@specifiedBy(
|
||||||
|
url: "https://ecma-international.org/wp-content/uploads/ECMA-404_2nd_edition_december_2017.pdf"
|
||||||
|
)
|
||||||
|
|
||||||
type Mutation {
|
type Mutation {
|
||||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||||
getProfileImageUploadLink(fileExt: String = ".png"): GetUploadLinkReturn!
|
addAnnotationToShot(
|
||||||
|
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!
|
||||||
@@ -405,7 +464,44 @@ 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]!
|
||||||
}
|
}
|
||||||
@@ -415,6 +511,14 @@ type Header {
|
|||||||
value: String!
|
value: String!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type GetProfileUploadLinkErrors {
|
||||||
|
error: TooManyProfileImageUploadsErr!
|
||||||
|
}
|
||||||
|
|
||||||
|
type TooManyProfileImageUploadsErr {
|
||||||
|
linksRequested: Int!
|
||||||
|
}
|
||||||
|
|
||||||
type CreateUploadStreamReturn {
|
type CreateUploadStreamReturn {
|
||||||
videoId: Int!
|
videoId: Int!
|
||||||
}
|
}
|
||||||
@@ -424,7 +528,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
|
||||||
@@ -455,3 +559,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