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 LinkUpdatesDocument = gql` subscription linkUpdates($objectId: ID!, $targetType: String!) { linkUpdates(objectId: $objectId, targetType: $targetType) { links { item { ... on Ticket { id internalId title state { id name } stateColorCode } ... on KnowledgeBaseAnswerTranslation { id } } type } } } `; export function useLinkUpdatesSubscription(variables: Types.LinkUpdatesSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(LinkUpdatesDocument, variables, options); } export type LinkUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;