|
|
|
@@ -2906,6 +2906,7 @@ export type VideoMetadataInput = {
|
|
|
|
|
endStream?: Scalars["Boolean"]["input"];
|
|
|
|
|
endTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
|
|
|
|
framesPerSecond?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
/** @deprecated `game_type` is deprecated. Use `tags` instead. */
|
|
|
|
|
gameType?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
lastIntendedSegmentBound?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
private?: InputMaybe<Scalars["Boolean"]["input"]>;
|
|
|
|
@@ -2913,6 +2914,8 @@ export type VideoMetadataInput = {
|
|
|
|
|
startTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
|
|
|
|
streamSegmentType?: InputMaybe<StreamSegmentTypeEnum>;
|
|
|
|
|
tableSize?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
/** A list of tags associated with the video. Replace `game_type` */
|
|
|
|
|
tags?: InputMaybe<Array<VideoTagInput>>;
|
|
|
|
|
videoName?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -3045,6 +3048,7 @@ export type GetFeedQuery = {
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
@@ -3098,6 +3102,7 @@ export type VideoCardFieldsFragment = {
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
@@ -3154,6 +3159,7 @@ export type GetVideoFeedQuery = {
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
} | null;
|
|
|
|
|
tags: Array<{
|
|
|
|
@@ -4474,6 +4480,30 @@ export type GetHeaderInfoByVideoIdQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetBannerInfoByVideoIdQueryVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetBannerInfoByVideoIdQuery = {
|
|
|
|
|
__typename?: "Query";
|
|
|
|
|
getVideo: {
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
name?: string | null;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
id: string;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
} | null;
|
|
|
|
|
owner?: { __typename?: "UserGQL"; id: number } | null;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
status: ProcessingStatusEnum;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type FindPrerecordTableLayoutMutationVariables = Exact<{
|
|
|
|
|
b64Image: Scalars["String"]["input"];
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
@@ -4681,6 +4711,20 @@ export type GetUploadStreamsQuery = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type UploadStreamWithDetailsFragment = {
|
|
|
|
|
__typename?: "VideoGQL";
|
|
|
|
|
id: number;
|
|
|
|
|
name?: string | null;
|
|
|
|
|
startTime?: any | null;
|
|
|
|
|
stream?: {
|
|
|
|
|
__typename?: "UploadStreamGQL";
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
uploadCompletionCursor: number;
|
|
|
|
|
uploadsCompleted: number;
|
|
|
|
|
} | null;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetUploadStreamsWithDetailsQueryVariables = Exact<{
|
|
|
|
|
limit?: Scalars["Int"]["input"];
|
|
|
|
|
after?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
@@ -4734,6 +4778,7 @@ export const VideoCardFieldsFragmentDoc = gql`
|
|
|
|
|
screenshotUri
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
lastIntendedSegmentBound
|
|
|
|
|
isCompleted
|
|
|
|
|
}
|
|
|
|
|
tableSize
|
|
|
|
@@ -4938,6 +4983,19 @@ export const HomographyInfoFragmentDoc = gql`
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const UploadStreamWithDetailsFragmentDoc = gql`
|
|
|
|
|
fragment UploadStreamWithDetails on VideoGQL {
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
startTime
|
|
|
|
|
stream {
|
|
|
|
|
isCompleted
|
|
|
|
|
lastIntendedSegmentBound
|
|
|
|
|
uploadCompletionCursor
|
|
|
|
|
uploadsCompleted
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export const GetAggregatedShotMetricsDocument = gql`
|
|
|
|
|
query GetAggregatedShotMetrics($aggregateInput: AggregateInputGQL!) {
|
|
|
|
|
getAggregatedShotMetrics(aggregateInput: $aggregateInput) {
|
|
|
|
@@ -8211,6 +8269,91 @@ export type GetHeaderInfoByVideoIdQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetHeaderInfoByVideoIdQuery,
|
|
|
|
|
GetHeaderInfoByVideoIdQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetBannerInfoByVideoIdDocument = gql`
|
|
|
|
|
query GetBannerInfoByVideoId($videoId: Int!) {
|
|
|
|
|
getVideo(videoId: $videoId) {
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
stream {
|
|
|
|
|
id
|
|
|
|
|
lastIntendedSegmentBound
|
|
|
|
|
}
|
|
|
|
|
owner {
|
|
|
|
|
id
|
|
|
|
|
}
|
|
|
|
|
currentProcessing {
|
|
|
|
|
id
|
|
|
|
|
status
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetBannerInfoByVideoIdQuery__
|
|
|
|
|
*
|
|
|
|
|
* To run a query within a React component, call `useGetBannerInfoByVideoIdQuery` and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetBannerInfoByVideoIdQuery` 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 } = useGetBannerInfoByVideoIdQuery({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoId: // value for 'videoId'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetBannerInfoByVideoIdQuery(
|
|
|
|
|
baseOptions: Apollo.QueryHookOptions<
|
|
|
|
|
GetBannerInfoByVideoIdQuery,
|
|
|
|
|
GetBannerInfoByVideoIdQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useQuery<
|
|
|
|
|
GetBannerInfoByVideoIdQuery,
|
|
|
|
|
GetBannerInfoByVideoIdQueryVariables
|
|
|
|
|
>(GetBannerInfoByVideoIdDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetBannerInfoByVideoIdLazyQuery(
|
|
|
|
|
baseOptions?: Apollo.LazyQueryHookOptions<
|
|
|
|
|
GetBannerInfoByVideoIdQuery,
|
|
|
|
|
GetBannerInfoByVideoIdQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useLazyQuery<
|
|
|
|
|
GetBannerInfoByVideoIdQuery,
|
|
|
|
|
GetBannerInfoByVideoIdQueryVariables
|
|
|
|
|
>(GetBannerInfoByVideoIdDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export function useGetBannerInfoByVideoIdSuspenseQuery(
|
|
|
|
|
baseOptions?: Apollo.SuspenseQueryHookOptions<
|
|
|
|
|
GetBannerInfoByVideoIdQuery,
|
|
|
|
|
GetBannerInfoByVideoIdQueryVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useSuspenseQuery<
|
|
|
|
|
GetBannerInfoByVideoIdQuery,
|
|
|
|
|
GetBannerInfoByVideoIdQueryVariables
|
|
|
|
|
>(GetBannerInfoByVideoIdDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetBannerInfoByVideoIdQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetBannerInfoByVideoIdQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetBannerInfoByVideoIdLazyQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetBannerInfoByVideoIdLazyQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetBannerInfoByVideoIdSuspenseQueryHookResult = ReturnType<
|
|
|
|
|
typeof useGetBannerInfoByVideoIdSuspenseQuery
|
|
|
|
|
>;
|
|
|
|
|
export type GetBannerInfoByVideoIdQueryResult = Apollo.QueryResult<
|
|
|
|
|
GetBannerInfoByVideoIdQuery,
|
|
|
|
|
GetBannerInfoByVideoIdQueryVariables
|
|
|
|
|
>;
|
|
|
|
|
export const FindPrerecordTableLayoutDocument = gql`
|
|
|
|
|
mutation FindPrerecordTableLayout($b64Image: String!, $videoId: Int!) {
|
|
|
|
|
findPrerecordTableLayout(b64Image: $b64Image, videoId: $videoId) {
|
|
|
|
@@ -8669,15 +8812,7 @@ export const GetUploadStreamsWithDetailsDocument = gql`
|
|
|
|
|
) {
|
|
|
|
|
getUserVideos(limit: $limit, after: $after, filters: $filters) {
|
|
|
|
|
videos {
|
|
|
|
|
id
|
|
|
|
|
name
|
|
|
|
|
startTime
|
|
|
|
|
stream {
|
|
|
|
|
isCompleted
|
|
|
|
|
lastIntendedSegmentBound
|
|
|
|
|
uploadCompletionCursor
|
|
|
|
|
uploadsCompleted
|
|
|
|
|
}
|
|
|
|
|
...UploadStreamWithDetails
|
|
|
|
|
}
|
|
|
|
|
pageInfo {
|
|
|
|
|
hasNextPage
|
|
|
|
@@ -8685,6 +8820,7 @@ export const GetUploadStreamsWithDetailsDocument = gql`
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
${UploadStreamWithDetailsFragmentDoc}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|