feat: support basic plugin...

This commit is contained in:
2020-05-08 18:41:56 +08:00
parent ec809fb013
commit 331357f1a2
3 changed files with 45 additions and 24 deletions

View File

@@ -55,6 +55,10 @@ export namespace interfaces {
* 插件源文件 必须指定为 __filename
*/
source: string;
/**
* 插件类型 默认为 ioc 执行 MiaoScript 加载逻辑
*/
type?: string;
/**
* 插件本体
*/