|
|
|
@@ -102,6 +102,10 @@ export type CreateUploadStreamReturn = {
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type CreatedAfter =
|
|
|
|
|
| { createdAt: Scalars["DateTime"]["input"]; videoId?: never }
|
|
|
|
|
| { createdAt?: never; videoId: Scalars["Int"]["input"] };
|
|
|
|
|
|
|
|
|
|
export type CueObjectFeaturesGql = {
|
|
|
|
|
__typename?: "CueObjectFeaturesGQL";
|
|
|
|
|
cueBallSpeed?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
@@ -140,6 +144,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -170,6 +175,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -200,6 +206,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -230,6 +237,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -260,6 +268,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -290,6 +299,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -320,6 +330,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -350,6 +361,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance: RangeFilter;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -380,6 +392,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject: RangeFilter;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -410,6 +423,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty: RangeFilter;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -440,6 +454,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 +516,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect: Array<Scalars["Boolean"]["input"]>;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -500,6 +547,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft: Array<Scalars["Boolean"]["input"]>;
|
|
|
|
@@ -530,6 +578,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -560,6 +609,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -590,6 +640,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -620,6 +671,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -650,6 +702,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -680,6 +733,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -710,6 +764,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -740,6 +795,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -770,6 +826,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -800,6 +857,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -830,6 +888,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -860,6 +919,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -890,6 +950,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -920,6 +981,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -950,6 +1012,7 @@ export type FilterInput =
|
|
|
|
|
cueObjectDistance?: never;
|
|
|
|
|
cueSpeedAfterObject?: never;
|
|
|
|
|
difficulty?: never;
|
|
|
|
|
falsePositiveScore?: never;
|
|
|
|
|
intendedPocketType?: never;
|
|
|
|
|
isDirect?: never;
|
|
|
|
|
isLeft?: never;
|
|
|
|
@@ -970,6 +1033,11 @@ export type FilterInput =
|
|
|
|
|
videoId: Array<Scalars["Int"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetShotsPagination = {
|
|
|
|
|
createdAfter: CreatedAfter;
|
|
|
|
|
startFrameAfter: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetUploadLinkReturn = {
|
|
|
|
|
__typename?: "GetUploadLinkReturn";
|
|
|
|
|
headers: Array<Maybe<Header>>;
|
|
|
|
@@ -1018,6 +1086,7 @@ export type MakePercentageIntervalGql = {
|
|
|
|
|
|
|
|
|
|
export type Mutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
addAnnotationToShot: Scalars["Boolean"]["output"];
|
|
|
|
|
createBucketSet: BucketSetGql;
|
|
|
|
|
createUploadStream: CreateUploadStreamReturn;
|
|
|
|
|
deleteVideo: Scalars["Boolean"]["output"];
|
|
|
|
@@ -1030,6 +1099,11 @@ export type Mutation = {
|
|
|
|
|
setSegmentDuration: Scalars["Boolean"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationAddAnnotationToShotArgs = {
|
|
|
|
|
annotationName: Scalars["String"]["input"];
|
|
|
|
|
shotId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type MutationCreateBucketSetArgs = {
|
|
|
|
|
params: CreateBucketSetInput;
|
|
|
|
|
};
|
|
|
|
@@ -1120,6 +1194,7 @@ export type Query = {
|
|
|
|
|
getVideo: VideoGql;
|
|
|
|
|
getVideoMakePercentageIntervals: Array<MakePercentageIntervalGql>;
|
|
|
|
|
getVideos: Array<VideoGql>;
|
|
|
|
|
waitFor: Scalars["Float"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetAggregatedShotMetricsArgs = {
|
|
|
|
@@ -1136,6 +1211,8 @@ export type QueryGetPlayTimeArgs = {
|
|
|
|
|
|
|
|
|
|
export type QueryGetShotsArgs = {
|
|
|
|
|
filterInput: FilterInput;
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
shotsPagination?: InputMaybe<GetShotsPagination>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryGetUserArgs = {
|
|
|
|
@@ -1168,8 +1245,13 @@ export type QueryGetVideosArgs = {
|
|
|
|
|
videoIds: Array<Scalars["Int"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type QueryWaitForArgs = {
|
|
|
|
|
duration: Scalars["Float"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type RangeFilter = {
|
|
|
|
|
greaterThanEqualTo?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
includeOnNone?: Scalars["Boolean"]["input"];
|
|
|
|
|
lessThan?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -1211,12 +1293,14 @@ 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>;
|
|
|
|
|
startFrame: Scalars["Int"]["output"];
|
|
|
|
|
updatedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
|
|
|
user?: Maybe<UserGql>;
|
|
|
|
|
video?: Maybe<VideoGql>;
|
|
|
|
|
videoId: Scalars["Int"]["output"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -1268,6 +1352,7 @@ export type UploadStreamGql = {
|
|
|
|
|
resolution: VideoResolutionGql;
|
|
|
|
|
segmentProcessingCursor: Scalars["Int"]["output"];
|
|
|
|
|
segments: Array<UploadSegmentGql>;
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
updatedAt: Scalars["DateTime"]["output"];
|
|
|
|
|
uploadCompletionCursor: Scalars["Int"]["output"];
|
|
|
|
|
uploadsCompleted: Scalars["Int"]["output"];
|
|
|
|
@@ -1489,6 +1574,8 @@ export type GetVideoMakePercentageIntervalsQuery = {
|
|
|
|
|
|
|
|
|
|
export type GetShotsQueryVariables = Exact<{
|
|
|
|
|
filterInput: FilterInput;
|
|
|
|
|
shotsPagination: GetShotsPagination;
|
|
|
|
|
limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
includeCreatedAt?: Scalars["Boolean"]["input"];
|
|
|
|
|
includeUpdatedAt?: Scalars["Boolean"]["input"];
|
|
|
|
|
includeCueObjectFeatures?: Scalars["Boolean"]["input"];
|
|
|
|
@@ -1510,6 +1597,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;
|
|
|
|
@@ -1782,6 +1870,7 @@ export type GetVideoQuery = {
|
|
|
|
|
} | null;
|
|
|
|
|
homographyHistory: Array<{
|
|
|
|
|
__typename?: "HomographyInfoGQL";
|
|
|
|
|
frameIndex: number;
|
|
|
|
|
crop: {
|
|
|
|
|
__typename?: "BoundingBoxGQL";
|
|
|
|
|
left: number;
|
|
|
|
@@ -1808,6 +1897,7 @@ export type GetVideoQuery = {
|
|
|
|
|
}>;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
streamSegmentType: StreamSegmentTypeEnum;
|
|
|
|
|
segments: Array<{
|
|
|
|
|
__typename?: "UploadSegmentGQL";
|
|
|
|
|
segmentIndex: number;
|
|
|
|
@@ -1858,6 +1948,36 @@ 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;
|
|
|
|
|
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<{
|
|
|
|
|
videoMetadataInput: VideoMetadataInput;
|
|
|
|
|
}>;
|
|
|
|
@@ -2315,6 +2435,8 @@ export type GetVideoMakePercentageIntervalsQueryResult = Apollo.QueryResult<
|
|
|
|
|
export const GetShotsDocument = gql`
|
|
|
|
|
query GetShots(
|
|
|
|
|
$filterInput: FilterInput!
|
|
|
|
|
$shotsPagination: GetShotsPagination!
|
|
|
|
|
$limit: Int
|
|
|
|
|
$includeCreatedAt: Boolean! = false
|
|
|
|
|
$includeUpdatedAt: Boolean! = false
|
|
|
|
|
$includeCueObjectFeatures: Boolean! = false
|
|
|
|
@@ -2327,7 +2449,11 @@ export const GetShotsDocument = gql`
|
|
|
|
|
$includeMake: Boolean! = false
|
|
|
|
|
$includeIntendedPocketType: Boolean! = false
|
|
|
|
|
) {
|
|
|
|
|
getShots(filterInput: $filterInput) {
|
|
|
|
|
getShots(
|
|
|
|
|
filterInput: $filterInput
|
|
|
|
|
shotsPagination: $shotsPagination
|
|
|
|
|
limit: $limit
|
|
|
|
|
) {
|
|
|
|
|
id
|
|
|
|
|
videoId
|
|
|
|
|
startFrame
|
|
|
|
@@ -2335,6 +2461,7 @@ export const GetShotsDocument = gql`
|
|
|
|
|
user {
|
|
|
|
|
id
|
|
|
|
|
}
|
|
|
|
|
falsePositiveScore
|
|
|
|
|
createdAt @include(if: $includeCreatedAt)
|
|
|
|
|
updatedAt @include(if: $includeUpdatedAt)
|
|
|
|
|
cueObjectFeatures @include(if: $includeCueObjectFeatures) {
|
|
|
|
@@ -2366,6 +2493,8 @@ export const GetShotsDocument = gql`
|
|
|
|
|
* const { data, loading, error } = useGetShotsQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* filterInput: // value for 'filterInput'
|
|
|
|
|
* shotsPagination: // value for 'shotsPagination'
|
|
|
|
|
* limit: // value for 'limit'
|
|
|
|
|
* includeCreatedAt: // value for 'includeCreatedAt'
|
|
|
|
|
* includeUpdatedAt: // value for 'includeUpdatedAt'
|
|
|
|
|
* includeCueObjectFeatures: // value for 'includeCueObjectFeatures'
|
|
|
|
@@ -3285,6 +3414,7 @@ export const GetVideoDocument = gql`
|
|
|
|
|
segmentDurations
|
|
|
|
|
}
|
|
|
|
|
homographyHistory {
|
|
|
|
|
frameIndex
|
|
|
|
|
crop {
|
|
|
|
|
left
|
|
|
|
|
top
|
|
|
|
@@ -3325,6 +3455,7 @@ export const GetVideoDocument = gql`
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
stream {
|
|
|
|
|
streamSegmentType
|
|
|
|
|
segments {
|
|
|
|
|
segmentIndex
|
|
|
|
|
endFrameIndex
|
|
|
|
@@ -3621,6 +3752,94 @@ export type GetMedianRunForVideoQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetMedianRunForVideoQuery,
|
|
|
|
|
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`
|
|
|
|
|
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
|
|
|
|
createUploadStream(videoMetadata: $videoMetadataInput) {
|
|
|
|
|