autocompleteSearchMergeTicket.api.ts 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import * as VueApolloComposable from '@vue/apollo-composable';
  4. import * as VueCompositionApi from 'vue';
  5. export type ReactiveFunction<TParam> = () => TParam;
  6. export const AutocompleteSearchMergeTicketDocument = gql`
  7. query autocompleteSearchMergeTicket($input: AutocompleteSearchMergeTicketInput!) {
  8. autocompleteSearchMergeTicket(input: $input) {
  9. value
  10. label
  11. labelPlaceholder
  12. heading
  13. headingPlaceholder
  14. disabled
  15. icon
  16. ticket {
  17. id
  18. number
  19. internalId
  20. state {
  21. id
  22. name
  23. }
  24. stateColorCode
  25. }
  26. }
  27. }
  28. `;
  29. export function useAutocompleteSearchMergeTicketQuery(variables: Types.AutocompleteSearchMergeTicketQueryVariables | VueCompositionApi.Ref<Types.AutocompleteSearchMergeTicketQueryVariables> | ReactiveFunction<Types.AutocompleteSearchMergeTicketQueryVariables>, options: VueApolloComposable.UseQueryOptions<Types.AutocompleteSearchMergeTicketQuery, Types.AutocompleteSearchMergeTicketQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<Types.AutocompleteSearchMergeTicketQuery, Types.AutocompleteSearchMergeTicketQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<Types.AutocompleteSearchMergeTicketQuery, Types.AutocompleteSearchMergeTicketQueryVariables>> = {}) {
  30. return VueApolloComposable.useQuery<Types.AutocompleteSearchMergeTicketQuery, Types.AutocompleteSearchMergeTicketQueryVariables>(AutocompleteSearchMergeTicketDocument, variables, options);
  31. }
  32. export function useAutocompleteSearchMergeTicketLazyQuery(variables?: Types.AutocompleteSearchMergeTicketQueryVariables | VueCompositionApi.Ref<Types.AutocompleteSearchMergeTicketQueryVariables> | ReactiveFunction<Types.AutocompleteSearchMergeTicketQueryVariables>, options: VueApolloComposable.UseQueryOptions<Types.AutocompleteSearchMergeTicketQuery, Types.AutocompleteSearchMergeTicketQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<Types.AutocompleteSearchMergeTicketQuery, Types.AutocompleteSearchMergeTicketQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<Types.AutocompleteSearchMergeTicketQuery, Types.AutocompleteSearchMergeTicketQueryVariables>> = {}) {
  33. return VueApolloComposable.useLazyQuery<Types.AutocompleteSearchMergeTicketQuery, Types.AutocompleteSearchMergeTicketQueryVariables>(AutocompleteSearchMergeTicketDocument, variables, options);
  34. }
  35. export type AutocompleteSearchMergeTicketQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<Types.AutocompleteSearchMergeTicketQuery, Types.AutocompleteSearchMergeTicketQueryVariables>;