import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { UserDeviceAttributesFragmentDoc } from '../fragments/userDeviceAttributes.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const UserCurrentDevicesUpdatesDocument = gql` subscription userCurrentDevicesUpdates($userId: ID!) { userCurrentDevicesUpdates(userId: $userId) { devices { ...userDeviceAttributes } } } ${UserDeviceAttributesFragmentDoc}`; export function useUserCurrentDevicesUpdatesSubscription(variables: Types.UserCurrentDevicesUpdatesSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(UserCurrentDevicesUpdatesDocument, variables, options); } export type UserCurrentDevicesUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;