import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const OnlineNotificationsCountDocument = gql` subscription onlineNotificationsCount($userId: ID!) { onlineNotificationsCount(userId: $userId) { unseenCount } } `; export function useOnlineNotificationsCountSubscription(variables: Types.OnlineNotificationsCountSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(OnlineNotificationsCountDocument, variables, options); } export type OnlineNotificationsCountSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;