ticketExternalReferencesIdoitObjectRemove.api.ts 1.6 KB

12345678910111213141516171819202122232425
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import { ErrorsFragmentDoc } from '../../../../../../shared/graphql/fragments/errors.api';
  4. import * as VueApolloComposable from '@vue/apollo-composable';
  5. import * as VueCompositionApi from 'vue';
  6. export type ReactiveFunction<TParam> = () => TParam;
  7. export const TicketExternalReferencesIdoitObjectRemoveDocument = gql`
  8. mutation ticketExternalReferencesIdoitObjectRemove($ticketId: ID!, $idoitObjectId: Int!) {
  9. ticketExternalReferencesIdoitObjectRemove(
  10. ticketId: $ticketId
  11. idoitObjectId: $idoitObjectId
  12. ) {
  13. success
  14. errors {
  15. ...errors
  16. }
  17. }
  18. }
  19. ${ErrorsFragmentDoc}`;
  20. export function useTicketExternalReferencesIdoitObjectRemoveMutation(options: VueApolloComposable.UseMutationOptions<Types.TicketExternalReferencesIdoitObjectRemoveMutation, Types.TicketExternalReferencesIdoitObjectRemoveMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.TicketExternalReferencesIdoitObjectRemoveMutation, Types.TicketExternalReferencesIdoitObjectRemoveMutationVariables>> = {}) {
  21. return VueApolloComposable.useMutation<Types.TicketExternalReferencesIdoitObjectRemoveMutation, Types.TicketExternalReferencesIdoitObjectRemoveMutationVariables>(TicketExternalReferencesIdoitObjectRemoveDocument, options);
  22. }
  23. export type TicketExternalReferencesIdoitObjectRemoveMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.TicketExternalReferencesIdoitObjectRemoveMutation, Types.TicketExternalReferencesIdoitObjectRemoveMutationVariables>;