import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { UserAttributesFragmentDoc } from '../../../../graphql/fragments/userAttributes.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 UserAddDocument = gql` mutation userAdd($input: UserInput!, $sendInvite: Boolean) { userAdd(input: $input, sendInvite: $sendInvite) { user { ...userAttributes } errors { ...errors } } } ${UserAttributesFragmentDoc} ${ErrorsFragmentDoc}`; export function useUserAddMutation(options: VueApolloComposable.UseMutationOptions | ReactiveFunction> = {}) { return VueApolloComposable.useMutation(UserAddDocument, options); } export type UserAddMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn;