systemSetupInfo.api.ts 1.6 KB

12345678910111213141516171819202122
  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 SystemSetupInfoDocument = gql`
  7. query systemSetupInfo {
  8. systemSetupInfo {
  9. status
  10. type
  11. }
  12. }
  13. `;
  14. export function useSystemSetupInfoQuery(options: VueApolloComposable.UseQueryOptions<Types.SystemSetupInfoQuery, Types.SystemSetupInfoQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<Types.SystemSetupInfoQuery, Types.SystemSetupInfoQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<Types.SystemSetupInfoQuery, Types.SystemSetupInfoQueryVariables>> = {}) {
  15. return VueApolloComposable.useQuery<Types.SystemSetupInfoQuery, Types.SystemSetupInfoQueryVariables>(SystemSetupInfoDocument, {}, options);
  16. }
  17. export function useSystemSetupInfoLazyQuery(options: VueApolloComposable.UseQueryOptions<Types.SystemSetupInfoQuery, Types.SystemSetupInfoQueryVariables> | VueCompositionApi.Ref<VueApolloComposable.UseQueryOptions<Types.SystemSetupInfoQuery, Types.SystemSetupInfoQueryVariables>> | ReactiveFunction<VueApolloComposable.UseQueryOptions<Types.SystemSetupInfoQuery, Types.SystemSetupInfoQueryVariables>> = {}) {
  18. return VueApolloComposable.useLazyQuery<Types.SystemSetupInfoQuery, Types.SystemSetupInfoQueryVariables>(SystemSetupInfoDocument, {}, options);
  19. }
  20. export type SystemSetupInfoQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn<Types.SystemSetupInfoQuery, Types.SystemSetupInfoQueryVariables>;