make index commensurate with operations
This commit is contained in:
parent
e88d875bd9
commit
2db886ea13
@ -607,6 +607,15 @@ export type GetStreamMonitoringDetailsQuery = {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type DeleteVideoMutationVariables = Exact<{
|
||||||
|
videoId: Scalars["Int"]["input"];
|
||||||
|
}>;
|
||||||
|
|
||||||
|
export type DeleteVideoMutation = {
|
||||||
|
__typename?: "Mutation";
|
||||||
|
deleteVideo: boolean;
|
||||||
|
};
|
||||||
|
|
||||||
export type CreateUploadStreamMutationVariables = Exact<{
|
export type CreateUploadStreamMutationVariables = Exact<{
|
||||||
videoMetadataInput: VideoMetadataInput;
|
videoMetadataInput: VideoMetadataInput;
|
||||||
}>;
|
}>;
|
||||||
@ -1132,6 +1141,54 @@ export type GetStreamMonitoringDetailsQueryResult = Apollo.QueryResult<
|
|||||||
GetStreamMonitoringDetailsQuery,
|
GetStreamMonitoringDetailsQuery,
|
||||||
GetStreamMonitoringDetailsQueryVariables
|
GetStreamMonitoringDetailsQueryVariables
|
||||||
>;
|
>;
|
||||||
|
export const DeleteVideoDocument = gql`
|
||||||
|
mutation DeleteVideo($videoId: Int!) {
|
||||||
|
deleteVideo(videoId: $videoId)
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
export type DeleteVideoMutationFn = Apollo.MutationFunction<
|
||||||
|
DeleteVideoMutation,
|
||||||
|
DeleteVideoMutationVariables
|
||||||
|
>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* __useDeleteVideoMutation__
|
||||||
|
*
|
||||||
|
* To run a mutation, you first call `useDeleteVideoMutation` within a React component and pass it any options that fit your needs.
|
||||||
|
* When your component renders, `useDeleteVideoMutation` 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 [deleteVideoMutation, { data, loading, error }] = useDeleteVideoMutation({
|
||||||
|
* variables: {
|
||||||
|
* videoId: // value for 'videoId'
|
||||||
|
* },
|
||||||
|
* });
|
||||||
|
*/
|
||||||
|
export function useDeleteVideoMutation(
|
||||||
|
baseOptions?: Apollo.MutationHookOptions<
|
||||||
|
DeleteVideoMutation,
|
||||||
|
DeleteVideoMutationVariables
|
||||||
|
>,
|
||||||
|
) {
|
||||||
|
const options = { ...defaultOptions, ...baseOptions };
|
||||||
|
return Apollo.useMutation<DeleteVideoMutation, DeleteVideoMutationVariables>(
|
||||||
|
DeleteVideoDocument,
|
||||||
|
options,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
export type DeleteVideoMutationHookResult = ReturnType<
|
||||||
|
typeof useDeleteVideoMutation
|
||||||
|
>;
|
||||||
|
export type DeleteVideoMutationResult =
|
||||||
|
Apollo.MutationResult<DeleteVideoMutation>;
|
||||||
|
export type DeleteVideoMutationOptions = Apollo.BaseMutationOptions<
|
||||||
|
DeleteVideoMutation,
|
||||||
|
DeleteVideoMutationVariables
|
||||||
|
>;
|
||||||
export const CreateUploadStreamDocument = gql`
|
export const CreateUploadStreamDocument = gql`
|
||||||
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
|
||||||
createUploadStream(videoMetadata: $videoMetadataInput) {
|
createUploadStream(videoMetadata: $videoMetadataInput) {
|
||||||
|
Loading…
Reference in New Issue
Block a user