import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { TicketArticleAttributesFragmentDoc } from '../fragments/ticketArticleAttributes.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const TicketArticleUpdatesDocument = gql` subscription ticketArticleUpdates($ticketId: ID!) { ticketArticleUpdates(ticketId: $ticketId) { addArticle { id createdAt } updateArticle { ...ticketArticleAttributes } removeArticleId } } ${TicketArticleAttributesFragmentDoc}`; export function useTicketArticleUpdatesSubscription(variables: Types.TicketArticleUpdatesSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(TicketArticleUpdatesDocument, variables, options); } export type TicketArticleUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;