wip: 临时提交

This commit is contained in:
ray
2025-05-31 21:25:35 +08:00
parent 82fae9ed4b
commit f56ab639b1
10 changed files with 92 additions and 234 deletions

17
src/types/env.d.ts vendored
View File

@@ -1,22 +1,21 @@
// src/types/env.d.ts
/**
* 环境变量类型声明
*/
interface ImportMetaEnv {
/**
* 应用端口
*/
VITE_APP_PORT: number;
/**
* API 基础路径
*/
VITE_APP_BASE_API: string;
/**
* API 服务器的 URL
*/
VITE_APP_API_URL: string;
/** API基础路径 */
readonly VITE_APP_BASE_API: string;
/** API服务器URL */
readonly VITE_APP_API_URL: string;
/**
* WebSocket 端点
*/
VITE_APP_WS_ENDPOINT: string;
readonly VITE_APP_WS_ENDPOINT?: string;
}
interface ImportMeta {