|
|
|
@@ -906,7 +906,7 @@ export type MutationSetLoggerLevelArgs = {
|
|
|
|
|
|
|
|
|
|
export type MutationSetSegmentDurationArgs = {
|
|
|
|
|
duration: Scalars["Float"]["input"];
|
|
|
|
|
segmentId: Scalars["Int"]["input"];
|
|
|
|
|
segmentIndex: Scalars["Int"]["input"];
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
@@ -1073,7 +1073,7 @@ export type TargetMetricsGql = {
|
|
|
|
|
|
|
|
|
|
export type UploadSegmentGql = {
|
|
|
|
|
__typename?: "UploadSegmentGQL";
|
|
|
|
|
durationsInSeconds?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
durationInSeconds?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
endFrameIndex?: Maybe<Scalars["Int"]["output"]>;
|
|
|
|
|
framesPerSecond?: Maybe<Scalars["Float"]["output"]>;
|
|
|
|
|
linksRequested: Scalars["Int"]["output"];
|
|
|
|
@@ -1167,8 +1167,10 @@ export type VideoHistoryGql = {
|
|
|
|
|
export type VideoMetadataInput = {
|
|
|
|
|
endStream?: Scalars["Boolean"]["input"];
|
|
|
|
|
endTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
|
|
|
|
framesPerSecond?: InputMaybe<Scalars["Float"]["input"]>;
|
|
|
|
|
gameType?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
|
lastIntendedSegmentBound?: InputMaybe<Scalars["Int"]["input"]>;
|
|
|
|
|
resolution: VideoResolution;
|
|
|
|
|
startTime?: InputMaybe<Scalars["DateTime"]["input"]>;
|
|
|
|
|
streamSegmentType?: InputMaybe<StreamSegmentTypeEnum>;
|
|
|
|
|
tableSize?: InputMaybe<Scalars["String"]["input"]>;
|
|
|
|
@@ -1188,6 +1190,11 @@ export type VideoProcessingGql = {
|
|
|
|
|
errors: Array<VideoProcessingErrorGql>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type VideoResolution = {
|
|
|
|
|
height: Scalars["Int"]["input"];
|
|
|
|
|
width: Scalars["Int"]["input"];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type VideoTag = {
|
|
|
|
|
__typename?: "VideoTag";
|
|
|
|
|
name: Scalars["String"]["output"];
|
|
|
|
@@ -1472,6 +1479,7 @@ export type GetStreamMonitoringDetailsQuery = {
|
|
|
|
|
isCompleted: boolean;
|
|
|
|
|
uploadCompletionCursor: number;
|
|
|
|
|
lastIntendedSegmentBound?: number | null;
|
|
|
|
|
initPlaylistUploadStatus?: InitPlaylistUploadStatusEnum | null;
|
|
|
|
|
} | null;
|
|
|
|
|
currentProcessing?: {
|
|
|
|
|
__typename?: "VideoProcessingGQL";
|
|
|
|
@@ -1669,6 +1677,34 @@ export type GetUploadLinkMutation = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type GetHlsInitUploadLinkMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type GetHlsInitUploadLinkMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
getHlsInitUploadLink: {
|
|
|
|
|
__typename?: "GetUploadLinkReturn";
|
|
|
|
|
uploadUrl: string;
|
|
|
|
|
headers: Array<{
|
|
|
|
|
__typename?: "Header";
|
|
|
|
|
key: string;
|
|
|
|
|
value: string;
|
|
|
|
|
} | null>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type SetSegmentDurationMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
segmentIndex: Scalars["Int"]["input"];
|
|
|
|
|
duration: Scalars["Float"]["input"];
|
|
|
|
|
}>;
|
|
|
|
|
|
|
|
|
|
export type SetSegmentDurationMutation = {
|
|
|
|
|
__typename?: "Mutation";
|
|
|
|
|
setSegmentDuration: boolean;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type EditUploadStreamMutationVariables = Exact<{
|
|
|
|
|
videoId: Scalars["Int"]["input"];
|
|
|
|
|
videoMetadataInput: VideoMetadataInput;
|
|
|
|
@@ -2643,6 +2679,7 @@ export const GetStreamMonitoringDetailsDocument = gql`
|
|
|
|
|
isCompleted
|
|
|
|
|
uploadCompletionCursor
|
|
|
|
|
lastIntendedSegmentBound
|
|
|
|
|
initPlaylistUploadStatus
|
|
|
|
|
}
|
|
|
|
|
currentProcessing {
|
|
|
|
|
errors {
|
|
|
|
@@ -3434,6 +3471,118 @@ export type GetUploadLinkMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
GetUploadLinkMutation,
|
|
|
|
|
GetUploadLinkMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const GetHlsInitUploadLinkDocument = gql`
|
|
|
|
|
mutation GetHlsInitUploadLink($videoId: Int!) {
|
|
|
|
|
getHlsInitUploadLink(videoId: $videoId) {
|
|
|
|
|
uploadUrl
|
|
|
|
|
headers {
|
|
|
|
|
key
|
|
|
|
|
value
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type GetHlsInitUploadLinkMutationFn = Apollo.MutationFunction<
|
|
|
|
|
GetHlsInitUploadLinkMutation,
|
|
|
|
|
GetHlsInitUploadLinkMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useGetHlsInitUploadLinkMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useGetHlsInitUploadLinkMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useGetHlsInitUploadLinkMutation` 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 [getHlsInitUploadLinkMutation, { data, loading, error }] = useGetHlsInitUploadLinkMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoId: // value for 'videoId'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useGetHlsInitUploadLinkMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
GetHlsInitUploadLinkMutation,
|
|
|
|
|
GetHlsInitUploadLinkMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
GetHlsInitUploadLinkMutation,
|
|
|
|
|
GetHlsInitUploadLinkMutationVariables
|
|
|
|
|
>(GetHlsInitUploadLinkDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type GetHlsInitUploadLinkMutationHookResult = ReturnType<
|
|
|
|
|
typeof useGetHlsInitUploadLinkMutation
|
|
|
|
|
>;
|
|
|
|
|
export type GetHlsInitUploadLinkMutationResult =
|
|
|
|
|
Apollo.MutationResult<GetHlsInitUploadLinkMutation>;
|
|
|
|
|
export type GetHlsInitUploadLinkMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
GetHlsInitUploadLinkMutation,
|
|
|
|
|
GetHlsInitUploadLinkMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const SetSegmentDurationDocument = gql`
|
|
|
|
|
mutation SetSegmentDuration(
|
|
|
|
|
$videoId: Int!
|
|
|
|
|
$segmentIndex: Int!
|
|
|
|
|
$duration: Float!
|
|
|
|
|
) {
|
|
|
|
|
setSegmentDuration(
|
|
|
|
|
videoId: $videoId
|
|
|
|
|
segmentIndex: $segmentIndex
|
|
|
|
|
duration: $duration
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
export type SetSegmentDurationMutationFn = Apollo.MutationFunction<
|
|
|
|
|
SetSegmentDurationMutation,
|
|
|
|
|
SetSegmentDurationMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* __useSetSegmentDurationMutation__
|
|
|
|
|
*
|
|
|
|
|
* To run a mutation, you first call `useSetSegmentDurationMutation` within a React component and pass it any options that fit your needs.
|
|
|
|
|
* When your component renders, `useSetSegmentDurationMutation` 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 [setSegmentDurationMutation, { data, loading, error }] = useSetSegmentDurationMutation({
|
|
|
|
|
* variables: {
|
|
|
|
|
* videoId: // value for 'videoId'
|
|
|
|
|
* segmentIndex: // value for 'segmentIndex'
|
|
|
|
|
* duration: // value for 'duration'
|
|
|
|
|
* },
|
|
|
|
|
* });
|
|
|
|
|
*/
|
|
|
|
|
export function useSetSegmentDurationMutation(
|
|
|
|
|
baseOptions?: Apollo.MutationHookOptions<
|
|
|
|
|
SetSegmentDurationMutation,
|
|
|
|
|
SetSegmentDurationMutationVariables
|
|
|
|
|
>,
|
|
|
|
|
) {
|
|
|
|
|
const options = { ...defaultOptions, ...baseOptions };
|
|
|
|
|
return Apollo.useMutation<
|
|
|
|
|
SetSegmentDurationMutation,
|
|
|
|
|
SetSegmentDurationMutationVariables
|
|
|
|
|
>(SetSegmentDurationDocument, options);
|
|
|
|
|
}
|
|
|
|
|
export type SetSegmentDurationMutationHookResult = ReturnType<
|
|
|
|
|
typeof useSetSegmentDurationMutation
|
|
|
|
|
>;
|
|
|
|
|
export type SetSegmentDurationMutationResult =
|
|
|
|
|
Apollo.MutationResult<SetSegmentDurationMutation>;
|
|
|
|
|
export type SetSegmentDurationMutationOptions = Apollo.BaseMutationOptions<
|
|
|
|
|
SetSegmentDurationMutation,
|
|
|
|
|
SetSegmentDurationMutationVariables
|
|
|
|
|
>;
|
|
|
|
|
export const EditUploadStreamDocument = gql`
|
|
|
|
|
mutation EditUploadStream(
|
|
|
|
|
$videoId: Int!
|
|
|
|
|