* fix(plugin-workflow): fix collection cycling triggering * fix(plugin-workflow-test): fix test trigger * fix(plugin-workflow): fix sqlite transaction triggering
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;
|
|
}
|
|
},
|
|
};
|