import * as Types from '#shared/graphql/types.ts'; 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!, $secondaryOrganizationsCount: Int) { 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;