feat: add scrapeListAuto to custom actions
This commit is contained in:
@@ -28,7 +28,7 @@ type MethodNames<T> = {
|
|||||||
[K in keyof T]: T[K] extends Function ? K : never;
|
[K in keyof T]: T[K] extends Function ? K : never;
|
||||||
}[keyof T];
|
}[keyof T];
|
||||||
|
|
||||||
export type CustomFunctions = 'scrape' | 'scrapeSchema' | 'scroll' | 'screenshot' | 'script' | 'enqueueLinks' | 'flag' | 'scrapeList';
|
export type CustomFunctions = 'scrape' | 'scrapeSchema' | 'scroll' | 'screenshot' | 'script' | 'enqueueLinks' | 'flag' | 'scrapeList' | 'scrapeListAuto';
|
||||||
|
|
||||||
export type What = {
|
export type What = {
|
||||||
action: MethodNames<Page> | CustomFunctions,
|
action: MethodNames<Page> | CustomFunctions,
|
||||||
|
|||||||
Reference in New Issue
Block a user