import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { ErrorsFragmentDoc } from '../../../../graphql/fragments/errors.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const OnlineNotificationMarkAllAsSeenDocument = gql` mutation onlineNotificationMarkAllAsSeen($onlineNotificationIds: [ID!]!) { onlineNotificationMarkAllAsSeen(onlineNotificationIds: $onlineNotificationIds) { onlineNotifications { id seen } errors { ...errors } } } ${ErrorsFragmentDoc}`; export function useOnlineNotificationMarkAllAsSeenMutation(options: VueApolloComposable.UseMutationOptions | ReactiveFunction> = {}) { return VueApolloComposable.useMutation(OnlineNotificationMarkAllAsSeenDocument, options); } export type OnlineNotificationMarkAllAsSeenMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn;