123456789101112131415161718192021222324 |
- 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> = () => 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<Types.OrganizationUpdatesSubscriptionVariables> | ReactiveFunction<Types.OrganizationUpdatesSubscriptionVariables>, options: VueApolloComposable.UseSubscriptionOptions<Types.OrganizationUpdatesSubscription, Types.OrganizationUpdatesSubscriptionVariables> | VueCompositionApi.Ref<VueApolloComposable.UseSubscriptionOptions<Types.OrganizationUpdatesSubscription, Types.OrganizationUpdatesSubscriptionVariables>> | ReactiveFunction<VueApolloComposable.UseSubscriptionOptions<Types.OrganizationUpdatesSubscription, Types.OrganizationUpdatesSubscriptionVariables>> = {}) {
- return VueApolloComposable.useSubscription<Types.OrganizationUpdatesSubscription, Types.OrganizationUpdatesSubscriptionVariables>(OrganizationUpdatesDocument, variables, options);
- }
- export type OrganizationUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn<Types.OrganizationUpdatesSubscription, Types.OrganizationUpdatesSubscriptionVariables>;
|