import * as Types from '../types'; import gql from 'graphql-tag'; import { UserDetailAttributesFragmentDoc } from '../fragments/userDetailAttributes.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const UserUpdatesDocument = gql` subscription userUpdates($userId: ID!) { userUpdates(userId: $userId) { user { ...userDetailAttributes } } } ${UserDetailAttributesFragmentDoc}`; export function useUserUpdatesSubscription(variables: Types.UserUpdatesSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(UserUpdatesDocument, variables, options); } export type UserUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;