From a3d699b7761c70faf2935c1e96f78796c0d65358 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Tue, 6 Aug 2024 23:18:58 +0530 Subject: [PATCH] feat: add scrapeList in CustomFunctions --- maxun-core/src/types/workflow.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maxun-core/src/types/workflow.ts b/maxun-core/src/types/workflow.ts index 36c6d14d..459cfa88 100644 --- a/maxun-core/src/types/workflow.ts +++ b/maxun-core/src/types/workflow.ts @@ -28,7 +28,7 @@ type MethodNames = { [K in keyof T]: T[K] extends Function ? K : never; }[keyof T]; -export type CustomFunctions = 'scrape' | 'scrapeSchema' | 'scroll' | 'screenshot' | 'script' | 'enqueueLinks' | 'flag'; +export type CustomFunctions = 'scrape' | 'scrapeSchema' | 'scroll' | 'screenshot' | 'script' | 'enqueueLinks' | 'flag' | 'scrapeList'; export type What = { action: MethodNames | CustomFunctions,