File tree Expand file tree Collapse file tree
src/content/docs/developer-guide/worker-definition Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- ---
1+ ---
22title : Worker Input Configuration (Input Schema)
33description : A manual for Worker input configuration (Input Schema)
44sidebar :
@@ -247,12 +247,12 @@ Object array with custom key names:
247247 "type" : " array" ,
248248 "title" : " Start URLs" ,
249249 "editor" : " requestList" ,
250+ "default" : [
251+ {
250252 "key" : " value1"
253+ },
251254 {
252- "url_path" : " https://example.com/page1"
253255 "key" : " value2"
254- {
255- "url_path" : " https://example.com/page2"
256256 }
257257 ],
258258 "required" : true ,
@@ -266,11 +266,11 @@ OR plain string array:
266266{
267267 "name" : " startURLs" ,
268268 "type" : " array" ,
269+ "title" : " Start URLs" ,
270+ "editor" : " requestList" ,
271+ "default" : [
269272 " value1" ,
270273 " value2"
271- "default" : [
272- " https://example.com/page1" ,
273- " https://example.com/page2"
274274 ],
275275 "required" : true ,
276276 "description" : " The URLs of the website to scrape"
@@ -372,7 +372,6 @@ Developers can logically group multiple configuration items by using specific fi
372372 "type" : " array" ,
373373 "editor" : " stringList" ,
374374 "description" : " Username(s) to search. One per line." ,
375- "default" : [
376375 "default" : [
377376 " john_doe"
378377 ],
You can’t perform that action at this time.
0 commit comments