mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-30 11:25:52 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
21 lines
794 B
TypeScript
21 lines
794 B
TypeScript
// Core's preconfigured Hey API client, served to generated extension clients via the import map.
|
|
import type { Options as GeneratedOptions } from '@/api/generated/client';
|
|
|
|
export { client } from '@/api/generated/client.gen';
|
|
export { createClient, createConfig } from '@/api/generated/client';
|
|
export type {
|
|
Client,
|
|
ClientMeta,
|
|
ClientOptions,
|
|
Config,
|
|
Options,
|
|
RequestOptions,
|
|
RequestResult,
|
|
} from '@/api/generated/client';
|
|
/** The request data every generated operation's options extend. */
|
|
export type RequestData = GeneratedOptions extends GeneratedOptions<infer TData> ? TData : never;
|
|
export { createClientConfig } from '@/api/hey-api-runtime';
|
|
|
|
export { default as http, httpErrorToHuman } from '@/api/http';
|
|
export { queryClient } from '@/api/queryClient';
|