echoes/frontend/types/context.ts
lsy 7f2a02dc61 后端:重构postgre数据结构
前端:定义好主题,插件,上下文参数的接口
2024-11-11 19:31:40 +08:00

12 lines
493 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// File path: /d:/data/echoes/frontend/types/context.ts
/**
* 应用程序上下文配置接口
*
* 此接口定义了应用程序的上下文配置包括API基础URL、主题、插件和资源目录的路径。
*/
export interface AppContext {
apiBaseUrl: string; // 用于访问API的基础URL
themesPath: string; // 存储主题文件的目录路径
pluginsPath: string; // 存储插件文件的目录路径
assetsPath: string; // 存储静态资源的目录路径
}