mirror of
https://github.com/certd/certd.git
synced 2026-04-14 12:30:54 +08:00
feat: midway注解方式编写插件
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { Registrable } from "../registry";
|
||||
import { pluginRegistry } from "./registry";
|
||||
import { FormItemProps } from "../d.ts";
|
||||
|
||||
export enum ContextScope {
|
||||
@@ -33,6 +32,7 @@ export type PluginDefine = Registrable & {
|
||||
};
|
||||
|
||||
export interface ITaskPlugin {
|
||||
onInit(): Promise<void>;
|
||||
execute(): Promise<void>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user