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 PushMessagesDocument = gql` subscription pushMessages { pushMessages { title text } } `; export function usePushMessagesSubscription(options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(PushMessagesDocument, {}, options); } export type PushMessagesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;