From 5f4cbe1e935d59d01a046c1803753eeb38b12fe5 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 8 Jun 2024 00:12:59 +0530 Subject: [PATCH] chore: customAction description --- server/src/workflow-management/classes/Generator.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server/src/workflow-management/classes/Generator.ts b/server/src/workflow-management/classes/Generator.ts index 4a40eaef..36f354cc 100644 --- a/server/src/workflow-management/classes/Generator.ts +++ b/server/src/workflow-management/classes/Generator.ts @@ -276,7 +276,12 @@ export class WorkflowGenerator { await this.addPairToWorkflowAndNotifyClient(pair, page); }; - + /** + * Generates a pair for the custom action event. + * @param action The type of the custom action. + * @param settings The settings of the custom action. + * @param page The page to use for obtaining the needed data. + */ public customAction = async (action: CustomActions, settings: any, page: Page) => { const pair: WhereWhatPair = { where: { url: this.getBestUrl(page.url())},