import * as Types from '../types'; import gql from 'graphql-tag'; import { CurrentUserAttributesFragmentDoc } from '../fragments/currentUserAttributes.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const CurrentUserDocument = gql` query currentUser { currentUser { ...currentUserAttributes } } ${CurrentUserAttributesFragmentDoc}`; export function useCurrentUserQuery(options: VueApolloComposable.UseQueryOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useQuery(CurrentUserDocument, {}, options); } export function useCurrentUserLazyQuery(options: VueApolloComposable.UseQueryOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useLazyQuery(CurrentUserDocument, {}, options); } export type CurrentUserQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn;