feat: midway注解方式编写插件

This commit is contained in:
xiaojunnuo
2023-01-07 23:22:02 +08:00
parent e4ec4e1404
commit 52522f27e9
16 changed files with 156 additions and 238 deletions
+5 -3
View File
@@ -21,14 +21,16 @@ export type TaskInputDefine = FormItemProps;
export type PluginDefine = Registrable & {
default?: any;
inputs?: {
input?: {
[key: string]: TaskInputDefine;
};
outputs?: {
output?: {
[key: string]: TaskOutputDefine;
};
autowire?: any;
autowire?: {
[key: string]: any;
};
};
export interface ITaskPlugin {