feat: handle generation of custom action sin the workflow pair
This commit is contained in:
@@ -74,3 +74,8 @@ const onGenerateAction = async (customActionEventData: CustomActionEventData) =>
|
|||||||
await handleWrapper(handleGenerateAction, customActionEventData);
|
await handleWrapper(handleGenerateAction, customActionEventData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const handleGenerateAction =
|
||||||
|
async (generator: WorkflowGenerator, page: Page, {action, settings}: CustomActionEventData) => {
|
||||||
|
await generator.customAction(action, settings, page);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user