import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { TicketLiveUserAttributesFragmentDoc } from '../../fragments/live-user/ticketLiveUserAttributes.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const TicketLiveUserUpdatesDocument = gql` subscription ticketLiveUserUpdates($userId: ID!, $key: String!, $app: EnumTaskbarApp!) { ticketLiveUserUpdates(userId: $userId, key: $key, app: $app) { liveUsers { ...ticketLiveUserAttributes } } } ${TicketLiveUserAttributesFragmentDoc}`; export function useTicketLiveUserUpdatesSubscription(variables: Types.TicketLiveUserUpdatesSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(TicketLiveUserUpdatesDocument, variables, options); } export type TicketLiveUserUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;