File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ type ScrapeConfigOptions = {
6060 session ?: string ;
6161 tags ?: string [ ] ;
6262 format ?: 'json' | 'text' | 'markdown' | 'clean_html' | 'raw' | Format ;
63- format_options ?: ( 'no_links' | 'no_images' | 'only_content' ) [ ] | FormatOption [ ] ;
63+ format_options ?: ( 'no_links' | 'no_images' | 'only_content' | FormatOption ) [ ] ;
6464 correlation_id ?: string ;
6565 cookies ?: Rec < string > ;
6666 body ?: string ;
@@ -70,7 +70,7 @@ type ScrapeConfigOptions = {
7070 rendering_wait ?: number ;
7171 wait_for_selector ?: string ;
7272 screenshots ?: Rec < any > ;
73- screenshot_flags ?: ( 'load_images' | 'dark_mode' | 'block_banners' | 'print_media_format' | 'high_quality' ) [ ] | ScreenshotFlags [ ] ;
73+ screenshot_flags ?: ( 'load_images' | 'dark_mode' | 'block_banners' | 'print_media_format' | 'high_quality' | ScreenshotFlags ) [ ] ;
7474 session_sticky_proxy ?: boolean ;
7575 webhook ?: string ;
7676 timeout ?: number ;
@@ -102,7 +102,7 @@ export class ScrapeConfig {
102102 session ?: string ;
103103 tags : Set < string > = new Set < string > ( ) ;
104104 format ?: 'json' | 'text' | 'markdown' | 'clean_html' | 'raw' | Format ;
105- format_options ?: ( 'no_links' | 'no_images' | 'only_content' ) [ ] | FormatOption [ ] ;
105+ format_options ?: ( 'no_links' | 'no_images' | 'only_content' | FormatOption ) [ ] ;
106106 correlation_id ?: string ;
107107 cookies ?: Rec < string > ;
108108 body ?: string ;
@@ -113,7 +113,7 @@ export class ScrapeConfig {
113113 wait_for_selector ?: string ;
114114 session_sticky_proxy = false ;
115115 screenshots ?: Rec < any > ;
116- screenshot_flags ?: ( 'load_images' | 'dark_mode' | 'block_banners' | 'print_media_format' | 'high_quality' ) [ ] | ScreenshotFlags [ ] ;
116+ screenshot_flags ?: ( 'load_images' | 'dark_mode' | 'block_banners' | 'print_media_format' | 'high_quality' | ScreenshotFlags ) [ ] ;
117117 webhook ?: string ;
118118 timeout ?: number ; // in milliseconds
119119 js_scenario ?: Rec < any > ;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ type ScreenshotConfigOptions = {
4141 timeout ?: number ;
4242 rendering_wait ?: number ;
4343 wait_for_selector ?: string ;
44- options ?: ( 'load_images' | 'dark_mode' | 'block_banners' | 'print_media_format' ) [ ] | Options [ ] ;
44+ options ?: ( 'load_images' | 'dark_mode' | 'block_banners' | 'print_media_format' | Options ) [ ] ;
4545 auto_scroll ?: boolean ;
4646 js ?: string ;
4747 cache ?: boolean ;
@@ -59,7 +59,7 @@ export class ScreenshotConfig {
5959 timeout ?: number ;
6060 rendering_wait ?: number ;
6161 wait_for_selector ?: string ;
62- options ?: ( 'load_images' | 'dark_mode' | 'block_banners' | 'print_media_format' ) [ ] | Options [ ] ;
62+ options ?: ( 'load_images' | 'dark_mode' | 'block_banners' | 'print_media_format' | Options ) [ ] ;
6363 auto_scroll ?: boolean ;
6464 js ?: string ;
6565 cache ?: boolean ;
You can’t perform that action at this time.
0 commit comments