ticketExternalReferencesIssueTrackerItemRemove.api.ts 1.7 KB

1234567891011121314151617181920212223242526
  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 TicketExternalReferencesIssueTrackerItemRemoveDocument = gql`
  8. mutation ticketExternalReferencesIssueTrackerItemRemove($issueTrackerLink: UriHttpString!, $issueTrackerType: EnumTicketExternalReferencesIssueTrackerType!, $ticketId: ID!) {
  9. ticketExternalReferencesIssueTrackerItemRemove(
  10. issueTrackerLink: $issueTrackerLink
  11. issueTrackerType: $issueTrackerType
  12. ticketId: $ticketId
  13. ) {
  14. success
  15. errors {
  16. ...errors
  17. }
  18. }
  19. }
  20. ${ErrorsFragmentDoc}`;
  21. export function useTicketExternalReferencesIssueTrackerItemRemoveMutation(options: VueApolloComposable.UseMutationOptions<Types.TicketExternalReferencesIssueTrackerItemRemoveMutation, Types.TicketExternalReferencesIssueTrackerItemRemoveMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.TicketExternalReferencesIssueTrackerItemRemoveMutation, Types.TicketExternalReferencesIssueTrackerItemRemoveMutationVariables>> = {}) {
  22. return VueApolloComposable.useMutation<Types.TicketExternalReferencesIssueTrackerItemRemoveMutation, Types.TicketExternalReferencesIssueTrackerItemRemoveMutationVariables>(TicketExternalReferencesIssueTrackerItemRemoveDocument, options);
  23. }
  24. export type TicketExternalReferencesIssueTrackerItemRemoveMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.TicketExternalReferencesIssueTrackerItemRemoveMutation, Types.TicketExternalReferencesIssueTrackerItemRemoveMutationVariables>;