|
|
|
@@ -140,6 +140,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -170,6 +171,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -200,6 +202,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -230,6 +233,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -260,6 +264,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -290,6 +295,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -320,6 +326,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -350,6 +357,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance: RangeFilter;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -380,6 +388,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject: RangeFilter;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -410,6 +419,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty: RangeFilter;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -440,6 +450,38 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: 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>;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -470,6 +512,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect: Array<Scalars["Boolean"]["input"]>;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -500,6 +543,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft: Array<Scalars["Boolean"]["input"]>;
|
|
|
|
@@ -530,6 +574,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -560,6 +605,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -590,6 +636,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -620,6 +667,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -650,6 +698,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -680,6 +729,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -710,6 +760,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -740,6 +791,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -770,6 +822,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -800,6 +853,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -830,6 +884,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -860,6 +915,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -890,6 +946,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -920,6 +977,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -950,6 +1008,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -1142,10 +1201,6 @@ export type QueryGetUserArgs = {
|
|
|
|
|
userId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetUserTagsArgs = {
|
|
|
|
|
userId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetUserVideosArgs = {
|
|
|
|
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
filters?: InputMaybe<VideoFilterInput>;
|
|
|
|
@@ -1174,6 +1229,7 @@ export type QueryGetVideosArgs = {
|
|
|
|
|
|
|
|
|
|
export type RangeFilter = {
|
|
|
|
|
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
includeOnNone?: Scalars["Boolean"]["input"];
|
|
|
|
|
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -1215,6 +1271,7 @@ export type ShotGql = {
|
|
|
|
|
createdAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
cueObjectFeatures?: Maybe<CueObjectFeaturesGql>;
|
|
|
|
|
endFrame: Scalars["Int"]["output"];
|
|
|
|
|
falsePositiveScore?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
id: Scalars["Int"]["output"];
|
|
|
|
|
pocketingIntentionFeatures?: Maybe<PocketingIntentionFeaturesGql>;
|
|
|
|
|
serializedShotPaths?: Maybe<SerializedShotPathsGql>;
|
|
|
|
@@ -1269,8 +1326,10 @@ export type UploadStreamGql = {
|
|
|
|
|
lastIntendedSegmentBound?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
linksRequested: Scalars["Int"]["output"];
|
|
|
|
|
lowestUnuploadedSegmentIndex: Scalars["Int"]["output"];
|
|
|
|
|
resolution: VideoResolutionGql;
|
|
|
|
|
segmentProcessingCursor: Scalars["Int"]["output"];
|
|
|
|
|
segments: Array<UploadSegmentGql>;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
updatedAt: Scalars["DateTime"]["output"];
|
|
|
|
|
uploadCompletionCursor: Scalars["Int"]["output"];
|
|
|
|
|
uploadsCompleted: Scalars["Int"]["output"];
|
|
|
|
@@ -1372,6 +1431,12 @@ export type VideoResolution = {
|
|
|
|
|
width: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type VideoResolutionGql = {
|
|
|
|
|
__typename?: "VideoResolutionGQL";
|
|
|
|
|
height?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
width?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type VideoTag = {
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: Scalars["String"]["output"];
|
|
|
|
@@ -1507,6 +1572,7 @@ export type GetShotsQuery = {
|
|
|
|
|
videoId: number;
|
|
|
|
|
startFrame: number;
|
|
|
|
|
endFrame: number;
|
|
|
|
|
falsePositiveScore?: number | null;
|
|
|
|
|
createdAt?: any | null;
|
|
|
|
|
updatedAt?: any | null;
|
|
|
|
|
user?: { __typename?: "UserGQL"; id: number } | null;
|
|
|
|
@@ -1777,14 +1843,46 @@ export type GetVideoQuery = {
|
|
|
|
|
__typename?: "HLSPlaylistGQL";
|
|
|
|
|
segmentDurations: Array<number>;
|
|
|
|
|
} | null;
|
|
|
|
|
homographyHistory: Array<{
|
|
|
|
|
__typename?: "HomographyInfoGQL";
|
|
|
|
|
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?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
segments: Array<{
|
|
|
|
|
__typename?: "UploadSegmentGQL";
|
|
|
|
|
segmentIndex: number;
|
|
|
|
|
endFrameIndex?: number | null;
|
|
|
|
|
framesPerSecond?: number | null;
|
|
|
|
|
}>;
|
|
|
|
|
resolution: {
|
|
|
|
|
__typename?: "VideoResolutionGQL";
|
|
|
|
|
width?: number | null;
|
|
|
|
|
height?: number | null;
|
|
|
|
|
};
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
@@ -1824,6 +1922,35 @@ export type GetMedianRunForVideoQuery = {
|
|
|
|
|
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;
|
|
|
|
|
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<{
|
|
|
|
|
videoMetadataInput: VideoMetadataInput;
|
|
|
|
|
}>;
|
|
|
|
@@ -2301,6 +2428,7 @@ export const GetShotsDocument = gql`
|
|
|
|
|
user {
|
|
|
|
|
id
|
|
|
|
|
}
|
|
|
|
|
falsePositiveScore
|
|
|
|
|
createdAt @include(if: $includeCreatedAt)
|
|
|
|
|
updatedAt @include(if: $includeUpdatedAt)
|
|
|
|
|
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
|
|
|
@@ -3250,12 +3378,57 @@ export const GetVideoDocument = gql`
|
|
|
|
|
playlist {
|
|
|
|
|
segmentDurations
|
|
|
|
|
}
|
|
|
|
|
homographyHistory {
|
|
|
|
|
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 {
|
|
|
|
|
streamSegmentType
|
|
|
|
|
segments {
|
|
|
|
|
segmentIndex
|
|
|
|
|
endFrameIndex
|
|
|
|
|
framesPerSecond
|
|
|
|
|
}
|
|
|
|
|
resolution {
|
|
|
|
|
width
|
|
|
|
|
height
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@@ -3543,6 +3716,93 @@ export type GetMedianRunForVideoQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetMedianRunForVideoQuery,
|
|
|
|
|
GetMedianRunForVideoQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetVideoForClipTimesDocument = gql`
|
|
|
|
|
query GetVideoForClipTimes($videoId: Int!) {
|
|
|
|
|
getVideo(videoId: $videoId) {
|
|
|
|
|
id
|
|
|
|
|
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`
|
|
|
|
|
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
|
|
|
|
createUploadStream(videoMetadata: $videoMetadataInput) {
|
|
|
|
|