echoes/frontend/types/context.ts

13 lines
563 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 {
blogType:boolean; //用于判断是动态博客还是静态博客
apiBaseUrl: string; // 用于访问API的基础URL
themesPath: string; // 存储主题文件的目录路径
pluginsPath: string; // 存储插件文件的目录路径
assetsPath: string; // 存储静态资源的目录路径
}