Compare commits

..

No commits in common. "12f7e1f1155f2c9b10985c895c68cfa08813f47a" and "d25c08447e9b0f2576f99917854fd9789d6c5c2d" have entirely different histories.

2 changed files with 0 additions and 81 deletions

View File

@ -1669,23 +1669,6 @@ 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 EditUploadStreamMutationVariables = Exact<{ export type EditUploadStreamMutationVariables = Exact<{
videoId: Scalars["Int"]["input"]; videoId: Scalars["Int"]["input"];
videoMetadataInput: VideoMetadataInput; videoMetadataInput: VideoMetadataInput;
@ -3451,60 +3434,6 @@ export type GetUploadLinkMutationOptions = Apollo.BaseMutationOptions<
GetUploadLinkMutation, GetUploadLinkMutation,
GetUploadLinkMutationVariables 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 EditUploadStreamDocument = gql` export const EditUploadStreamDocument = gql`
mutation EditUploadStream( mutation EditUploadStream(
$videoId: Int! $videoId: Int!

View File

@ -14,16 +14,6 @@ mutation GetUploadLink($videoId: Int!, $segmentIndex: Int!) {
} }
} }
mutation GetHlsInitUploadLink($videoId: Int!) {
getHlsInitUploadLink(videoId: $videoId) {
uploadUrl
headers {
key
value
}
}
}
mutation EditUploadStream( mutation EditUploadStream(
$videoId: Int! $videoId: Int!
$videoMetadataInput: VideoMetadataInput! $videoMetadataInput: VideoMetadataInput!