Compare commits
23 Commits
micah/add-
...
5085c9af90
| Author | SHA1 | Date | |
|---|---|---|---|
| 5085c9af90 | |||
| 85bc743c8e | |||
| b8efa644e3 | |||
| c18628a4ca | |||
| 535e24c9c2 | |||
| 04308b1003 | |||
| 43c626141e | |||
| c49266e4c1 | |||
| 6677b9232f | |||
| 76e792be88 | |||
| 5eac3d9d40 | |||
| 64593f09b7 | |||
| e20b68799f | |||
| 378878967a | |||
| 251ebe7056 | |||
| 615e4d5467 | |||
| a4f602d651 | |||
| c48512fc45 | |||
| d75822c465 | |||
| 4feeba5150 | |||
| e1237363f0 | |||
| b1550b31c5 | |||
| 81b9fd9f12 |
464
src/index.tsx
464
src/index.tsx
@@ -102,6 +102,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"]>;
|
||||||
@@ -134,10 +138,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -151,6 +158,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -161,10 +169,13 @@ export type FilterInput =
|
|||||||
annotations: Array<ShotAnnotationInput>;
|
annotations: Array<ShotAnnotationInput>;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -178,6 +189,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -188,10 +200,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle: RangeFilter;
|
bankAngle: RangeFilter;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -205,6 +220,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -215,10 +231,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance: RangeFilter;
|
bankDistance: RangeFilter;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -232,6 +251,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -242,10 +262,44 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject: RangeFilter;
|
||||||
|
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;
|
||||||
|
tags?: never;
|
||||||
|
targetPocketDistance?: never;
|
||||||
|
userId?: never;
|
||||||
|
videoId?: never;
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
andFilters?: never;
|
||||||
|
annotations?: never;
|
||||||
|
bankAngle?: never;
|
||||||
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed: RangeFilter;
|
cueBallSpeed: RangeFilter;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -259,6 +313,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -269,10 +324,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle: RangeFilter;
|
cueObjectAngle: RangeFilter;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -286,6 +344,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -296,10 +355,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance: RangeFilter;
|
cueObjectDistance: RangeFilter;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -313,6 +375,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -323,10 +386,44 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject: RangeFilter;
|
||||||
|
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;
|
||||||
|
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: RangeFilter;
|
difficulty: RangeFilter;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -340,6 +437,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -350,10 +448,44 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore: RangeFilter;
|
||||||
|
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;
|
||||||
|
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: Array<PocketEnum>;
|
intendedPocketType: Array<PocketEnum>;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -367,6 +499,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -377,10 +510,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect: Array<Scalars["Boolean"]["input"]>;
|
isDirect: Array<Scalars["Boolean"]["input"]>;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -394,6 +530,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -404,10 +541,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft: Array<Scalars["Boolean"]["input"]>;
|
isLeft: Array<Scalars["Boolean"]["input"]>;
|
||||||
@@ -421,6 +561,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -431,10 +572,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -448,6 +592,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -458,10 +603,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -475,6 +623,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -485,10 +634,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -502,6 +654,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -512,10 +665,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -529,6 +685,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -539,10 +696,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -556,6 +716,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -566,10 +727,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -583,6 +747,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -593,10 +758,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -610,6 +778,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -620,10 +789,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -637,6 +809,7 @@ export type FilterInput =
|
|||||||
notFilter: FilterInput;
|
notFilter: FilterInput;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -647,10 +820,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -664,6 +840,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters: Array<FilterInput>;
|
orFilters: Array<FilterInput>;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -674,10 +851,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -691,6 +871,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection: Array<ShotDirectionEnum>;
|
shotDirection: Array<ShotDirectionEnum>;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -701,10 +882,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -718,6 +902,38 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType: Array<Scalars["String"]["input"]>;
|
||||||
|
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;
|
||||||
tags: Array<VideoTagInput>;
|
tags: Array<VideoTagInput>;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -728,10 +944,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -745,6 +964,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance: RangeFilter;
|
targetPocketDistance: RangeFilter;
|
||||||
userId?: never;
|
userId?: never;
|
||||||
@@ -755,10 +975,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -772,6 +995,7 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: never;
|
||||||
tags?: never;
|
tags?: never;
|
||||||
targetPocketDistance?: never;
|
targetPocketDistance?: never;
|
||||||
userId: Array<Scalars["Int"]["input"]>;
|
userId: Array<Scalars["Int"]["input"]>;
|
||||||
@@ -782,10 +1006,13 @@ export type FilterInput =
|
|||||||
annotations?: never;
|
annotations?: never;
|
||||||
bankAngle?: never;
|
bankAngle?: never;
|
||||||
bankDistance?: never;
|
bankDistance?: never;
|
||||||
|
cueAngleAfterObject?: never;
|
||||||
cueBallSpeed?: never;
|
cueBallSpeed?: never;
|
||||||
cueObjectAngle?: never;
|
cueObjectAngle?: never;
|
||||||
cueObjectDistance?: never;
|
cueObjectDistance?: never;
|
||||||
|
cueSpeedAfterObject?: never;
|
||||||
difficulty?: never;
|
difficulty?: never;
|
||||||
|
falsePositiveScore?: never;
|
||||||
intendedPocketType?: never;
|
intendedPocketType?: never;
|
||||||
isDirect?: never;
|
isDirect?: never;
|
||||||
isLeft?: never;
|
isLeft?: never;
|
||||||
@@ -799,12 +1026,18 @@ export type FilterInput =
|
|||||||
notFilter?: never;
|
notFilter?: never;
|
||||||
orFilters?: never;
|
orFilters?: never;
|
||||||
shotDirection?: never;
|
shotDirection?: never;
|
||||||
|
spinType?: 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 GetShotsPagination = {
|
||||||
|
createdAfter: CreatedAfter;
|
||||||
|
startFrameAfter: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type GetUploadLinkReturn = {
|
export type GetUploadLinkReturn = {
|
||||||
__typename?: "GetUploadLinkReturn";
|
__typename?: "GetUploadLinkReturn";
|
||||||
headers: Array<Maybe<Header>>;
|
headers: Array<Maybe<Header>>;
|
||||||
@@ -853,6 +1086,7 @@ export type MakePercentageIntervalGql = {
|
|||||||
|
|
||||||
export type Mutation = {
|
export type Mutation = {
|
||||||
__typename?: "Mutation";
|
__typename?: "Mutation";
|
||||||
|
addAnnotationToShot: Scalars["Boolean"]["output"];
|
||||||
createBucketSet: BucketSetGql;
|
createBucketSet: BucketSetGql;
|
||||||
createUploadStream: CreateUploadStreamReturn;
|
createUploadStream: CreateUploadStreamReturn;
|
||||||
deleteVideo: Scalars["Boolean"]["output"];
|
deleteVideo: Scalars["Boolean"]["output"];
|
||||||
@@ -865,6 +1099,11 @@ export type Mutation = {
|
|||||||
setSegmentDuration: Scalars["Boolean"]["output"];
|
setSegmentDuration: Scalars["Boolean"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type MutationAddAnnotationToShotArgs = {
|
||||||
|
annotationName: Scalars["String"]["input"];
|
||||||
|
shotId: Scalars["Int"]["input"];
|
||||||
|
};
|
||||||
|
|
||||||
export type MutationCreateBucketSetArgs = {
|
export type MutationCreateBucketSetArgs = {
|
||||||
params: CreateBucketSetInput;
|
params: CreateBucketSetInput;
|
||||||
};
|
};
|
||||||
@@ -949,11 +1188,13 @@ export type Query = {
|
|||||||
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
getShotAnnotationTypes: Array<ShotAnnotationTypeGql>;
|
||||||
getShots: Array<ShotGql>;
|
getShots: Array<ShotGql>;
|
||||||
getUser?: Maybe<UserGql>;
|
getUser?: Maybe<UserGql>;
|
||||||
|
getUserTags: Array<TagGql>;
|
||||||
getUserVideos: VideoHistoryGql;
|
getUserVideos: VideoHistoryGql;
|
||||||
getUsernames: Array<Scalars["String"]["output"]>;
|
getUsernames: Array<Scalars["String"]["output"]>;
|
||||||
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 = {
|
||||||
@@ -970,6 +1211,8 @@ export type QueryGetPlayTimeArgs = {
|
|||||||
|
|
||||||
export type QueryGetShotsArgs = {
|
export type QueryGetShotsArgs = {
|
||||||
filterInput: FilterInput;
|
filterInput: FilterInput;
|
||||||
|
limit?: Scalars["Int"]["input"];
|
||||||
|
shotsPagination?: InputMaybe<GetShotsPagination>;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type QueryGetUserArgs = {
|
export type QueryGetUserArgs = {
|
||||||
@@ -1002,8 +1245,13 @@ 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 = {
|
||||||
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
|
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
|
||||||
|
includeOnNone?: Scalars["Boolean"]["input"];
|
||||||
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
|
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1045,12 +1293,14 @@ export type ShotGql = {
|
|||||||
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
cueObjectFeatures?: Maybe<CueObjectFeaturesGql>;
|
cueObjectFeatures?: Maybe<CueObjectFeaturesGql>;
|
||||||
endFrame: Scalars["Int"]["output"];
|
endFrame: Scalars["Int"]["output"];
|
||||||
|
falsePositiveScore?: Maybe<Scalars["Float"]["output"]>;
|
||||||
id: Scalars["Int"]["output"];
|
id: Scalars["Int"]["output"];
|
||||||
pocketingIntentionFeatures?: Maybe<PocketingIntentionFeaturesGql>;
|
pocketingIntentionFeatures?: Maybe<PocketingIntentionFeaturesGql>;
|
||||||
serializedShotPaths?: Maybe<SerializedShotPathsGql>;
|
serializedShotPaths?: Maybe<SerializedShotPathsGql>;
|
||||||
startFrame: Scalars["Int"]["output"];
|
startFrame: Scalars["Int"]["output"];
|
||||||
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
||||||
user?: Maybe<UserGql>;
|
user?: Maybe<UserGql>;
|
||||||
|
video?: Maybe<VideoGql>;
|
||||||
videoId: Scalars["Int"]["output"];
|
videoId: Scalars["Int"]["output"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1064,6 +1314,13 @@ export enum StreamSegmentTypeEnum {
|
|||||||
RbChunkedMp4 = "RB_CHUNKED_MP4",
|
RbChunkedMp4 = "RB_CHUNKED_MP4",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type TagGql = {
|
||||||
|
__typename?: "TagGQL";
|
||||||
|
group?: Maybe<Scalars["String"]["output"]>;
|
||||||
|
id: Scalars["Int"]["output"];
|
||||||
|
name: Scalars["String"]["output"];
|
||||||
|
};
|
||||||
|
|
||||||
export type TargetMetricsGql = {
|
export type TargetMetricsGql = {
|
||||||
__typename?: "TargetMetricsGQL";
|
__typename?: "TargetMetricsGQL";
|
||||||
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
|
averageDifficulty?: Maybe<Scalars["Float"]["output"]>;
|
||||||
@@ -1092,8 +1349,10 @@ export type UploadStreamGql = {
|
|||||||
lastIntendedSegmentBound?: Maybe<Scalars["Int"]["output"]>;
|
lastIntendedSegmentBound?: Maybe<Scalars["Int"]["output"]>;
|
||||||
linksRequested: Scalars["Int"]["output"];
|
linksRequested: Scalars["Int"]["output"];
|
||||||
lowestUnuploadedSegmentIndex: Scalars["Int"]["output"];
|
lowestUnuploadedSegmentIndex: Scalars["Int"]["output"];
|
||||||
|
resolution: VideoResolutionGql;
|
||||||
segmentProcessingCursor: Scalars["Int"]["output"];
|
segmentProcessingCursor: Scalars["Int"]["output"];
|
||||||
segments: Array<UploadSegmentGql>;
|
segments: Array<UploadSegmentGql>;
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
updatedAt: Scalars["DateTime"]["output"];
|
updatedAt: Scalars["DateTime"]["output"];
|
||||||
uploadCompletionCursor: Scalars["Int"]["output"];
|
uploadCompletionCursor: Scalars["Int"]["output"];
|
||||||
uploadsCompleted: Scalars["Int"]["output"];
|
uploadsCompleted: Scalars["Int"]["output"];
|
||||||
@@ -1195,6 +1454,12 @@ export type VideoResolution = {
|
|||||||
width: Scalars["Int"]["input"];
|
width: Scalars["Int"]["input"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type VideoResolutionGql = {
|
||||||
|
__typename?: "VideoResolutionGQL";
|
||||||
|
height?: Maybe<Scalars["Int"]["output"]>;
|
||||||
|
width?: Maybe<Scalars["Int"]["output"]>;
|
||||||
|
};
|
||||||
|
|
||||||
export type VideoTag = {
|
export type VideoTag = {
|
||||||
__typename?: "VideoTag";
|
__typename?: "VideoTag";
|
||||||
name: Scalars["String"]["output"];
|
name: Scalars["String"]["output"];
|
||||||
@@ -1330,6 +1595,7 @@ export type GetShotsQuery = {
|
|||||||
videoId: number;
|
videoId: number;
|
||||||
startFrame: number;
|
startFrame: number;
|
||||||
endFrame: number;
|
endFrame: number;
|
||||||
|
falsePositiveScore?: number | null;
|
||||||
createdAt?: any | null;
|
createdAt?: any | null;
|
||||||
updatedAt?: any | null;
|
updatedAt?: any | null;
|
||||||
user?: { __typename?: "UserGQL"; id: number } | null;
|
user?: { __typename?: "UserGQL"; id: number } | null;
|
||||||
@@ -1600,14 +1866,47 @@ export type GetVideoQuery = {
|
|||||||
__typename?: "HLSPlaylistGQL";
|
__typename?: "HLSPlaylistGQL";
|
||||||
segmentDurations: Array<number>;
|
segmentDurations: Array<number>;
|
||||||
} | null;
|
} | null;
|
||||||
|
homographyHistory: Array<{
|
||||||
|
__typename?: "HomographyInfoGQL";
|
||||||
|
frameIndex: number;
|
||||||
|
crop: {
|
||||||
|
__typename?: "BoundingBoxGQL";
|
||||||
|
left: number;
|
||||||
|
top: number;
|
||||||
|
width: number;
|
||||||
|
height: number;
|
||||||
|
};
|
||||||
|
pockets: Array<{
|
||||||
|
__typename?: "BoundingBoxGQL";
|
||||||
|
left: number;
|
||||||
|
top: number;
|
||||||
|
width: number;
|
||||||
|
height: number;
|
||||||
|
}>;
|
||||||
|
sourcePoints: {
|
||||||
|
__typename?: "PocketPointsGQL";
|
||||||
|
topLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
||||||
|
topSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
||||||
|
topRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
||||||
|
bottomLeft: { __typename?: "IntPoint2D"; x: number; y: number };
|
||||||
|
bottomSide: { __typename?: "IntPoint2D"; x: number; y: number };
|
||||||
|
bottomRight: { __typename?: "IntPoint2D"; x: number; y: number };
|
||||||
|
};
|
||||||
|
}>;
|
||||||
stream?: {
|
stream?: {
|
||||||
__typename?: "UploadStreamGQL";
|
__typename?: "UploadStreamGQL";
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
segments: Array<{
|
segments: Array<{
|
||||||
__typename?: "UploadSegmentGQL";
|
__typename?: "UploadSegmentGQL";
|
||||||
segmentIndex: number;
|
segmentIndex: number;
|
||||||
endFrameIndex?: number | null;
|
endFrameIndex?: number | null;
|
||||||
framesPerSecond?: number | null;
|
framesPerSecond?: number | null;
|
||||||
}>;
|
}>;
|
||||||
|
resolution: {
|
||||||
|
__typename?: "VideoResolutionGQL";
|
||||||
|
width?: number | null;
|
||||||
|
height?: number | null;
|
||||||
|
};
|
||||||
} | null;
|
} | null;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -1647,6 +1946,36 @@ export type GetMedianRunForVideoQuery = {
|
|||||||
getVideo: { __typename?: "VideoGQL"; id: number; medianRun?: number | null };
|
getVideo: { __typename?: "VideoGQL"; id: number; medianRun?: number | null };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type GetVideoForClipTimesQueryVariables = Exact<{
|
||||||
|
videoId: Scalars["Int"]["input"];
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type GetVideoForClipTimesQuery = {
|
||||||
|
__typename?: "Query";
|
||||||
|
getVideo: {
|
||||||
|
__typename?: "VideoGQL";
|
||||||
|
id: number;
|
||||||
|
framesPerSecond: number;
|
||||||
|
playlist?: {
|
||||||
|
__typename?: "HLSPlaylistGQL";
|
||||||
|
segmentDurations: Array<number>;
|
||||||
|
} | null;
|
||||||
|
stream?: {
|
||||||
|
__typename?: "UploadStreamGQL";
|
||||||
|
id: string;
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum;
|
||||||
|
segments: Array<{
|
||||||
|
__typename?: "UploadSegmentGQL";
|
||||||
|
uploaded: boolean;
|
||||||
|
valid: boolean;
|
||||||
|
segmentIndex: number;
|
||||||
|
endFrameIndex?: number | null;
|
||||||
|
framesPerSecond?: number | null;
|
||||||
|
}>;
|
||||||
|
} | null;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
export type CreateUploadStreamMutationVariables = Exact<{
|
export type CreateUploadStreamMutationVariables = Exact<{
|
||||||
videoMetadataInput: VideoMetadataInput;
|
videoMetadataInput: VideoMetadataInput;
|
||||||
}>;
|
}>;
|
||||||
@@ -2124,6 +2453,7 @@ export const GetShotsDocument = gql`
|
|||||||
user {
|
user {
|
||||||
id
|
id
|
||||||
}
|
}
|
||||||
|
falsePositiveScore
|
||||||
createdAt @include(if: $includeCreatedAt)
|
createdAt @include(if: $includeCreatedAt)
|
||||||
updatedAt @include(if: $includeUpdatedAt)
|
updatedAt @include(if: $includeUpdatedAt)
|
||||||
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
||||||
@@ -3073,12 +3403,58 @@ export const GetVideoDocument = gql`
|
|||||||
playlist {
|
playlist {
|
||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
|
homographyHistory {
|
||||||
|
frameIndex
|
||||||
|
crop {
|
||||||
|
left
|
||||||
|
top
|
||||||
|
width
|
||||||
|
height
|
||||||
|
}
|
||||||
|
pockets {
|
||||||
|
left
|
||||||
|
top
|
||||||
|
width
|
||||||
|
height
|
||||||
|
}
|
||||||
|
sourcePoints {
|
||||||
|
topLeft {
|
||||||
|
x
|
||||||
|
y
|
||||||
|
}
|
||||||
|
topSide {
|
||||||
|
x
|
||||||
|
y
|
||||||
|
}
|
||||||
|
topRight {
|
||||||
|
x
|
||||||
|
y
|
||||||
|
}
|
||||||
|
bottomLeft {
|
||||||
|
x
|
||||||
|
y
|
||||||
|
}
|
||||||
|
bottomSide {
|
||||||
|
x
|
||||||
|
y
|
||||||
|
}
|
||||||
|
bottomRight {
|
||||||
|
x
|
||||||
|
y
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
stream {
|
stream {
|
||||||
|
streamSegmentType
|
||||||
segments {
|
segments {
|
||||||
segmentIndex
|
segmentIndex
|
||||||
endFrameIndex
|
endFrameIndex
|
||||||
framesPerSecond
|
framesPerSecond
|
||||||
}
|
}
|
||||||
|
resolution {
|
||||||
|
width
|
||||||
|
height
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -3366,6 +3742,94 @@ export type GetMedianRunForVideoQueryResult = Apollo.QueryResult<
|
|||||||
GetMedianRunForVideoQuery,
|
GetMedianRunForVideoQuery,
|
||||||
GetMedianRunForVideoQueryVariables
|
GetMedianRunForVideoQueryVariables
|
||||||
>;
|
>;
|
||||||
|
export const GetVideoForClipTimesDocument = gql`
|
||||||
|
query GetVideoForClipTimes($videoId: Int!) {
|
||||||
|
getVideo(videoId: $videoId) {
|
||||||
|
id
|
||||||
|
framesPerSecond
|
||||||
|
playlist {
|
||||||
|
segmentDurations
|
||||||
|
}
|
||||||
|
stream {
|
||||||
|
id
|
||||||
|
streamSegmentType
|
||||||
|
segments {
|
||||||
|
uploaded
|
||||||
|
valid
|
||||||
|
segmentIndex
|
||||||
|
endFrameIndex
|
||||||
|
framesPerSecond
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useGetVideoForClipTimesQuery__
|
||||||
|
*
|
||||||
|
* To run a query within a React component, call `useGetVideoForClipTimesQuery` and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useGetVideoForClipTimesQuery` returns an object from Apollo Client that contains loading, error, and data properties
|
||||||
|
* you can use to render your UI.
|
||||||
|
*
|
||||||
|
* @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
|
||||||
|
*
|
||||||
|
* @example
|
||||||
|
* const { data, loading, error } = useGetVideoForClipTimesQuery({
|
||||||
|
* variables: {
|
||||||
|
* videoId: // value for 'videoId'
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useGetVideoForClipTimesQuery(
|
||||||
|
baseOptions: Apollo.QueryHookOptions<
|
||||||
|
GetVideoForClipTimesQuery,
|
||||||
|
GetVideoForClipTimesQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useQuery<
|
||||||
|
GetVideoForClipTimesQuery,
|
||||||
|
GetVideoForClipTimesQueryVariables
|
||||||
|
>(GetVideoForClipTimesDocument, options);
|
||||||
|
}
|
||||||
|
export function useGetVideoForClipTimesLazyQuery(
|
||||||
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
||||||
|
GetVideoForClipTimesQuery,
|
||||||
|
GetVideoForClipTimesQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useLazyQuery<
|
||||||
|
GetVideoForClipTimesQuery,
|
||||||
|
GetVideoForClipTimesQueryVariables
|
||||||
|
>(GetVideoForClipTimesDocument, options);
|
||||||
|
}
|
||||||
|
export function useGetVideoForClipTimesSuspenseQuery(
|
||||||
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
||||||
|
GetVideoForClipTimesQuery,
|
||||||
|
GetVideoForClipTimesQueryVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useSuspenseQuery<
|
||||||
|
GetVideoForClipTimesQuery,
|
||||||
|
GetVideoForClipTimesQueryVariables
|
||||||
|
>(GetVideoForClipTimesDocument, options);
|
||||||
|
}
|
||||||
|
export type GetVideoForClipTimesQueryHookResult = ReturnType<
|
||||||
|
typeof useGetVideoForClipTimesQuery
|
||||||
|
>;
|
||||||
|
export type GetVideoForClipTimesLazyQueryHookResult = ReturnType<
|
||||||
|
typeof useGetVideoForClipTimesLazyQuery
|
||||||
|
>;
|
||||||
|
export type GetVideoForClipTimesSuspenseQueryHookResult = ReturnType<
|
||||||
|
typeof useGetVideoForClipTimesSuspenseQuery
|
||||||
|
>;
|
||||||
|
export type GetVideoForClipTimesQueryResult = Apollo.QueryResult<
|
||||||
|
GetVideoForClipTimesQuery,
|
||||||
|
GetVideoForClipTimesQueryVariables
|
||||||
|
>;
|
||||||
export const CreateUploadStreamDocument = gql`
|
export const CreateUploadStreamDocument = gql`
|
||||||
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
||||||
createUploadStream(videoMetadata: $videoMetadataInput) {
|
createUploadStream(videoMetadata: $videoMetadataInput) {
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ query GetShots(
|
|||||||
user {
|
user {
|
||||||
id
|
id
|
||||||
}
|
}
|
||||||
|
falsePositiveScore
|
||||||
createdAt @include(if: $includeCreatedAt)
|
createdAt @include(if: $includeCreatedAt)
|
||||||
updatedAt @include(if: $includeUpdatedAt)
|
updatedAt @include(if: $includeUpdatedAt)
|
||||||
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
||||||
|
|||||||
@@ -138,12 +138,58 @@ query GetVideo($videoId: Int!) {
|
|||||||
playlist {
|
playlist {
|
||||||
segmentDurations
|
segmentDurations
|
||||||
}
|
}
|
||||||
|
homographyHistory {
|
||||||
|
frameIndex
|
||||||
|
crop {
|
||||||
|
left
|
||||||
|
top
|
||||||
|
width
|
||||||
|
height
|
||||||
|
}
|
||||||
|
pockets {
|
||||||
|
left
|
||||||
|
top
|
||||||
|
width
|
||||||
|
height
|
||||||
|
}
|
||||||
|
sourcePoints {
|
||||||
|
topLeft {
|
||||||
|
x
|
||||||
|
y
|
||||||
|
}
|
||||||
|
topSide {
|
||||||
|
x
|
||||||
|
y
|
||||||
|
}
|
||||||
|
topRight {
|
||||||
|
x
|
||||||
|
y
|
||||||
|
}
|
||||||
|
bottomLeft {
|
||||||
|
x
|
||||||
|
y
|
||||||
|
}
|
||||||
|
bottomSide {
|
||||||
|
x
|
||||||
|
y
|
||||||
|
}
|
||||||
|
bottomRight {
|
||||||
|
x
|
||||||
|
y
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
stream {
|
stream {
|
||||||
|
streamSegmentType
|
||||||
segments {
|
segments {
|
||||||
segmentIndex
|
segmentIndex
|
||||||
endFrameIndex
|
endFrameIndex
|
||||||
framesPerSecond
|
framesPerSecond
|
||||||
}
|
}
|
||||||
|
resolution {
|
||||||
|
width
|
||||||
|
height
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -166,3 +212,24 @@ query GetMedianRunForVideo($videoId: Int!) {
|
|||||||
medianRun
|
medianRun
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
query GetVideoForClipTimes($videoId: Int!) {
|
||||||
|
getVideo(videoId: $videoId) {
|
||||||
|
id
|
||||||
|
framesPerSecond
|
||||||
|
playlist {
|
||||||
|
segmentDurations
|
||||||
|
}
|
||||||
|
stream {
|
||||||
|
id
|
||||||
|
streamSegmentType
|
||||||
|
segments {
|
||||||
|
uploaded
|
||||||
|
valid
|
||||||
|
segmentIndex
|
||||||
|
endFrameIndex
|
||||||
|
framesPerSecond
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -4,11 +4,16 @@ 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(
|
||||||
|
filterInput: FilterInput!
|
||||||
|
shotsPagination: GetShotsPagination = null
|
||||||
|
limit: Int! = 500
|
||||||
|
): [ShotGQL!]!
|
||||||
getShotAnnotationTypes: [ShotAnnotationTypeGQL!]!
|
getShotAnnotationTypes: [ShotAnnotationTypeGQL!]!
|
||||||
getUser(userId: Int!): UserGQL
|
getUser(userId: Int!): UserGQL
|
||||||
getLoggedInUser: UserGQL
|
getLoggedInUser: UserGQL
|
||||||
@@ -24,6 +29,7 @@ type Query {
|
|||||||
after: String = null
|
after: String = null
|
||||||
filters: VideoFilterInput = null
|
filters: VideoFilterInput = null
|
||||||
): VideoHistoryGQL!
|
): VideoHistoryGQL!
|
||||||
|
getUserTags: [TagGQL!]!
|
||||||
getVideo(videoId: Int!): VideoGQL!
|
getVideo(videoId: Int!): VideoGQL!
|
||||||
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
getVideos(videoIds: [Int!]!): [VideoGQL!]!
|
||||||
}
|
}
|
||||||
@@ -94,11 +100,16 @@ input FilterInput @oneOf {
|
|||||||
bankDistance: RangeFilter
|
bankDistance: RangeFilter
|
||||||
kickAngle: RangeFilter
|
kickAngle: RangeFilter
|
||||||
kickDistance: RangeFilter
|
kickDistance: RangeFilter
|
||||||
|
cueAngleAfterObject: RangeFilter
|
||||||
|
cueSpeedAfterObject: RangeFilter
|
||||||
|
spinType: [String!]
|
||||||
|
falsePositiveScore: RangeFilter
|
||||||
}
|
}
|
||||||
|
|
||||||
input RangeFilter {
|
input RangeFilter {
|
||||||
lessThan: Float = null
|
lessThan: Float = null
|
||||||
greaterThanEqualTo: Float = null
|
greaterThanEqualTo: Float = null
|
||||||
|
includeOnNone: Boolean! = false
|
||||||
}
|
}
|
||||||
|
|
||||||
enum PocketEnum {
|
enum PocketEnum {
|
||||||
@@ -161,6 +172,8 @@ type ShotGQL {
|
|||||||
serializedShotPaths: SerializedShotPathsGQL
|
serializedShotPaths: SerializedShotPathsGQL
|
||||||
user: UserGQL
|
user: UserGQL
|
||||||
annotations: [ShotAnnotationGQL!]!
|
annotations: [ShotAnnotationGQL!]!
|
||||||
|
falsePositiveScore: Float
|
||||||
|
video: VideoGQL
|
||||||
}
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@@ -222,15 +235,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
|
||||||
@@ -269,6 +273,8 @@ type UploadStreamGQL {
|
|||||||
createdAt: DateTime!
|
createdAt: DateTime!
|
||||||
updatedAt: DateTime!
|
updatedAt: DateTime!
|
||||||
segments: [UploadSegmentGQL!]!
|
segments: [UploadSegmentGQL!]!
|
||||||
|
resolution: VideoResolutionGQL!
|
||||||
|
streamSegmentType: StreamSegmentTypeEnum!
|
||||||
}
|
}
|
||||||
|
|
||||||
enum InitPlaylistUploadStatusEnum {
|
enum InitPlaylistUploadStatusEnum {
|
||||||
@@ -291,6 +297,16 @@ type UploadSegmentGQL {
|
|||||||
linksRequested: Int!
|
linksRequested: Int!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type VideoResolutionGQL {
|
||||||
|
width: Int
|
||||||
|
height: Int
|
||||||
|
}
|
||||||
|
|
||||||
|
enum StreamSegmentTypeEnum {
|
||||||
|
FRAGMENTED_MP4
|
||||||
|
RB_CHUNKED_MP4
|
||||||
|
}
|
||||||
|
|
||||||
type HLSPlaylistGQL {
|
type HLSPlaylistGQL {
|
||||||
videoId: Int!
|
videoId: Int!
|
||||||
m3u8Text: String!
|
m3u8Text: String!
|
||||||
@@ -345,6 +361,25 @@ type VideoProcessingErrorGQL {
|
|||||||
endSegmentIndex: Int
|
endSegmentIndex: Int
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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
|
||||||
@@ -355,9 +390,16 @@ input VideoFilterInput {
|
|||||||
requireCursorCompletion: Boolean! = true
|
requireCursorCompletion: Boolean! = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type TagGQL {
|
||||||
|
name: String!
|
||||||
|
id: Int!
|
||||||
|
group: String
|
||||||
|
}
|
||||||
|
|
||||||
type Mutation {
|
type Mutation {
|
||||||
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
createBucketSet(params: CreateBucketSetInput!): BucketSetGQL!
|
||||||
setLoggerLevel(path: String!, level: String!): Boolean!
|
setLoggerLevel(path: String!, level: String!): Boolean!
|
||||||
|
addAnnotationToShot(shotId: Int!, annotationName: String!): Boolean!
|
||||||
getProfileImageUploadLink(fileExt: String = ".png"): GetUploadLinkReturn!
|
getProfileImageUploadLink(fileExt: String = ".png"): GetUploadLinkReturn!
|
||||||
editProfileImageUri(profileImageUri: String!): UserGQL!
|
editProfileImageUri(profileImageUri: String!): UserGQL!
|
||||||
createUploadStream(
|
createUploadStream(
|
||||||
@@ -426,11 +468,6 @@ enum DeviceTypeEnum {
|
|||||||
BROWSER
|
BROWSER
|
||||||
}
|
}
|
||||||
|
|
||||||
enum StreamSegmentTypeEnum {
|
|
||||||
FRAGMENTED_MP4
|
|
||||||
RB_CHUNKED_MP4
|
|
||||||
}
|
|
||||||
|
|
||||||
input VideoResolution {
|
input VideoResolution {
|
||||||
width: Int!
|
width: Int!
|
||||||
height: Int!
|
height: Int!
|
||||||
|
|||||||
Reference in New Issue
Block a user