TerminateUploadStream -- add fields #3

Merged
colonelpanic merged 3 commits from loewy/terminate-upload-add-fields into master 2024-02-15 21:38:16 -07:00
Showing only changes of commit 234d4d0fa9 - Show all commits

View File

@ -392,6 +392,9 @@ export type GetUploadLinkMutation = { __typename?: 'Mutation', getUploadLink: {
export type TerminateUploadStreamMutationVariables = Exact<{ export type TerminateUploadStreamMutationVariables = Exact<{
videoId: Scalars['Int']['input']; videoId: Scalars['Int']['input'];
videoName?: InputMaybe<Scalars['String']['input']>;
gameType?: InputMaybe<Scalars['String']['input']>;
tableSize?: InputMaybe<Scalars['String']['input']>;
}>; }>;
@ -594,8 +597,13 @@ export type GetUploadLinkMutationHookResult = ReturnType<typeof useGetUploadLink
export type GetUploadLinkMutationResult = Apollo.MutationResult<GetUploadLinkMutation>; export type GetUploadLinkMutationResult = Apollo.MutationResult<GetUploadLinkMutation>;
export type GetUploadLinkMutationOptions = Apollo.BaseMutationOptions<GetUploadLinkMutation, GetUploadLinkMutationVariables>; export type GetUploadLinkMutationOptions = Apollo.BaseMutationOptions<GetUploadLinkMutation, GetUploadLinkMutationVariables>;
export const TerminateUploadStreamDocument = gql` export const TerminateUploadStreamDocument = gql`
mutation TerminateUploadStream($videoId: Int!) { mutation TerminateUploadStream($videoId: Int!, $videoName: String, $gameType: String, $tableSize: String) {
terminateUploadStream(videoId: $videoId) terminateUploadStream(
videoId: $videoId
videoName: $videoName
gameType: $gameType
tableSize: $tableSize
)
} }
`; `;
export type TerminateUploadStreamMutationFn = Apollo.MutationFunction<TerminateUploadStreamMutation, TerminateUploadStreamMutationVariables>; export type TerminateUploadStreamMutationFn = Apollo.MutationFunction<TerminateUploadStreamMutation, TerminateUploadStreamMutationVariables>;
@ -614,6 +622,9 @@ export type TerminateUploadStreamMutationFn = Apollo.MutationFunction<TerminateU
* const [terminateUploadStreamMutation, { data, loading, error }] = useTerminateUploadStreamMutation({ * const [terminateUploadStreamMutation, { data, loading, error }] = useTerminateUploadStreamMutation({
* variables: { * variables: {
* videoId: // value for 'videoId' * videoId: // value for 'videoId'
* videoName: // value for 'videoName'
* gameType: // value for 'gameType'
* tableSize: // value for 'tableSize'
* }, * },
* }); * });
*/ */