Added openapi based api client

This commit is contained in:
GW_MC
2025-12-05 20:28:59 +08:00
parent 1c051f9502
commit a7524ab076
11 changed files with 1111 additions and 18 deletions

13
apps/frontend/app/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
interface ViteTypeOptions {
// By adding this line, you can make the type of ImportMetaEnv strict
// to disallow unknown keys.
// strictImportMetaEnv: unknown
}
interface ImportMetaEnv {
readonly VITE_API_BASE_URL: string | undefined;
}
interface ImportMeta {
readonly env: ImportMetaEnv;
}