import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { PublicLinkAttributesFragmentDoc } from '../../../../graphql/fragments/publicLinkAttributes.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const PublicLinkUpdatesDocument = gql` subscription publicLinkUpdates($screen: EnumPublicLinksScreen!) { publicLinkUpdates(screen: $screen) { publicLinks { ...publicLinkAttributes } } } ${PublicLinkAttributesFragmentDoc}`; export function usePublicLinkUpdatesSubscription(variables: Types.PublicLinkUpdatesSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(PublicLinkUpdatesDocument, variables, options); } export type PublicLinkUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;