ticketExternalReferencesIdoitObjectSearch.api.ts 3.0 KB

1234567891011121314151617181920212223242526
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import { IdoitObjectAttributesFragmentDoc } from '../fragments/IdoitObjectAttributes.api';
  4. import * as VueApolloComposable from '@vue/apollo-composable';
  5. import * as VueCompositionApi from 'vue';
  6. export type ReactiveFunction<TParam> = () => TParam;
  7. export const TicketExternalReferencesIdoitObjectSearchDocument = gql`
  8. query ticketExternalReferencesIdoitObjectSearch($idoitTypeId: String, $limit: Int!, $query: String) {
  9. ticketExternalReferencesIdoitObjectSearch(
  10. idoitTypeId: $idoitTypeId
  11. limit: $limit
  12. query: $query
  13. ) {
  14. ...IdoitObjectAttributes
  15. }
  16. }
  17. ${IdoitObjectAttributesFragmentDoc}`;
  18. export function useTicketExternalReferencesIdoitObjectSearchQuery(variables: Types.TicketExternalReferencesIdoitObjectSearchQueryVariables | VueCompositionApi.Ref<Types.TicketExternalReferencesIdoitObjectSearchQueryVariables> | ReactiveFunction<Types.TicketExternalReferencesIdoitObjectSearchQueryVariables>, options: VueApolloComposable.UseQueryOptions<Types.TicketExternalReferencesIdoitObjectSearchQuery, Types.TicketExternalReferencesIdoitObjectSearchQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<Types.TicketExternalReferencesIdoitObjectSearchQuery, Types.TicketExternalReferencesIdoitObjectSearchQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<Types.TicketExternalReferencesIdoitObjectSearchQuery, Types.TicketExternalReferencesIdoitObjectSearchQueryVariables>> = {}) {
  19. return VueApolloComposable.useQuery<Types.TicketExternalReferencesIdoitObjectSearchQuery, Types.TicketExternalReferencesIdoitObjectSearchQueryVariables>(TicketExternalReferencesIdoitObjectSearchDocument, variables, options);
  20. }
  21. export function useTicketExternalReferencesIdoitObjectSearchLazyQuery(variables?: Types.TicketExternalReferencesIdoitObjectSearchQueryVariables | VueCompositionApi.Ref<Types.TicketExternalReferencesIdoitObjectSearchQueryVariables> | ReactiveFunction<Types.TicketExternalReferencesIdoitObjectSearchQueryVariables>, options: VueApolloComposable.UseQueryOptions<Types.TicketExternalReferencesIdoitObjectSearchQuery, Types.TicketExternalReferencesIdoitObjectSearchQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<Types.TicketExternalReferencesIdoitObjectSearchQuery, Types.TicketExternalReferencesIdoitObjectSearchQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<Types.TicketExternalReferencesIdoitObjectSearchQuery, Types.TicketExternalReferencesIdoitObjectSearchQueryVariables>> = {}) {
  22. return VueApolloComposable.useLazyQuery<Types.TicketExternalReferencesIdoitObjectSearchQuery, Types.TicketExternalReferencesIdoitObjectSearchQueryVariables>(TicketExternalReferencesIdoitObjectSearchDocument, variables, options);
  23. }
  24. export type TicketExternalReferencesIdoitObjectSearchQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<Types.TicketExternalReferencesIdoitObjectSearchQuery, Types.TicketExternalReferencesIdoitObjectSearchQueryVariables>;