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 = {
60
60
session ?: string ;
61
61
tags ?: string [ ] ;
62
62
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 ) [ ] ;
64
64
correlation_id ?: string ;
65
65
cookies ?: Rec < string > ;
66
66
body ?: string ;
@@ -70,7 +70,7 @@ type ScrapeConfigOptions = {
70
70
rendering_wait ?: number ;
71
71
wait_for_selector ?: string ;
72
72
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 ) [ ] ;
74
74
session_sticky_proxy ?: boolean ;
75
75
webhook ?: string ;
76
76
timeout ?: number ;
@@ -102,7 +102,7 @@ export class ScrapeConfig {
102
102
session ?: string ;
103
103
tags : Set < string > = new Set < string > ( ) ;
104
104
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 ) [ ] ;
106
106
correlation_id ?: string ;
107
107
cookies ?: Rec < string > ;
108
108
body ?: string ;
@@ -113,7 +113,7 @@ export class ScrapeConfig {
113
113
wait_for_selector ?: string ;
114
114
session_sticky_proxy = false ;
115
115
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 ) [ ] ;
117
117
webhook ?: string ;
118
118
timeout ?: number ; // in milliseconds
119
119
js_scenario ?: Rec < any > ;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ type ScreenshotConfigOptions = {
41
41
timeout ?: number ;
42
42
rendering_wait ?: number ;
43
43
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 ) [ ] ;
45
45
auto_scroll ?: boolean ;
46
46
js ?: string ;
47
47
cache ?: boolean ;
@@ -59,7 +59,7 @@ export class ScreenshotConfig {
59
59
timeout ?: number ;
60
60
rendering_wait ?: number ;
61
61
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 ) [ ] ;
63
63
auto_scroll ?: boolean ;
64
64
js ?: string ;
65
65
cache ?: boolean ;
You can’t perform that action at this time.
0 commit comments