import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { SessionFragmentDoc } from '../fragments/session.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const SessionDocument = gql` query session { session { ...session } } ${SessionFragmentDoc}`; export function useSessionQuery(options: VueApolloComposable.UseQueryOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useQuery(SessionDocument, {}, options); } export function useSessionLazyQuery(options: VueApolloComposable.UseQueryOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useLazyQuery(SessionDocument, {}, options); } export type SessionQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn;