make index commensurate with operations

This commit is contained in:
Mike Kalange 2024-03-12 13:06:14 -06:00
parent e88d875bd9
commit 2db886ea13

View File

@ -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<{
videoMetadataInput: VideoMetadataInput;
}>;
@ -1132,6 +1141,54 @@ export type GetStreamMonitoringDetailsQueryResult = Apollo.QueryResult<
GetStreamMonitoringDetailsQuery,
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`
mutation CreateUploadStream($videoMetadataInput: VideoMetadataInput!) {
createUploadStream(videoMetadata: $videoMetadataInput) {