mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-10 04:48:59 +08:00
Update index.ts
This commit is contained in:
parent
446acfccde
commit
80beedb46f
@ -90,7 +90,8 @@ export interface CrawlScrapeOptions {
|
||||
|
||||
export type Action = {
|
||||
type: "wait",
|
||||
milliseconds: number,
|
||||
milliseconds?: number,
|
||||
selector?: string,
|
||||
} | {
|
||||
type: "click",
|
||||
selector: string,
|
||||
@ -106,6 +107,8 @@ export type Action = {
|
||||
} | {
|
||||
type: "scroll",
|
||||
direction: "up" | "down",
|
||||
} | {
|
||||
type: "scrape",
|
||||
};
|
||||
|
||||
export interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchema extends (Action[] | undefined) = undefined> extends CrawlScrapeOptions {
|
||||
|
Loading…
x
Reference in New Issue
Block a user