chore: src/modules/plugin/interface.ts

This commit is contained in:
2026-07-01 17:57:03 +08:00
parent 23ff22c1e3
commit 5b7ce22be0
+25
View File
@@ -0,0 +1,25 @@
/**
* 插件信息
*/
export interface PluginInfo {
/** 名称 */
name?: string;
/** 唯一标识 */
key?: string;
/** 钩子 */
hook?: string;
/** 是否单例 */
singleton?: boolean;
/** 版本 */
version?: string;
/** 描述 */
description?: string;
/** 作者 */
author?: string;
/** logo */
logo?: string;
/** README 使用说明 */
readme?: string;
/** 配置 */
config?: any;
}