import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { OrganizationAttributesFragmentDoc } from '../fragments/organizationAttributes.api'; import { OrganizationMembersFragmentDoc } from '../fragments/organizationMembers.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const OrganizationUpdatesDocument = gql` subscription organizationUpdates($organizationId: ID!, $membersCount: Int) { organizationUpdates(organizationId: $organizationId) { organization { ...organizationAttributes ...organizationMembers } } } ${OrganizationAttributesFragmentDoc} ${OrganizationMembersFragmentDoc}`; export function useOrganizationUpdatesSubscription(variables: Types.OrganizationUpdatesSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(OrganizationUpdatesDocument, variables, options); } export type OrganizationUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;