ticketExternalReferencesIdoitObjectAdd.api.ts 1.7 KB

1234567891011121314151617181920212223242526272829
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import { IdoitObjectAttributesFragmentDoc } from '../fragments/IdoitObjectAttributes.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 TicketExternalReferencesIdoitObjectAddDocument = gql`
  9. mutation ticketExternalReferencesIdoitObjectAdd($idoitObjectIds: [Int!]!, $ticketId: ID) {
  10. ticketExternalReferencesIdoitObjectAdd(
  11. idoitObjectIds: $idoitObjectIds
  12. ticketId: $ticketId
  13. ) {
  14. idoitObjects {
  15. ...IdoitObjectAttributes
  16. }
  17. errors {
  18. ...errors
  19. }
  20. }
  21. }
  22. ${IdoitObjectAttributesFragmentDoc}
  23. ${ErrorsFragmentDoc}`;
  24. export function useTicketExternalReferencesIdoitObjectAddMutation(options: VueApolloComposable.UseMutationOptions<Types.TicketExternalReferencesIdoitObjectAddMutation, Types.TicketExternalReferencesIdoitObjectAddMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.TicketExternalReferencesIdoitObjectAddMutation, Types.TicketExternalReferencesIdoitObjectAddMutationVariables>> = {}) {
  25. return VueApolloComposable.useMutation<Types.TicketExternalReferencesIdoitObjectAddMutation, Types.TicketExternalReferencesIdoitObjectAddMutationVariables>(TicketExternalReferencesIdoitObjectAddDocument, options);
  26. }
  27. export type TicketExternalReferencesIdoitObjectAddMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.TicketExternalReferencesIdoitObjectAddMutation, Types.TicketExternalReferencesIdoitObjectAddMutationVariables>;