sealday
8c156c35d2
Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#887
20 lines
328 B
TypeScript
20 lines
328 B
TypeScript
export default {
|
|
syncTrigger: class {
|
|
constructor(public readonly workflow) {}
|
|
on() {}
|
|
off() {}
|
|
sync = true;
|
|
validateEvent() {
|
|
return true;
|
|
}
|
|
},
|
|
asyncTrigger: class {
|
|
constructor(public readonly workflow) {}
|
|
on() {}
|
|
off() {}
|
|
validateEvent() {
|
|
return true;
|
|
}
|
|
},
|
|
};
|