import * as Types from '../types'; import gql from 'graphql-tag'; import { ErrorsFragmentDoc } from '../fragments/errors.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const LoginDocument = gql` mutation login($input: LoginInput!) { login(input: $input) { sessionId errors { ...errors } } } ${ErrorsFragmentDoc}`; export function useLoginMutation(options: VueApolloComposable.UseMutationOptions | ReactiveFunction> = {}) { return VueApolloComposable.useMutation(LoginDocument, options); } export type LoginMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn;