import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { TicketSharedDraftStartAttributesFragmentDoc } from '../fragments/ticketSharedDraftStartAttributes.api'; import { ErrorsFragmentDoc } from '../../../../graphql/fragments/errors.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const TicketSharedDraftStartCreateDocument = gql` mutation ticketSharedDraftStartCreate($name: String!, $input: TicketSharedDraftStartInput!) { ticketSharedDraftStartCreate(name: $name, input: $input) { sharedDraft { ...ticketSharedDraftStartAttributes } errors { ...errors } } } ${TicketSharedDraftStartAttributesFragmentDoc} ${ErrorsFragmentDoc}`; export function useTicketSharedDraftStartCreateMutation(options: VueApolloComposable.UseMutationOptions | ReactiveFunction> = {}) { return VueApolloComposable.useMutation(TicketSharedDraftStartCreateDocument, options); } export type TicketSharedDraftStartCreateMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn;