feat: handle generation of custom action sin the workflow pair

This commit is contained in:
karishmas6
2024-06-08 22:54:15 +05:30
parent 35876960fd
commit 6175d2a3a9

View File

@@ -74,3 +74,8 @@ const onGenerateAction = async (customActionEventData: CustomActionEventData) =>
await handleWrapper(handleGenerateAction, customActionEventData);
}
const handleGenerateAction =
async (generator: WorkflowGenerator, page: Page, {action, settings}: CustomActionEventData) => {
await generator.customAction(action, settings, page);
}