import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { OverviewAttributesFragmentDoc } from '../../../../../../shared/entities/ticket/graphql/fragments/overviewAttributes.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const TicketOverviewUpdatesDocument = gql` subscription ticketOverviewUpdates($withTicketCount: Boolean!) { ticketOverviewUpdates { ticketOverviews { edges { node { ...overviewAttributes } cursor } pageInfo { endCursor hasNextPage } } } } ${OverviewAttributesFragmentDoc}`; export function useTicketOverviewUpdatesSubscription(variables: Types.TicketOverviewUpdatesSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(TicketOverviewUpdatesDocument, variables, options); } export type TicketOverviewUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;