userCurrentNotificationPreferencesReset.api.ts 1.6 KB

1234567891011121314151617181920212223242526
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import { UserPersonalSettingsFragmentDoc } from '../../../../../../shared/graphql/fragments/userPersonalSettings.api';
  4. import { ErrorsFragmentDoc } from '../../../../../../shared/graphql/fragments/errors.api';
  5. import * as VueApolloComposable from '@vue/apollo-composable';
  6. import * as VueCompositionApi from 'vue';
  7. export type ReactiveFunction<TParam> = () => TParam;
  8. export const UserCurrentNotificationPreferencesResetDocument = gql`
  9. mutation userCurrentNotificationPreferencesReset {
  10. userCurrentNotificationPreferencesReset {
  11. user {
  12. ...userPersonalSettings
  13. }
  14. errors {
  15. ...errors
  16. }
  17. }
  18. }
  19. ${UserPersonalSettingsFragmentDoc}
  20. ${ErrorsFragmentDoc}`;
  21. export function useUserCurrentNotificationPreferencesResetMutation(options: VueApolloComposable.UseMutationOptions<Types.UserCurrentNotificationPreferencesResetMutation, Types.UserCurrentNotificationPreferencesResetMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.UserCurrentNotificationPreferencesResetMutation, Types.UserCurrentNotificationPreferencesResetMutationVariables>> = {}) {
  22. return VueApolloComposable.useMutation<Types.UserCurrentNotificationPreferencesResetMutation, Types.UserCurrentNotificationPreferencesResetMutationVariables>(UserCurrentNotificationPreferencesResetDocument, options);
  23. }
  24. export type UserCurrentNotificationPreferencesResetMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.UserCurrentNotificationPreferencesResetMutation, Types.UserCurrentNotificationPreferencesResetMutationVariables>;