import * as Types from '#shared/graphql/types.ts'; 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 CurrentUserUpdatesDocument = gql` subscription currentUserUpdates($userId: ID!) { userUpdates(userId: $userId) { user { ...currentUserAttributes } } } ${CurrentUserAttributesFragmentDoc}`; export function useCurrentUserUpdatesSubscription(variables: Types.CurrentUserUpdatesSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(CurrentUserUpdatesDocument, variables, options); } export type CurrentUserUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;