import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { TokenAttributesFragmentDoc } from '../../../../../../shared/entities/user/current/graphql/fragments/tokenAttributes.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const UserCurrentAccessTokenUpdatesDocument = gql` subscription userCurrentAccessTokenUpdates($userId: ID!) { userCurrentAccessTokenUpdates(userId: $userId) { tokens { ...tokenAttributes } } } ${TokenAttributesFragmentDoc}`; export function useUserCurrentAccessTokenUpdatesSubscription(variables: Types.UserCurrentAccessTokenUpdatesSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(UserCurrentAccessTokenUpdatesDocument, variables, options); } export type UserCurrentAccessTokenUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;