perf: 任务支持禁用

This commit is contained in:
xiaojunnuo
2024-09-11 16:49:50 +08:00
parent 5b0f5f75d0
commit 8ed16b3ea2
8 changed files with 61 additions and 12 deletions
@@ -70,6 +70,7 @@ export type Runnable = {
default?: {
[key: string]: any;
};
disabled?: boolean;
};
export type EmailOptions = {
@@ -108,6 +109,7 @@ export enum ResultType {
error = "error",
canceled = "canceled",
skip = "skip",
disabled = "disabled",
none = "none",
}