ticketSharedDraftStartSingle.api.ts 2.6 KB

1234567891011121314151617181920212223
  1. import * as Types from '#shared/graphql/types.ts';
  2. import gql from 'graphql-tag';
  3. import { TicketSharedDraftStartAttributesFragmentDoc } from '../fragments/ticketSharedDraftStartAttributes.api';
  4. import * as VueApolloComposable from '@vue/apollo-composable';
  5. import * as VueCompositionApi from 'vue';
  6. export type ReactiveFunction<TParam> = () => TParam;
  7. export const TicketSharedDraftStartSingleDocument = gql`
  8. query ticketSharedDraftStartSingle($sharedDraftId: ID!) {
  9. ticketSharedDraftStartSingle(sharedDraftId: $sharedDraftId) {
  10. ...ticketSharedDraftStartAttributes
  11. content
  12. }
  13. }
  14. ${TicketSharedDraftStartAttributesFragmentDoc}`;
  15. export function useTicketSharedDraftStartSingleQuery(variables: Types.TicketSharedDraftStartSingleQueryVariables | VueCompositionApi.Ref<Types.TicketSharedDraftStartSingleQueryVariables> | ReactiveFunction<Types.TicketSharedDraftStartSingleQueryVariables>, options: VueApolloComposable.UseQueryOptions<Types.TicketSharedDraftStartSingleQuery, Types.TicketSharedDraftStartSingleQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<Types.TicketSharedDraftStartSingleQuery, Types.TicketSharedDraftStartSingleQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<Types.TicketSharedDraftStartSingleQuery, Types.TicketSharedDraftStartSingleQueryVariables>> = {}) {
  16. return VueApolloComposable.useQuery<Types.TicketSharedDraftStartSingleQuery, Types.TicketSharedDraftStartSingleQueryVariables>(TicketSharedDraftStartSingleDocument, variables, options);
  17. }
  18. export function useTicketSharedDraftStartSingleLazyQuery(variables?: Types.TicketSharedDraftStartSingleQueryVariables | VueCompositionApi.Ref<Types.TicketSharedDraftStartSingleQueryVariables> | ReactiveFunction<Types.TicketSharedDraftStartSingleQueryVariables>, options: VueApolloComposable.UseQueryOptions<Types.TicketSharedDraftStartSingleQuery, Types.TicketSharedDraftStartSingleQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<Types.TicketSharedDraftStartSingleQuery, Types.TicketSharedDraftStartSingleQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<Types.TicketSharedDraftStartSingleQuery, Types.TicketSharedDraftStartSingleQueryVariables>> = {}) {
  19. return VueApolloComposable.useLazyQuery<Types.TicketSharedDraftStartSingleQuery, Types.TicketSharedDraftStartSingleQueryVariables>(TicketSharedDraftStartSingleDocument, variables, options);
  20. }
  21. export type TicketSharedDraftStartSingleQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<Types.TicketSharedDraftStartSingleQuery, Types.TicketSharedDraftStartSingleQueryVariables>;