import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { TokenAttributesFragmentDoc } from '../fragments/tokenAttributes.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 UserCurrentAccessTokenAddDocument = gql` mutation userCurrentAccessTokenAdd($input: UserAccessTokenInput!) { userCurrentAccessTokenAdd(input: $input) { token { ...tokenAttributes } tokenValue errors { ...errors } } } ${TokenAttributesFragmentDoc} ${ErrorsFragmentDoc}`; export function useUserCurrentAccessTokenAddMutation(options: VueApolloComposable.UseMutationOptions | ReactiveFunction> = {}) { return VueApolloComposable.useMutation(UserCurrentAccessTokenAddDocument, options); } export type UserCurrentAccessTokenAddMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn;