import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { UserCurrentTaskbarItemAttributesFragmentDoc } from '../fragments/userCurrentTaskbarItemAttributes.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const UserCurrentTaskbarItemUpdatesDocument = gql` subscription userCurrentTaskbarItemUpdates($userId: ID!, $app: EnumTaskbarApp!) { userCurrentTaskbarItemUpdates(userId: $userId, app: $app) { addItem { ...userCurrentTaskbarItemAttributes } updateItem { ...userCurrentTaskbarItemAttributes } removeItem } } ${UserCurrentTaskbarItemAttributesFragmentDoc}`; export function useUserCurrentTaskbarItemUpdatesSubscription(variables: Types.UserCurrentTaskbarItemUpdatesSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(UserCurrentTaskbarItemUpdatesDocument, variables, options); } export type UserCurrentTaskbarItemUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;