import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { OrganizationAttributesFragmentDoc } from '../../../../../../shared/entities/organization/graphql/fragments/organizationAttributes.api'; import { ErrorsFragmentDoc } from '../../../../../../shared/graphql/fragments/errors.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const OrganizationUpdateDocument = gql` mutation organizationUpdate($id: ID!, $input: OrganizationInput!) { organizationUpdate(id: $id, input: $input) { organization { ...organizationAttributes } errors { ...errors } } } ${OrganizationAttributesFragmentDoc} ${ErrorsFragmentDoc}`; export function useOrganizationUpdateMutation(options: VueApolloComposable.UseMutationOptions | ReactiveFunction> = {}) { return VueApolloComposable.useMutation(OrganizationUpdateDocument, options); } export type OrganizationUpdateMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn;