@isdk/web-fetcher 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/README.action.cn.md +53 -312
  2. package/README.action.extract.cn.md +263 -0
  3. package/README.action.extract.md +263 -0
  4. package/README.action.md +53 -311
  5. package/README.cn.md +10 -2
  6. package/README.engine.cn.md +22 -1
  7. package/README.engine.md +22 -1
  8. package/README.md +8 -1
  9. package/dist/index.d.mts +147 -1
  10. package/dist/index.d.ts +147 -1
  11. package/dist/index.js +1 -1
  12. package/dist/index.mjs +1 -1
  13. package/docs/README.md +8 -1
  14. package/docs/_media/README.action.md +53 -311
  15. package/docs/_media/README.cn.md +10 -2
  16. package/docs/_media/README.engine.md +22 -1
  17. package/docs/classes/CheerioFetchEngine.md +236 -88
  18. package/docs/classes/ClickAction.md +23 -23
  19. package/docs/classes/EvaluateAction.md +23 -23
  20. package/docs/classes/ExtractAction.md +23 -23
  21. package/docs/classes/FetchAction.md +27 -23
  22. package/docs/classes/FetchEngine.md +218 -86
  23. package/docs/classes/FetchSession.md +13 -13
  24. package/docs/classes/FillAction.md +23 -23
  25. package/docs/classes/GetContentAction.md +23 -23
  26. package/docs/classes/GotoAction.md +23 -23
  27. package/docs/classes/KeyboardPressAction.md +533 -0
  28. package/docs/classes/KeyboardTypeAction.md +533 -0
  29. package/docs/classes/MouseClickAction.md +533 -0
  30. package/docs/classes/MouseMoveAction.md +533 -0
  31. package/docs/classes/PauseAction.md +23 -23
  32. package/docs/classes/PlaywrightFetchEngine.md +337 -87
  33. package/docs/classes/SubmitAction.md +23 -23
  34. package/docs/classes/TrimAction.md +23 -23
  35. package/docs/classes/WaitForAction.md +23 -23
  36. package/docs/classes/WebFetcher.md +5 -5
  37. package/docs/enumerations/FetchActionResultStatus.md +4 -4
  38. package/docs/functions/fetchWeb.md +2 -2
  39. package/docs/globals.md +8 -0
  40. package/docs/interfaces/BaseFetchActionProperties.md +12 -12
  41. package/docs/interfaces/BaseFetchCollectorActionProperties.md +16 -16
  42. package/docs/interfaces/BaseFetcherProperties.md +31 -27
  43. package/docs/interfaces/Cookie.md +14 -14
  44. package/docs/interfaces/DispatchedEngineAction.md +4 -4
  45. package/docs/interfaces/EvaluateActionOptions.md +3 -3
  46. package/docs/interfaces/ExtractActionProperties.md +12 -12
  47. package/docs/interfaces/FetchActionInContext.md +15 -15
  48. package/docs/interfaces/FetchActionProperties.md +13 -13
  49. package/docs/interfaces/FetchActionResult.md +6 -6
  50. package/docs/interfaces/FetchContext.md +41 -37
  51. package/docs/interfaces/FetchEngineContext.md +36 -32
  52. package/docs/interfaces/FetchMetadata.md +5 -5
  53. package/docs/interfaces/FetchResponse.md +14 -14
  54. package/docs/interfaces/FetchReturnTypeRegistry.md +7 -7
  55. package/docs/interfaces/FetchSite.md +34 -30
  56. package/docs/interfaces/FetcherOptions.md +33 -29
  57. package/docs/interfaces/GotoActionOptions.md +14 -6
  58. package/docs/interfaces/KeyboardPressParams.md +25 -0
  59. package/docs/interfaces/KeyboardTypeParams.md +25 -0
  60. package/docs/interfaces/MouseClickParams.md +49 -0
  61. package/docs/interfaces/MouseMoveParams.md +41 -0
  62. package/docs/interfaces/PendingEngineRequest.md +3 -3
  63. package/docs/interfaces/StorageOptions.md +5 -5
  64. package/docs/interfaces/SubmitActionOptions.md +2 -2
  65. package/docs/interfaces/TrimActionOptions.md +3 -3
  66. package/docs/interfaces/WaitForActionOptions.md +5 -5
  67. package/docs/type-aliases/BaseFetchActionOptions.md +1 -1
  68. package/docs/type-aliases/BaseFetchCollectorOptions.md +1 -1
  69. package/docs/type-aliases/BrowserEngine.md +1 -1
  70. package/docs/type-aliases/FetchActionCapabilities.md +1 -1
  71. package/docs/type-aliases/FetchActionCapabilityMode.md +1 -1
  72. package/docs/type-aliases/FetchActionOptions.md +1 -1
  73. package/docs/type-aliases/FetchEngineAction.md +2 -2
  74. package/docs/type-aliases/FetchEngineType.md +1 -1
  75. package/docs/type-aliases/FetchReturnType.md +1 -1
  76. package/docs/type-aliases/FetchReturnTypeFor.md +1 -1
  77. package/docs/type-aliases/OnFetchPauseCallback.md +1 -1
  78. package/docs/type-aliases/ResourceType.md +1 -1
  79. package/docs/type-aliases/TrimPreset.md +1 -1
  80. package/docs/variables/DefaultFetcherProperties.md +1 -1
  81. package/docs/variables/FetcherOptionKeys.md +1 -1
  82. package/docs/variables/TRIM_PRESETS.md +1 -1
  83. package/package.json +10 -10
@@ -0,0 +1,533 @@
1
+ [**@isdk/web-fetcher**](../README.md)
2
+
3
+ ***
4
+
5
+ [@isdk/web-fetcher](../globals.md) / MouseMoveAction
6
+
7
+ # Class: MouseMoveAction
8
+
9
+ Defined in: [packages/web-fetcher/src/action/definitions/mouse.ts:11](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/definitions/mouse.ts#L11)
10
+
11
+ ## Extends
12
+
13
+ - [`FetchAction`](FetchAction.md)
14
+
15
+ ## Constructors
16
+
17
+ ### Constructor
18
+
19
+ > **new MouseMoveAction**(): `MouseMoveAction`
20
+
21
+ #### Returns
22
+
23
+ `MouseMoveAction`
24
+
25
+ #### Inherited from
26
+
27
+ [`FetchAction`](FetchAction.md).[`constructor`](FetchAction.md#constructor)
28
+
29
+ ## Properties
30
+
31
+ ### capabilities
32
+
33
+ > `static` **capabilities**: `object`
34
+
35
+ Defined in: [packages/web-fetcher/src/action/definitions/mouse.ts:14](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/definitions/mouse.ts#L14)
36
+
37
+ #### browser
38
+
39
+ > **browser**: `"native"`
40
+
41
+ #### http
42
+
43
+ > **http**: `"noop"`
44
+
45
+ #### Overrides
46
+
47
+ [`FetchAction`](FetchAction.md).[`capabilities`](FetchAction.md#capabilities)
48
+
49
+ ***
50
+
51
+ ### id
52
+
53
+ > `static` **id**: `string` = `'mouseMove'`
54
+
55
+ Defined in: [packages/web-fetcher/src/action/definitions/mouse.ts:12](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/definitions/mouse.ts#L12)
56
+
57
+ #### Overrides
58
+
59
+ [`FetchAction`](FetchAction.md).[`id`](FetchAction.md#id)
60
+
61
+ ***
62
+
63
+ ### returnType
64
+
65
+ > `static` **returnType**: `"none"`
66
+
67
+ Defined in: [packages/web-fetcher/src/action/definitions/mouse.ts:13](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/definitions/mouse.ts#L13)
68
+
69
+ #### Overrides
70
+
71
+ [`FetchAction`](FetchAction.md).[`returnType`](FetchAction.md#returntype)
72
+
73
+ ## Accessors
74
+
75
+ ### capabilities
76
+
77
+ #### Get Signature
78
+
79
+ > **get** **capabilities**(): [`FetchActionCapabilities`](../type-aliases/FetchActionCapabilities.md)
80
+
81
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:163](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L163)
82
+
83
+ ##### Returns
84
+
85
+ [`FetchActionCapabilities`](../type-aliases/FetchActionCapabilities.md)
86
+
87
+ #### Inherited from
88
+
89
+ [`FetchAction`](FetchAction.md).[`capabilities`](FetchAction.md#capabilities-1)
90
+
91
+ ***
92
+
93
+ ### id
94
+
95
+ #### Get Signature
96
+
97
+ > **get** **id**(): `string`
98
+
99
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:155](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L155)
100
+
101
+ ##### Returns
102
+
103
+ `string`
104
+
105
+ #### Inherited from
106
+
107
+ [`FetchAction`](FetchAction.md).[`id`](FetchAction.md#id-1)
108
+
109
+ ***
110
+
111
+ ### returnType
112
+
113
+ #### Get Signature
114
+
115
+ > **get** **returnType**(): [`FetchReturnType`](../type-aliases/FetchReturnType.md)
116
+
117
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:159](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L159)
118
+
119
+ ##### Returns
120
+
121
+ [`FetchReturnType`](../type-aliases/FetchReturnType.md)
122
+
123
+ #### Inherited from
124
+
125
+ [`FetchAction`](FetchAction.md).[`returnType`](FetchAction.md#returntype-1)
126
+
127
+ ## Methods
128
+
129
+ ### afterExec()
130
+
131
+ > **afterExec**(`context`, `options?`, `result?`, `scope?`): `Promise`\<`void`\>
132
+
133
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:391](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L391)
134
+
135
+ Action 结束生命周期
136
+ 负责:调用钩子、赋值lastResult, 触发事件、清理 stack、恢复 currentAction
137
+
138
+ #### Parameters
139
+
140
+ ##### context
141
+
142
+ [`FetchContext`](../interfaces/FetchContext.md)
143
+
144
+ ##### options?
145
+
146
+ [`BaseFetchCollectorActionProperties`](../interfaces/BaseFetchCollectorActionProperties.md)
147
+
148
+ ##### result?
149
+
150
+ [`FetchActionResult`](../interfaces/FetchActionResult.md)\<[`FetchReturnType`](../type-aliases/FetchReturnType.md)\>
151
+
152
+ ##### scope?
153
+
154
+ ###### collectors?
155
+
156
+ `CollectorsRuntime`
157
+
158
+ ###### entry
159
+
160
+ [`FetchActionInContext`](../interfaces/FetchActionInContext.md)
161
+
162
+ #### Returns
163
+
164
+ `Promise`\<`void`\>
165
+
166
+ #### Inherited from
167
+
168
+ [`FetchAction`](FetchAction.md).[`afterExec`](FetchAction.md#afterexec)
169
+
170
+ ***
171
+
172
+ ### beforeExec()
173
+
174
+ > **beforeExec**(`context`, `options?`): `Promise`\<\{ `collectors`: `CollectorsRuntime` \| `undefined`; `entry`: [`FetchActionInContext`](../interfaces/FetchActionInContext.md); \}\>
175
+
176
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:347](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L347)
177
+
178
+ Action 开始生命周期
179
+ 负责:初始化 stack、设置 currentAction、触发事件、调用钩子
180
+
181
+ #### Parameters
182
+
183
+ ##### context
184
+
185
+ [`FetchContext`](../interfaces/FetchContext.md)
186
+
187
+ ##### options?
188
+
189
+ [`FetchActionProperties`](../interfaces/FetchActionProperties.md)
190
+
191
+ #### Returns
192
+
193
+ `Promise`\<\{ `collectors`: `CollectorsRuntime` \| `undefined`; `entry`: [`FetchActionInContext`](../interfaces/FetchActionInContext.md); \}\>
194
+
195
+ #### Inherited from
196
+
197
+ [`FetchAction`](FetchAction.md).[`beforeExec`](FetchAction.md#beforeexec)
198
+
199
+ ***
200
+
201
+ ### delegateToEngine()
202
+
203
+ > `protected` **delegateToEngine**(`context`, `method`, ...`args`): `Promise`\<`any`\>
204
+
205
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:184](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L184)
206
+
207
+ #### Parameters
208
+
209
+ ##### context
210
+
211
+ [`FetchContext`](../interfaces/FetchContext.md)
212
+
213
+ ##### method
214
+
215
+ keyof [`FetchEngine`](FetchEngine.md)\<`any`, `any`, `any`\>
216
+
217
+ ##### args
218
+
219
+ ...`any`[]
220
+
221
+ #### Returns
222
+
223
+ `Promise`\<`any`\>
224
+
225
+ #### Inherited from
226
+
227
+ [`FetchAction`](FetchAction.md).[`delegateToEngine`](FetchAction.md#delegatetoengine)
228
+
229
+ ***
230
+
231
+ ### execute()
232
+
233
+ > **execute**\<`R`\>(`context`, `options?`): `Promise`\<[`FetchActionResult`](../interfaces/FetchActionResult.md)\<`R`\>\>
234
+
235
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:461](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L461)
236
+
237
+ #### Type Parameters
238
+
239
+ ##### R
240
+
241
+ `R` *extends* [`FetchReturnType`](../type-aliases/FetchReturnType.md) = `"any"`
242
+
243
+ #### Parameters
244
+
245
+ ##### context
246
+
247
+ [`FetchContext`](../interfaces/FetchContext.md)
248
+
249
+ ##### options?
250
+
251
+ [`FetchActionProperties`](../interfaces/FetchActionProperties.md)
252
+
253
+ #### Returns
254
+
255
+ `Promise`\<[`FetchActionResult`](../interfaces/FetchActionResult.md)\<`R`\>\>
256
+
257
+ #### Inherited from
258
+
259
+ [`FetchAction`](FetchAction.md).[`execute`](FetchAction.md#execute)
260
+
261
+ ***
262
+
263
+ ### getCapability()
264
+
265
+ > **getCapability**(`mode?`): [`FetchActionCapabilityMode`](../type-aliases/FetchActionCapabilityMode.md)
266
+
267
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:150](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L150)
268
+
269
+ #### Parameters
270
+
271
+ ##### mode?
272
+
273
+ [`FetchEngineType`](../type-aliases/FetchEngineType.md)
274
+
275
+ #### Returns
276
+
277
+ [`FetchActionCapabilityMode`](../type-aliases/FetchActionCapabilityMode.md)
278
+
279
+ #### Inherited from
280
+
281
+ [`FetchAction`](FetchAction.md).[`getCapability`](FetchAction.md#getcapability)
282
+
283
+ ***
284
+
285
+ ### installCollectors()
286
+
287
+ > `protected` **installCollectors**(`context`, `options?`): `CollectorsRuntime` \| `undefined`
288
+
289
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:201](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L201)
290
+
291
+ #### Parameters
292
+
293
+ ##### context
294
+
295
+ [`FetchContext`](../interfaces/FetchContext.md)
296
+
297
+ ##### options?
298
+
299
+ [`FetchActionProperties`](../interfaces/FetchActionProperties.md)
300
+
301
+ #### Returns
302
+
303
+ `CollectorsRuntime` \| `undefined`
304
+
305
+ #### Inherited from
306
+
307
+ [`FetchAction`](FetchAction.md).[`installCollectors`](FetchAction.md#installcollectors)
308
+
309
+ ***
310
+
311
+ ### onAfterExec()?
312
+
313
+ > `protected` `optional` **onAfterExec**(`context`, `options?`): `void` \| `Promise`\<`void`\>
314
+
315
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:172](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L172)
316
+
317
+ #### Parameters
318
+
319
+ ##### context
320
+
321
+ [`FetchContext`](../interfaces/FetchContext.md)
322
+
323
+ ##### options?
324
+
325
+ [`FetchActionProperties`](../interfaces/FetchActionProperties.md)
326
+
327
+ #### Returns
328
+
329
+ `void` \| `Promise`\<`void`\>
330
+
331
+ #### Inherited from
332
+
333
+ [`FetchAction`](FetchAction.md).[`onAfterExec`](FetchAction.md#onafterexec)
334
+
335
+ ***
336
+
337
+ ### onBeforeExec()?
338
+
339
+ > `protected` `optional` **onBeforeExec**(`context`, `options?`): `void` \| `Promise`\<`void`\>
340
+
341
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:168](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L168)
342
+
343
+ #### Parameters
344
+
345
+ ##### context
346
+
347
+ [`FetchContext`](../interfaces/FetchContext.md)
348
+
349
+ ##### options?
350
+
351
+ [`FetchActionProperties`](../interfaces/FetchActionProperties.md)
352
+
353
+ #### Returns
354
+
355
+ `void` \| `Promise`\<`void`\>
356
+
357
+ #### Inherited from
358
+
359
+ [`FetchAction`](FetchAction.md).[`onBeforeExec`](FetchAction.md#onbeforeexec)
360
+
361
+ ***
362
+
363
+ ### onExecute()
364
+
365
+ > **onExecute**(`context`, `options?`): `Promise`\<`void`\>
366
+
367
+ Defined in: [packages/web-fetcher/src/action/definitions/mouse.ts:19](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/definitions/mouse.ts#L19)
368
+
369
+ #### Parameters
370
+
371
+ ##### context
372
+
373
+ [`FetchContext`](../interfaces/FetchContext.md)
374
+
375
+ ##### options?
376
+
377
+ [`BaseFetchActionProperties`](../interfaces/BaseFetchActionProperties.md)
378
+
379
+ #### Returns
380
+
381
+ `Promise`\<`void`\>
382
+
383
+ #### Overrides
384
+
385
+ [`FetchAction`](FetchAction.md).[`onExecute`](FetchAction.md#onexecute)
386
+
387
+ ***
388
+
389
+ ### create()
390
+
391
+ #### Call Signature
392
+
393
+ > `static` **create**(`id`): [`FetchAction`](FetchAction.md) \| `undefined`
394
+
395
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:113](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L113)
396
+
397
+ ##### Parameters
398
+
399
+ ###### id
400
+
401
+ `_RequireAtLeastOne`
402
+
403
+ ##### Returns
404
+
405
+ [`FetchAction`](FetchAction.md) \| `undefined`
406
+
407
+ ##### Inherited from
408
+
409
+ [`FetchAction`](FetchAction.md).[`create`](FetchAction.md#create)
410
+
411
+ #### Call Signature
412
+
413
+ > `static` **create**(`id`): [`FetchAction`](FetchAction.md) \| `undefined`
414
+
415
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:114](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L114)
416
+
417
+ ##### Parameters
418
+
419
+ ###### id
420
+
421
+ `string`
422
+
423
+ ##### Returns
424
+
425
+ [`FetchAction`](FetchAction.md) \| `undefined`
426
+
427
+ ##### Inherited from
428
+
429
+ [`FetchAction`](FetchAction.md).[`create`](FetchAction.md#create)
430
+
431
+ ***
432
+
433
+ ### get()
434
+
435
+ > `static` **get**(`id`): *typeof* [`FetchAction`](FetchAction.md) \| `undefined`
436
+
437
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:109](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L109)
438
+
439
+ #### Parameters
440
+
441
+ ##### id
442
+
443
+ `string`
444
+
445
+ #### Returns
446
+
447
+ *typeof* [`FetchAction`](FetchAction.md) \| `undefined`
448
+
449
+ #### Inherited from
450
+
451
+ [`FetchAction`](FetchAction.md).[`get`](FetchAction.md#get)
452
+
453
+ ***
454
+
455
+ ### getCapability()
456
+
457
+ > `static` **getCapability**(`mode?`): [`FetchActionCapabilityMode`](../type-aliases/FetchActionCapabilityMode.md)
458
+
459
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:146](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L146)
460
+
461
+ #### Parameters
462
+
463
+ ##### mode?
464
+
465
+ [`FetchEngineType`](../type-aliases/FetchEngineType.md)
466
+
467
+ #### Returns
468
+
469
+ [`FetchActionCapabilityMode`](../type-aliases/FetchActionCapabilityMode.md)
470
+
471
+ #### Inherited from
472
+
473
+ [`FetchAction`](FetchAction.md).[`getCapability`](FetchAction.md#getcapability-2)
474
+
475
+ ***
476
+
477
+ ### has()
478
+
479
+ > `static` **has**(`name`): `boolean`
480
+
481
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:130](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L130)
482
+
483
+ #### Parameters
484
+
485
+ ##### name
486
+
487
+ `string`
488
+
489
+ #### Returns
490
+
491
+ `boolean`
492
+
493
+ #### Inherited from
494
+
495
+ [`FetchAction`](FetchAction.md).[`has`](FetchAction.md#has)
496
+
497
+ ***
498
+
499
+ ### list()
500
+
501
+ > `static` **list**(): `string`[]
502
+
503
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:134](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L134)
504
+
505
+ #### Returns
506
+
507
+ `string`[]
508
+
509
+ #### Inherited from
510
+
511
+ [`FetchAction`](FetchAction.md).[`list`](FetchAction.md#list)
512
+
513
+ ***
514
+
515
+ ### register()
516
+
517
+ > `static` **register**(`actionClass`): `void`
518
+
519
+ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:103](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/action/fetch-action.ts#L103)
520
+
521
+ #### Parameters
522
+
523
+ ##### actionClass
524
+
525
+ *typeof* [`FetchAction`](FetchAction.md)
526
+
527
+ #### Returns
528
+
529
+ `void`
530
+
531
+ #### Inherited from
532
+
533
+ [`FetchAction`](FetchAction.md).[`register`](FetchAction.md#register)