|
|
|
@@ -124,11 +124,9 @@ export enum ClientUploadStatusEnum {
|
|
|
|
|
|
|
|
|
|
export type CommentGql = {
|
|
|
|
|
__typename?: "CommentGQL";
|
|
|
|
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
message: Scalars["String"]["output"];
|
|
|
|
|
replies: Array<CommentGql>;
|
|
|
|
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
user: UserGql;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -245,6 +243,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -288,6 +287,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -331,6 +331,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -374,6 +375,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -417,6 +419,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -460,6 +463,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -503,6 +507,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -546,6 +551,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -589,6 +595,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -632,6 +639,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -675,6 +683,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -718,6 +727,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -761,6 +771,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore: FloatRangeFilter;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -804,6 +815,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating: FloatRangeFilter;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -847,6 +859,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType: Array<PocketEnum>;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -890,6 +903,51 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic: Array<Scalars["Boolean"]["input"]>;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
|
isRight?: never;
|
|
|
|
|
isRightMiss?: never;
|
|
|
|
|
isStraight?: never;
|
|
|
|
|
kickAngle?: never;
|
|
|
|
|
kickDistance?: never;
|
|
|
|
|
make?: never;
|
|
|
|
|
marginOfErrorInDegrees?: never;
|
|
|
|
|
missAngleInDegrees?: never;
|
|
|
|
|
notFilter?: never;
|
|
|
|
|
orFilters?: never;
|
|
|
|
|
runId?: never;
|
|
|
|
|
runLength?: never;
|
|
|
|
|
shotDirection?: never;
|
|
|
|
|
spinType?: never;
|
|
|
|
|
tableSize?: never;
|
|
|
|
|
tags?: never;
|
|
|
|
|
targetPocketAngle?: never;
|
|
|
|
|
targetPocketAngleDirection?: never;
|
|
|
|
|
targetPocketDistance?: never;
|
|
|
|
|
totalDistance?: never;
|
|
|
|
|
userId?: never;
|
|
|
|
|
username?: never;
|
|
|
|
|
videoId?: never;
|
|
|
|
|
}
|
|
|
|
|
| {
|
|
|
|
|
andFilters?: never;
|
|
|
|
|
annotations?: never;
|
|
|
|
|
backcut?: never;
|
|
|
|
|
bankAngle?: never;
|
|
|
|
|
bankDistance?: never;
|
|
|
|
|
createdAt?: never;
|
|
|
|
|
cueAngleAfterObject?: never;
|
|
|
|
|
cueBallSpeed?: never;
|
|
|
|
|
cueObjectAngle?: never;
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect: Array<Scalars["Boolean"]["input"]>;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -933,6 +991,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft: Array<Scalars["Boolean"]["input"]>;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -976,6 +1035,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss: Array<Scalars["Boolean"]["input"]>;
|
|
|
|
@@ -1019,6 +1079,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1062,6 +1123,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1105,6 +1167,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1148,6 +1211,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1191,6 +1255,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1234,6 +1299,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1277,6 +1343,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1320,6 +1387,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1363,6 +1431,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1406,6 +1475,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1449,6 +1519,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1492,6 +1563,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1535,6 +1607,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1578,6 +1651,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1621,6 +1695,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1664,6 +1739,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1707,6 +1783,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1750,6 +1827,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1793,6 +1871,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1836,6 +1915,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1879,6 +1959,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1922,6 +2003,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -1965,6 +2047,7 @@ export type FilterInput =
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
fargoRating?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isBreakHeuristic?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
|
isLeftMiss?: never;
|
|
|
|
@@ -2167,6 +2250,7 @@ export type Mutation = {
|
|
|
|
|
getHlsInitUploadLink: GetUploadLinkReturn;
|
|
|
|
|
getProfileImageUploadLink: GetProfileUploadLinkReturn;
|
|
|
|
|
getUploadLink: GetUploadLinkReturn;
|
|
|
|
|
reactToVideo: Scalars["Boolean"]["output"];
|
|
|
|
|
retireTags: Scalars["Boolean"]["output"];
|
|
|
|
|
setLoggerLevel: Scalars["Boolean"]["output"];
|
|
|
|
|
setSegmentDuration: Scalars["Boolean"]["output"];
|
|
|
|
@@ -2254,6 +2338,11 @@ export type MutationGetUploadLinkArgs = {
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationReactToVideoArgs = {
|
|
|
|
|
reaction?: InputMaybe<ReactionEnum>;
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationRetireTagsArgs = {
|
|
|
|
|
tagIds: Array<Scalars["Int"]["input"]>;
|
|
|
|
|
};
|
|
|
|
@@ -2510,6 +2599,22 @@ export type QueryWaitForArgs = {
|
|
|
|
|
duration: Scalars["Float"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export enum ReactionEnum {
|
|
|
|
|
Bullseye = "BULLSEYE",
|
|
|
|
|
Heart = "HEART",
|
|
|
|
|
Hundred = "HUNDRED",
|
|
|
|
|
Like = "LIKE",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ReactionGql = {
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
reaction: ReactionEnum;
|
|
|
|
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
user: UserGql;
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type RequestedMedalsGql = {
|
|
|
|
|
__typename?: "RequestedMedalsGQL";
|
|
|
|
|
dailyMakes50?: Maybe<MedalGql>;
|
|
|
|
@@ -2946,6 +3051,7 @@ export type VideoGql = {
|
|
|
|
|
owner?: Maybe<UserGql>;
|
|
|
|
|
playlist?: Maybe<HlsPlaylistGql>;
|
|
|
|
|
private: Scalars["Boolean"]["output"];
|
|
|
|
|
reactions: Array<ReactionGql>;
|
|
|
|
|
screenshotUri?: Maybe<Scalars["String"]["output"]>;
|
|
|
|
|
shots: Array<ShotGql>;
|
|
|
|
|
startTime?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
@@ -3114,6 +3220,7 @@ export type GetFeedQuery = {
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
@@ -3133,6 +3240,23 @@ export type GetFeedQuery = {
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
reactions: Array<{
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
videoId: number;
|
|
|
|
|
reaction: ReactionEnum;
|
|
|
|
|
user: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
username: string;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
followers?: Array<{
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
username: string;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
}> | null;
|
|
|
|
|
};
|
|
|
|
|
}>;
|
|
|
|
|
}>;
|
|
|
|
|
pageInfo: {
|
|
|
|
|
__typename?: "PageInfoGQL";
|
|
|
|
@@ -3170,6 +3294,7 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
@@ -3186,6 +3311,23 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
reactions: Array<{
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
videoId: number;
|
|
|
|
|
reaction: ReactionEnum;
|
|
|
|
|
user: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
username: string;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
followers?: Array<{
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
username: string;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
}> | null;
|
|
|
|
|
};
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetVideoFeedQueryVariables = Exact<{
|
|
|
|
@@ -3229,6 +3371,7 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
@@ -3248,6 +3391,23 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
}>;
|
|
|
|
|
} | null;
|
|
|
|
|
reactions: Array<{
|
|
|
|
|
__typename?: "ReactionGQL";
|
|
|
|
|
videoId: number;
|
|
|
|
|
reaction: ReactionEnum;
|
|
|
|
|
user: {
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
username: string;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
followers?: Array<{
|
|
|
|
|
__typename?: "UserGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
username: string;
|
|
|
|
|
profileImageUri?: string | null;
|
|
|
|
|
}> | null;
|
|
|
|
|
};
|
|
|
|
|
}>;
|
|
|
|
|
}>;
|
|
|
|
|
pageInfo: {
|
|
|
|
|
__typename?: "PageInfoGQL";
|
|
|
|
@@ -3451,10 +3611,22 @@ export type GetMedalsQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type ReactToVideoMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
reaction?: InputMaybe<ReactionEnum>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type ReactToVideoMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
reactToVideo: boolean;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetRunsForHighlightsQueryVariables = Exact<{
|
|
|
|
|
filterInput: RunFilterInput;
|
|
|
|
|
runIds?: InputMaybe<Array<Scalars["Int"]["input"]> | Scalars["Int"]["input"]>;
|
|
|
|
|
runsOrdering?: InputMaybe<GetRunsOrdering>;
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
countRespectsLimit?: Scalars["Boolean"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetRunsForHighlightsQuery = {
|
|
|
|
@@ -3474,6 +3646,55 @@ export type GetRunsForHighlightsQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type PocketingIntentionFragmentFragment = {
|
|
|
|
|
__typename?: "PocketingIntentionFeaturesGQL";
|
|
|
|
|
make?: boolean | null;
|
|
|
|
|
targetPocketDistance?: number | null;
|
|
|
|
|
targetPocketAngle?: number | null;
|
|
|
|
|
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
|
|
|
|
marginOfErrorInDegrees?: number | null;
|
|
|
|
|
intendedPocketType?: PocketEnum | null;
|
|
|
|
|
difficulty?: number | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetRunsWithTimestampsQueryVariables = Exact<{
|
|
|
|
|
filterInput: RunFilterInput;
|
|
|
|
|
runIds?: InputMaybe<Array<Scalars["Int"]["input"]> | Scalars["Int"]["input"]>;
|
|
|
|
|
runsOrdering?: InputMaybe<GetRunsOrdering>;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetRunsWithTimestampsQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getRuns: {
|
|
|
|
|
__typename?: "GetRunsResult";
|
|
|
|
|
count?: number | null;
|
|
|
|
|
runIds: Array<number>;
|
|
|
|
|
runs: Array<{
|
|
|
|
|
__typename?: "RunGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
runLength: number;
|
|
|
|
|
userId: number;
|
|
|
|
|
videoId: number;
|
|
|
|
|
shots: Array<{
|
|
|
|
|
__typename?: "ShotGQL";
|
|
|
|
|
videoId: number;
|
|
|
|
|
id: number;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
pocketingIntentionFeatures?: {
|
|
|
|
|
__typename?: "PocketingIntentionFeaturesGQL";
|
|
|
|
|
make?: boolean | null;
|
|
|
|
|
targetPocketDistance?: number | null;
|
|
|
|
|
targetPocketAngle?: number | null;
|
|
|
|
|
targetPocketAngleDirection?: ShotDirectionEnum | null;
|
|
|
|
|
marginOfErrorInDegrees?: number | null;
|
|
|
|
|
intendedPocketType?: PocketEnum | null;
|
|
|
|
|
difficulty?: number | null;
|
|
|
|
|
} | null;
|
|
|
|
|
}>;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetSerializedShotPathsQueryVariables = Exact<{
|
|
|
|
|
filterInput: FilterInput;
|
|
|
|
|
}>;
|
|
|
|
@@ -3642,6 +3863,15 @@ export type GetShotsWithMetadataFilterResultQuery = {
|
|
|
|
|
name: string;
|
|
|
|
|
};
|
|
|
|
|
}>;
|
|
|
|
|
video?: {
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
} | null;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
@@ -3711,6 +3941,15 @@ export type GetShotsWithMetadataQuery = {
|
|
|
|
|
name: string;
|
|
|
|
|
};
|
|
|
|
|
}>;
|
|
|
|
|
video?: {
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
} | null;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
@@ -3769,6 +4008,15 @@ export type GetShotsByIdsQuery = {
|
|
|
|
|
notes: string;
|
|
|
|
|
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string };
|
|
|
|
|
}>;
|
|
|
|
|
video?: {
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
} | null;
|
|
|
|
|
}>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -3820,6 +4068,15 @@ export type ShotWithAllFeaturesFragment = {
|
|
|
|
|
notes: string;
|
|
|
|
|
type: { __typename?: "ShotAnnotationTypeGQL"; id: number; name: string };
|
|
|
|
|
}>;
|
|
|
|
|
video?: {
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type EditShotMutationVariables = Exact<{
|
|
|
|
@@ -3888,6 +4145,15 @@ export type EditShotMutation = {
|
|
|
|
|
name: string;
|
|
|
|
|
};
|
|
|
|
|
}>;
|
|
|
|
|
video?: {
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
} | null;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
@@ -3901,6 +4167,16 @@ export type RetireTagsMutation = {
|
|
|
|
|
retireTags: boolean;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type DeleteTagsMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
tagsToDelete: Array<VideoTagInput> | VideoTagInput;
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type DeleteTagsMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
deleteTags: boolean;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetProfileImageUploadLinkMutationVariables = Exact<{
|
|
|
|
|
fileExt?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
}>;
|
|
|
|
@@ -4901,6 +5177,7 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|
|
|
|
id
|
|
|
|
|
lastIntendedSegmentBound
|
|
|
|
|
isCompleted
|
|
|
|
|
streamSegmentType
|
|
|
|
|
}
|
|
|
|
|
tableSize
|
|
|
|
|
tags {
|
|
|
|
@@ -4919,6 +5196,20 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|
|
|
|
status
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
reactions {
|
|
|
|
|
videoId
|
|
|
|
|
user {
|
|
|
|
|
id
|
|
|
|
|
username
|
|
|
|
|
profileImageUri
|
|
|
|
|
followers {
|
|
|
|
|
id
|
|
|
|
|
username
|
|
|
|
|
profileImageUri
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
reaction
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const MedalFieldsFragmentDoc = gql`
|
|
|
|
@@ -4927,6 +5218,17 @@ export const MedalFieldsFragmentDoc = gql`
|
|
|
|
|
nickname
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const PocketingIntentionFragmentFragmentDoc = gql`
|
|
|
|
|
fragment PocketingIntentionFragment on PocketingIntentionFeaturesGQL {
|
|
|
|
|
make
|
|
|
|
|
targetPocketDistance
|
|
|
|
|
targetPocketAngle
|
|
|
|
|
targetPocketAngleDirection
|
|
|
|
|
marginOfErrorInDegrees
|
|
|
|
|
intendedPocketType
|
|
|
|
|
difficulty
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const ShotWithAllFeaturesFragmentDoc = gql`
|
|
|
|
|
fragment ShotWithAllFeatures on ShotGQL {
|
|
|
|
|
id
|
|
|
|
@@ -4981,6 +5283,13 @@ export const ShotWithAllFeaturesFragmentDoc = gql`
|
|
|
|
|
}
|
|
|
|
|
notes
|
|
|
|
|
}
|
|
|
|
|
video {
|
|
|
|
|
id
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
streamSegmentType
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const UserFragmentFragmentDoc = gql`
|
|
|
|
@@ -5844,16 +6153,69 @@ export type GetMedalsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetMedalsQuery,
|
|
|
|
|
GetMedalsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const ReactToVideoDocument = gql`
|
|
|
|
|
mutation ReactToVideo($videoId: Int!, $reaction: ReactionEnum) {
|
|
|
|
|
reactToVideo(videoId: $videoId, reaction: $reaction)
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type ReactToVideoMutationFn = Apollo.MutationFunction<
|
|
|
|
|
ReactToVideoMutation,
|
|
|
|
|
ReactToVideoMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useReactToVideoMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useReactToVideoMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useReactToVideoMutation` returns a tuple that includes:
|
|
|
|
|
* - A mutate function that you can call at any time to execute the mutation
|
|
|
|
|
* - An object with fields that represent the current status of the mutation's execution
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const [reactToVideoMutation, { data, loading, error }] = useReactToVideoMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoId: // value for 'videoId'
|
|
|
|
|
* reaction: // value for 'reaction'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useReactToVideoMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
ReactToVideoMutation,
|
|
|
|
|
ReactToVideoMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
ReactToVideoMutation,
|
|
|
|
|
ReactToVideoMutationVariables
|
|
|
|
|
>(ReactToVideoDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type ReactToVideoMutationHookResult = ReturnType<
|
|
|
|
|
typeof useReactToVideoMutation
|
|
|
|
|
>;
|
|
|
|
|
export type ReactToVideoMutationResult =
|
|
|
|
|
Apollo.MutationResult<ReactToVideoMutation>;
|
|
|
|
|
export type ReactToVideoMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
ReactToVideoMutation,
|
|
|
|
|
ReactToVideoMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetRunsForHighlightsDocument = gql`
|
|
|
|
|
query GetRunsForHighlights(
|
|
|
|
|
$filterInput: RunFilterInput!
|
|
|
|
|
$runIds: [Int!] = null
|
|
|
|
|
$runsOrdering: GetRunsOrdering
|
|
|
|
|
$limit: Int! = 500
|
|
|
|
|
$countRespectsLimit: Boolean! = false
|
|
|
|
|
) {
|
|
|
|
|
getRuns(
|
|
|
|
|
filterInput: $filterInput
|
|
|
|
|
runIds: $runIds
|
|
|
|
|
runsOrdering: $runsOrdering
|
|
|
|
|
limit: $limit
|
|
|
|
|
countRespectsLimit: $countRespectsLimit
|
|
|
|
|
) {
|
|
|
|
|
count
|
|
|
|
|
runs {
|
|
|
|
@@ -5886,6 +6248,8 @@ export const GetRunsForHighlightsDocument = gql`
|
|
|
|
|
* filterInput: // value for 'filterInput'
|
|
|
|
|
* runIds: // value for 'runIds'
|
|
|
|
|
* runsOrdering: // value for 'runsOrdering'
|
|
|
|
|
* limit: // value for 'limit'
|
|
|
|
|
* countRespectsLimit: // value for 'countRespectsLimit'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
@@ -5938,6 +6302,105 @@ export type GetRunsForHighlightsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetRunsForHighlightsQuery,
|
|
|
|
|
GetRunsForHighlightsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetRunsWithTimestampsDocument = gql`
|
|
|
|
|
query GetRunsWithTimestamps(
|
|
|
|
|
$filterInput: RunFilterInput!
|
|
|
|
|
$runIds: [Int!] = null
|
|
|
|
|
$runsOrdering: GetRunsOrdering
|
|
|
|
|
) {
|
|
|
|
|
getRuns(
|
|
|
|
|
filterInput: $filterInput
|
|
|
|
|
runIds: $runIds
|
|
|
|
|
runsOrdering: $runsOrdering
|
|
|
|
|
) {
|
|
|
|
|
count
|
|
|
|
|
runs {
|
|
|
|
|
id
|
|
|
|
|
runLength
|
|
|
|
|
userId
|
|
|
|
|
videoId
|
|
|
|
|
shots {
|
|
|
|
|
videoId
|
|
|
|
|
id
|
|
|
|
|
createdAt
|
|
|
|
|
pocketingIntentionFeatures {
|
|
|
|
|
...PocketingIntentionFragment
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
runIds
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${PocketingIntentionFragmentFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetRunsWithTimestampsQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetRunsWithTimestampsQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetRunsWithTimestampsQuery` 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 } = useGetRunsWithTimestampsQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* filterInput: // value for 'filterInput'
|
|
|
|
|
* runIds: // value for 'runIds'
|
|
|
|
|
* runsOrdering: // value for 'runsOrdering'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetRunsWithTimestampsQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
GetRunsWithTimestampsQuery,
|
|
|
|
|
GetRunsWithTimestampsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
GetRunsWithTimestampsQuery,
|
|
|
|
|
GetRunsWithTimestampsQueryVariables
|
|
|
|
|
>(GetRunsWithTimestampsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetRunsWithTimestampsLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetRunsWithTimestampsQuery,
|
|
|
|
|
GetRunsWithTimestampsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetRunsWithTimestampsQuery,
|
|
|
|
|
GetRunsWithTimestampsQueryVariables
|
|
|
|
|
>(GetRunsWithTimestampsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetRunsWithTimestampsSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetRunsWithTimestampsQuery,
|
|
|
|
|
GetRunsWithTimestampsQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetRunsWithTimestampsQuery,
|
|
|
|
|
GetRunsWithTimestampsQueryVariables
|
|
|
|
|
>(GetRunsWithTimestampsDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetRunsWithTimestampsQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetRunsWithTimestampsQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetRunsWithTimestampsLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetRunsWithTimestampsLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetRunsWithTimestampsSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetRunsWithTimestampsSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetRunsWithTimestampsQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetRunsWithTimestampsQuery,
|
|
|
|
|
GetRunsWithTimestampsQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetSerializedShotPathsDocument = gql`
|
|
|
|
|
query GetSerializedShotPaths($filterInput: FilterInput!) {
|
|
|
|
|
getShots(filterInput: $filterInput) {
|
|
|
|
@@ -6699,6 +7162,55 @@ export type RetireTagsMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
RetireTagsMutation,
|
|
|
|
|
RetireTagsMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const DeleteTagsDocument = gql`
|
|
|
|
|
mutation DeleteTags($videoId: Int!, $tagsToDelete: [VideoTagInput!]!) {
|
|
|
|
|
deleteTags(videoId: $videoId, tagsToDelete: $tagsToDelete)
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type DeleteTagsMutationFn = Apollo.MutationFunction<
|
|
|
|
|
DeleteTagsMutation,
|
|
|
|
|
DeleteTagsMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useDeleteTagsMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useDeleteTagsMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useDeleteTagsMutation` returns a tuple that includes:
|
|
|
|
|
* - A mutate function that you can call at any time to execute the mutation
|
|
|
|
|
* - An object with fields that represent the current status of the mutation's execution
|
|
|
|
|
*
|
|
|
|
|
* @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
|
|
|
|
|
*
|
|
|
|
|
* @example
|
|
|
|
|
* const [deleteTagsMutation, { data, loading, error }] = useDeleteTagsMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoId: // value for 'videoId'
|
|
|
|
|
* tagsToDelete: // value for 'tagsToDelete'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useDeleteTagsMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
DeleteTagsMutation,
|
|
|
|
|
DeleteTagsMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<DeleteTagsMutation, DeleteTagsMutationVariables>(
|
|
|
|
|
DeleteTagsDocument,
|
|
|
|
|
options,
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
export type DeleteTagsMutationHookResult = ReturnType<
|
|
|
|
|
typeof useDeleteTagsMutation
|
|
|
|
|
>;
|
|
|
|
|
export type DeleteTagsMutationResult =
|
|
|
|
|
Apollo.MutationResult<DeleteTagsMutation>;
|
|
|
|
|
export type DeleteTagsMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
DeleteTagsMutation,
|
|
|
|
|
DeleteTagsMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetProfileImageUploadLinkDocument = gql`
|
|
|
|
|
mutation getProfileImageUploadLink($fileExt: String = ".png") {
|
|
|
|
|
getProfileImageUploadLink(fileExt: $fileExt) {
|
|
|
|
|