import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; 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 UserCurrentAvatarAddDocument = gql` mutation userCurrentAvatarAdd($images: AvatarInput!) { userCurrentAvatarAdd(images: $images) { avatar { id default deletable initial imageFull imageResize imageHash createdAt updatedAt } errors { ...errors } } } ${ErrorsFragmentDoc}`; export function useUserCurrentAvatarAddMutation(options: VueApolloComposable.UseMutationOptions | ReactiveFunction> = {}) { return VueApolloComposable.useMutation(UserCurrentAvatarAddDocument, options); } export type UserCurrentAvatarAddMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn;