ticketExternalReferencesIssueTrackerItemAdd.api.ts 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 TicketExternalReferencesIssueTrackerItemAddDocument = gql`
  8. mutation ticketExternalReferencesIssueTrackerItemAdd($issueTrackerLink: UriHttpString!, $issueTrackerType: EnumTicketExternalReferencesIssueTrackerType!, $ticketId: ID) {
  9. ticketExternalReferencesIssueTrackerItemAdd(
  10. issueTrackerLink: $issueTrackerLink
  11. issueTrackerType: $issueTrackerType
  12. ticketId: $ticketId
  13. ) {
  14. issueTrackerItem {
  15. assignees
  16. issueId
  17. labels {
  18. color
  19. textColor
  20. title
  21. }
  22. milestone
  23. state
  24. title
  25. url
  26. }
  27. errors {
  28. ...errors
  29. }
  30. }
  31. }
  32. ${ErrorsFragmentDoc}`;
  33. export function useTicketExternalReferencesIssueTrackerItemAddMutation(options: VueApolloComposable.UseMutationOptions<Types.TicketExternalReferencesIssueTrackerItemAddMutation, Types.TicketExternalReferencesIssueTrackerItemAddMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.TicketExternalReferencesIssueTrackerItemAddMutation, Types.TicketExternalReferencesIssueTrackerItemAddMutationVariables>> = {}) {
  34. return VueApolloComposable.useMutation<Types.TicketExternalReferencesIssueTrackerItemAddMutation, Types.TicketExternalReferencesIssueTrackerItemAddMutationVariables>(TicketExternalReferencesIssueTrackerItemAddDocument, options);
  35. }
  36. export type TicketExternalReferencesIssueTrackerItemAddMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.TicketExternalReferencesIssueTrackerItemAddMutation, Types.TicketExternalReferencesIssueTrackerItemAddMutationVariables>;