import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const UserCurrentAvatarUpdatesDocument = gql` subscription userCurrentAvatarUpdates($userId: ID!) { userCurrentAvatarUpdates(userId: $userId) { avatars { id default deletable initial imageHash createdAt updatedAt } } } `; export function useUserCurrentAvatarUpdatesSubscription(variables: Types.UserCurrentAvatarUpdatesSubscriptionVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseSubscriptionOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useSubscription(UserCurrentAvatarUpdatesDocument, variables, options); } export type UserCurrentAvatarUpdatesSubscriptionCompositionFunctionResult = VueApolloComposable.UseSubscriptionReturn;