12345678910111213141516171819202122 |
- 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> = () => TParam;
- export const OnlineNotificationSeenDocument = gql`
- mutation onlineNotificationSeen($objectId: ID!) {
- onlineNotificationSeen(objectId: $objectId) {
- success
- errors {
- ...errors
- }
- }
- }
- ${ErrorsFragmentDoc}`;
- export function useOnlineNotificationSeenMutation(options: VueApolloComposable.UseMutationOptions<Types.OnlineNotificationSeenMutation, Types.OnlineNotificationSeenMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.OnlineNotificationSeenMutation, Types.OnlineNotificationSeenMutationVariables>> = {}) {
- return VueApolloComposable.useMutation<Types.OnlineNotificationSeenMutation, Types.OnlineNotificationSeenMutationVariables>(OnlineNotificationSeenDocument, options);
- }
- export type OnlineNotificationSeenMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.OnlineNotificationSeenMutation, Types.OnlineNotificationSeenMutationVariables>;
|