@isdk/web-fetcher 0.2.0 → 0.2.2
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.
- package/README.action.cn.md +32 -24
- package/README.action.md +14 -4
- package/README.cn.md +10 -2
- package/README.hackernews.md +52 -0
- package/README.md +10 -2
- package/README.reddit.md +248 -0
- package/README.v2ex.md +109 -0
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/README.md +10 -2
- package/docs/_media/README.action.md +14 -4
- package/docs/_media/README.cn.md +10 -2
- package/docs/classes/CheerioFetchEngine.md +91 -69
- package/docs/classes/ClickAction.md +23 -23
- package/docs/classes/ExtractAction.md +23 -23
- package/docs/classes/FetchAction.md +23 -23
- package/docs/classes/FetchEngine.md +87 -69
- package/docs/classes/FetchSession.md +8 -8
- package/docs/classes/FillAction.md +23 -23
- package/docs/classes/GetContentAction.md +23 -23
- package/docs/classes/GotoAction.md +23 -23
- package/docs/classes/PauseAction.md +23 -23
- package/docs/classes/PlaywrightFetchEngine.md +91 -69
- package/docs/classes/SubmitAction.md +23 -23
- package/docs/classes/WaitForAction.md +23 -23
- package/docs/classes/WebFetcher.md +5 -5
- package/docs/enumerations/FetchActionResultStatus.md +4 -4
- package/docs/functions/fetchWeb.md +2 -2
- package/docs/interfaces/BaseFetchActionProperties.md +9 -9
- package/docs/interfaces/BaseFetchCollectorActionProperties.md +13 -13
- package/docs/interfaces/BaseFetcherProperties.md +29 -21
- package/docs/interfaces/DispatchedEngineAction.md +4 -4
- package/docs/interfaces/ExtractActionProperties.md +9 -9
- package/docs/interfaces/FetchActionInContext.md +13 -13
- package/docs/interfaces/FetchActionProperties.md +10 -10
- package/docs/interfaces/FetchActionResult.md +6 -6
- package/docs/interfaces/FetchContext.md +43 -31
- package/docs/interfaces/FetchEngineContext.md +38 -26
- package/docs/interfaces/FetchMetadata.md +5 -5
- package/docs/interfaces/FetchResponse.md +13 -13
- package/docs/interfaces/FetchReturnTypeRegistry.md +7 -7
- package/docs/interfaces/FetchSite.md +36 -24
- package/docs/interfaces/FetcherOptions.md +35 -23
- package/docs/interfaces/GotoActionOptions.md +6 -6
- package/docs/interfaces/PendingEngineRequest.md +3 -3
- package/docs/interfaces/SubmitActionOptions.md +2 -2
- package/docs/interfaces/WaitForActionOptions.md +4 -4
- package/docs/type-aliases/BaseFetchActionOptions.md +1 -1
- package/docs/type-aliases/BaseFetchCollectorOptions.md +1 -1
- package/docs/type-aliases/BrowserEngine.md +1 -1
- package/docs/type-aliases/FetchActionCapabilities.md +1 -1
- package/docs/type-aliases/FetchActionCapabilityMode.md +1 -1
- package/docs/type-aliases/FetchActionOptions.md +1 -1
- package/docs/type-aliases/FetchEngineAction.md +1 -1
- package/docs/type-aliases/FetchEngineType.md +1 -1
- package/docs/type-aliases/FetchReturnType.md +1 -1
- package/docs/type-aliases/FetchReturnTypeFor.md +1 -1
- package/docs/type-aliases/OnFetchPauseCallback.md +1 -1
- package/docs/type-aliases/ResourceType.md +1 -1
- package/docs/variables/DefaultFetcherProperties.md +1 -1
- package/package.json +2 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: ClickAction
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/definitions/click.ts:4](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/definitions/click.ts:4](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/definitions/click.ts#L4)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/click.ts:4](https://git
|
|
|
32
32
|
|
|
33
33
|
> `static` **capabilities**: `object`
|
|
34
34
|
|
|
35
|
-
Defined in: [packages/web-fetcher/src/action/definitions/click.ts:7](https://github.com/isdk/web-fetcher.js/blob/
|
|
35
|
+
Defined in: [packages/web-fetcher/src/action/definitions/click.ts:7](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/definitions/click.ts#L7)
|
|
36
36
|
|
|
37
37
|
#### browser
|
|
38
38
|
|
|
@@ -52,7 +52,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/click.ts:7](https://git
|
|
|
52
52
|
|
|
53
53
|
> `static` **id**: `string` = `'click'`
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/web-fetcher/src/action/definitions/click.ts:5](https://github.com/isdk/web-fetcher.js/blob/
|
|
55
|
+
Defined in: [packages/web-fetcher/src/action/definitions/click.ts:5](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/definitions/click.ts#L5)
|
|
56
56
|
|
|
57
57
|
#### Overrides
|
|
58
58
|
|
|
@@ -64,7 +64,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/click.ts:5](https://git
|
|
|
64
64
|
|
|
65
65
|
> `static` **returnType**: `"none"`
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/web-fetcher/src/action/definitions/click.ts:6](https://github.com/isdk/web-fetcher.js/blob/
|
|
67
|
+
Defined in: [packages/web-fetcher/src/action/definitions/click.ts:6](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/definitions/click.ts#L6)
|
|
68
68
|
|
|
69
69
|
#### Overrides
|
|
70
70
|
|
|
@@ -78,7 +78,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/click.ts:6](https://git
|
|
|
78
78
|
|
|
79
79
|
> **get** **capabilities**(): [`FetchActionCapabilities`](../type-aliases/FetchActionCapabilities.md)
|
|
80
80
|
|
|
81
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:137](https://github.com/isdk/web-fetcher.js/blob/
|
|
81
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:137](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L137)
|
|
82
82
|
|
|
83
83
|
##### Returns
|
|
84
84
|
|
|
@@ -96,7 +96,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:137](https://github
|
|
|
96
96
|
|
|
97
97
|
> **get** **id**(): `string`
|
|
98
98
|
|
|
99
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:129](https://github.com/isdk/web-fetcher.js/blob/
|
|
99
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:129](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L129)
|
|
100
100
|
|
|
101
101
|
##### Returns
|
|
102
102
|
|
|
@@ -114,7 +114,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:129](https://github
|
|
|
114
114
|
|
|
115
115
|
> **get** **returnType**(): [`FetchReturnType`](../type-aliases/FetchReturnType.md)
|
|
116
116
|
|
|
117
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:133](https://github.com/isdk/web-fetcher.js/blob/
|
|
117
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:133](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L133)
|
|
118
118
|
|
|
119
119
|
##### Returns
|
|
120
120
|
|
|
@@ -130,7 +130,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:133](https://github
|
|
|
130
130
|
|
|
131
131
|
> **afterExec**(`context`, `options?`, `result?`, `scope?`): `Promise`\<`void`\>
|
|
132
132
|
|
|
133
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:311](https://github.com/isdk/web-fetcher.js/blob/
|
|
133
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:311](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L311)
|
|
134
134
|
|
|
135
135
|
Action 结束生命周期
|
|
136
136
|
负责:调用钩子、赋值lastResult, 触发事件、清理 stack、恢复 currentAction
|
|
@@ -173,7 +173,7 @@ Action 结束生命周期
|
|
|
173
173
|
|
|
174
174
|
> **beforeExec**(`context`, `options?`): `Promise`\<\{ `collectors`: `undefined` \| `CollectorsRuntime`; `entry`: [`FetchActionInContext`](../interfaces/FetchActionInContext.md); \}\>
|
|
175
175
|
|
|
176
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:265](https://github.com/isdk/web-fetcher.js/blob/
|
|
176
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:265](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L265)
|
|
177
177
|
|
|
178
178
|
Action 开始生命周期
|
|
179
179
|
负责:初始化 stack、设置 currentAction、触发事件、调用钩子
|
|
@@ -202,7 +202,7 @@ Action 开始生命周期
|
|
|
202
202
|
|
|
203
203
|
> `protected` **delegateToEngine**(`context`, `method`, ...`args`): `Promise`\<`any`\>
|
|
204
204
|
|
|
205
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:148](https://github.com/isdk/web-fetcher.js/blob/
|
|
205
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:148](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L148)
|
|
206
206
|
|
|
207
207
|
#### Parameters
|
|
208
208
|
|
|
@@ -232,7 +232,7 @@ keyof [`FetchEngine`](FetchEngine.md)\<`any`, `any`, `any`\>
|
|
|
232
232
|
|
|
233
233
|
> **execute**\<`R`\>(`context`, `options?`): `Promise`\<[`FetchActionResult`](../interfaces/FetchActionResult.md)\<`R`\>\>
|
|
234
234
|
|
|
235
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:363](https://github.com/isdk/web-fetcher.js/blob/
|
|
235
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:363](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L363)
|
|
236
236
|
|
|
237
237
|
#### Type Parameters
|
|
238
238
|
|
|
@@ -264,7 +264,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:363](https://github
|
|
|
264
264
|
|
|
265
265
|
> **getCapability**(`mode?`): [`FetchActionCapabilityMode`](../type-aliases/FetchActionCapabilityMode.md)
|
|
266
266
|
|
|
267
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:124](https://github.com/isdk/web-fetcher.js/blob/
|
|
267
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:124](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L124)
|
|
268
268
|
|
|
269
269
|
#### Parameters
|
|
270
270
|
|
|
@@ -286,7 +286,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:124](https://github
|
|
|
286
286
|
|
|
287
287
|
> `protected` **installCollectors**(`context`, `options?`): `undefined` \| `CollectorsRuntime`
|
|
288
288
|
|
|
289
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:165](https://github.com/isdk/web-fetcher.js/blob/
|
|
289
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:165](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L165)
|
|
290
290
|
|
|
291
291
|
#### Parameters
|
|
292
292
|
|
|
@@ -312,7 +312,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:165](https://github
|
|
|
312
312
|
|
|
313
313
|
> `protected` `optional` **onAfterExec**(`context`, `options?`): `void` \| `Promise`\<`void`\>
|
|
314
314
|
|
|
315
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:143](https://github.com/isdk/web-fetcher.js/blob/
|
|
315
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:143](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L143)
|
|
316
316
|
|
|
317
317
|
#### Parameters
|
|
318
318
|
|
|
@@ -338,7 +338,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:143](https://github
|
|
|
338
338
|
|
|
339
339
|
> `protected` `optional` **onBeforeExec**(`context`, `options?`): `void` \| `Promise`\<`void`\>
|
|
340
340
|
|
|
341
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:142](https://github.com/isdk/web-fetcher.js/blob/
|
|
341
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:142](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L142)
|
|
342
342
|
|
|
343
343
|
#### Parameters
|
|
344
344
|
|
|
@@ -364,7 +364,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:142](https://github
|
|
|
364
364
|
|
|
365
365
|
> **onExecute**(`context`, `options?`): `Promise`\<`void`\>
|
|
366
366
|
|
|
367
|
-
Defined in: [packages/web-fetcher/src/action/definitions/click.ts:9](https://github.com/isdk/web-fetcher.js/blob/
|
|
367
|
+
Defined in: [packages/web-fetcher/src/action/definitions/click.ts:9](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/definitions/click.ts#L9)
|
|
368
368
|
|
|
369
369
|
#### Parameters
|
|
370
370
|
|
|
@@ -392,7 +392,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/click.ts:9](https://git
|
|
|
392
392
|
|
|
393
393
|
> `static` **create**(`id`): `undefined` \| [`FetchAction`](FetchAction.md)
|
|
394
394
|
|
|
395
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:98](https://github.com/isdk/web-fetcher.js/blob/
|
|
395
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:98](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L98)
|
|
396
396
|
|
|
397
397
|
##### Parameters
|
|
398
398
|
|
|
@@ -412,7 +412,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:98](https://github.
|
|
|
412
412
|
|
|
413
413
|
> `static` **create**(`id`): `undefined` \| [`FetchAction`](FetchAction.md)
|
|
414
414
|
|
|
415
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:99](https://github.com/isdk/web-fetcher.js/blob/
|
|
415
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:99](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L99)
|
|
416
416
|
|
|
417
417
|
##### Parameters
|
|
418
418
|
|
|
@@ -434,7 +434,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:99](https://github.
|
|
|
434
434
|
|
|
435
435
|
> `static` **get**(`id`): `undefined` \| *typeof* [`FetchAction`](FetchAction.md)
|
|
436
436
|
|
|
437
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:94](https://github.com/isdk/web-fetcher.js/blob/
|
|
437
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:94](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L94)
|
|
438
438
|
|
|
439
439
|
#### Parameters
|
|
440
440
|
|
|
@@ -456,7 +456,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:94](https://github.
|
|
|
456
456
|
|
|
457
457
|
> `static` **getCapability**(`mode?`): [`FetchActionCapabilityMode`](../type-aliases/FetchActionCapabilityMode.md)
|
|
458
458
|
|
|
459
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:120](https://github.com/isdk/web-fetcher.js/blob/
|
|
459
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:120](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L120)
|
|
460
460
|
|
|
461
461
|
#### Parameters
|
|
462
462
|
|
|
@@ -478,7 +478,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:120](https://github
|
|
|
478
478
|
|
|
479
479
|
> `static` **has**(`name`): `boolean`
|
|
480
480
|
|
|
481
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:107](https://github.com/isdk/web-fetcher.js/blob/
|
|
481
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:107](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L107)
|
|
482
482
|
|
|
483
483
|
#### Parameters
|
|
484
484
|
|
|
@@ -500,7 +500,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:107](https://github
|
|
|
500
500
|
|
|
501
501
|
> `static` **list**(): `string`[]
|
|
502
502
|
|
|
503
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:111](https://github.com/isdk/web-fetcher.js/blob/
|
|
503
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:111](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L111)
|
|
504
504
|
|
|
505
505
|
#### Returns
|
|
506
506
|
|
|
@@ -516,7 +516,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:111](https://github
|
|
|
516
516
|
|
|
517
517
|
> `static` **register**(`actionClass`): `void`
|
|
518
518
|
|
|
519
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:88](https://github.com/isdk/web-fetcher.js/blob/
|
|
519
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:88](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L88)
|
|
520
520
|
|
|
521
521
|
#### Parameters
|
|
522
522
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: ExtractAction
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:9](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:9](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/definitions/extract.ts#L9)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:9](https://g
|
|
|
32
32
|
|
|
33
33
|
> `static` **capabilities**: `object`
|
|
34
34
|
|
|
35
|
-
Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:12](https://github.com/isdk/web-fetcher.js/blob/
|
|
35
|
+
Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:12](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/definitions/extract.ts#L12)
|
|
36
36
|
|
|
37
37
|
#### browser
|
|
38
38
|
|
|
@@ -52,7 +52,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:12](https://
|
|
|
52
52
|
|
|
53
53
|
> `static` **id**: `string` = `'extract'`
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:10](https://github.com/isdk/web-fetcher.js/blob/
|
|
55
|
+
Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:10](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/definitions/extract.ts#L10)
|
|
56
56
|
|
|
57
57
|
#### Overrides
|
|
58
58
|
|
|
@@ -64,7 +64,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:10](https://
|
|
|
64
64
|
|
|
65
65
|
> `static` **returnType**: `"any"`
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:11](https://github.com/isdk/web-fetcher.js/blob/
|
|
67
|
+
Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:11](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/definitions/extract.ts#L11)
|
|
68
68
|
|
|
69
69
|
#### Overrides
|
|
70
70
|
|
|
@@ -78,7 +78,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:11](https://
|
|
|
78
78
|
|
|
79
79
|
> **get** **capabilities**(): [`FetchActionCapabilities`](../type-aliases/FetchActionCapabilities.md)
|
|
80
80
|
|
|
81
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:137](https://github.com/isdk/web-fetcher.js/blob/
|
|
81
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:137](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L137)
|
|
82
82
|
|
|
83
83
|
##### Returns
|
|
84
84
|
|
|
@@ -96,7 +96,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:137](https://github
|
|
|
96
96
|
|
|
97
97
|
> **get** **id**(): `string`
|
|
98
98
|
|
|
99
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:129](https://github.com/isdk/web-fetcher.js/blob/
|
|
99
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:129](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L129)
|
|
100
100
|
|
|
101
101
|
##### Returns
|
|
102
102
|
|
|
@@ -114,7 +114,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:129](https://github
|
|
|
114
114
|
|
|
115
115
|
> **get** **returnType**(): [`FetchReturnType`](../type-aliases/FetchReturnType.md)
|
|
116
116
|
|
|
117
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:133](https://github.com/isdk/web-fetcher.js/blob/
|
|
117
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:133](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L133)
|
|
118
118
|
|
|
119
119
|
##### Returns
|
|
120
120
|
|
|
@@ -130,7 +130,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:133](https://github
|
|
|
130
130
|
|
|
131
131
|
> **afterExec**(`context`, `options?`, `result?`, `scope?`): `Promise`\<`void`\>
|
|
132
132
|
|
|
133
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:311](https://github.com/isdk/web-fetcher.js/blob/
|
|
133
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:311](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L311)
|
|
134
134
|
|
|
135
135
|
Action 结束生命周期
|
|
136
136
|
负责:调用钩子、赋值lastResult, 触发事件、清理 stack、恢复 currentAction
|
|
@@ -173,7 +173,7 @@ Action 结束生命周期
|
|
|
173
173
|
|
|
174
174
|
> **beforeExec**(`context`, `options?`): `Promise`\<\{ `collectors`: `undefined` \| `CollectorsRuntime`; `entry`: [`FetchActionInContext`](../interfaces/FetchActionInContext.md); \}\>
|
|
175
175
|
|
|
176
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:265](https://github.com/isdk/web-fetcher.js/blob/
|
|
176
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:265](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L265)
|
|
177
177
|
|
|
178
178
|
Action 开始生命周期
|
|
179
179
|
负责:初始化 stack、设置 currentAction、触发事件、调用钩子
|
|
@@ -202,7 +202,7 @@ Action 开始生命周期
|
|
|
202
202
|
|
|
203
203
|
> `protected` **delegateToEngine**(`context`, `method`, ...`args`): `Promise`\<`any`\>
|
|
204
204
|
|
|
205
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:148](https://github.com/isdk/web-fetcher.js/blob/
|
|
205
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:148](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L148)
|
|
206
206
|
|
|
207
207
|
#### Parameters
|
|
208
208
|
|
|
@@ -232,7 +232,7 @@ keyof [`FetchEngine`](FetchEngine.md)\<`any`, `any`, `any`\>
|
|
|
232
232
|
|
|
233
233
|
> **execute**\<`R`\>(`context`, `options?`): `Promise`\<[`FetchActionResult`](../interfaces/FetchActionResult.md)\<`R`\>\>
|
|
234
234
|
|
|
235
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:363](https://github.com/isdk/web-fetcher.js/blob/
|
|
235
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:363](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L363)
|
|
236
236
|
|
|
237
237
|
#### Type Parameters
|
|
238
238
|
|
|
@@ -264,7 +264,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:363](https://github
|
|
|
264
264
|
|
|
265
265
|
> **getCapability**(`mode?`): [`FetchActionCapabilityMode`](../type-aliases/FetchActionCapabilityMode.md)
|
|
266
266
|
|
|
267
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:124](https://github.com/isdk/web-fetcher.js/blob/
|
|
267
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:124](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L124)
|
|
268
268
|
|
|
269
269
|
#### Parameters
|
|
270
270
|
|
|
@@ -286,7 +286,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:124](https://github
|
|
|
286
286
|
|
|
287
287
|
> `protected` **installCollectors**(`context`, `options?`): `undefined` \| `CollectorsRuntime`
|
|
288
288
|
|
|
289
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:165](https://github.com/isdk/web-fetcher.js/blob/
|
|
289
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:165](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L165)
|
|
290
290
|
|
|
291
291
|
#### Parameters
|
|
292
292
|
|
|
@@ -312,7 +312,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:165](https://github
|
|
|
312
312
|
|
|
313
313
|
> `protected` `optional` **onAfterExec**(`context`, `options?`): `void` \| `Promise`\<`void`\>
|
|
314
314
|
|
|
315
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:143](https://github.com/isdk/web-fetcher.js/blob/
|
|
315
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:143](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L143)
|
|
316
316
|
|
|
317
317
|
#### Parameters
|
|
318
318
|
|
|
@@ -338,7 +338,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:143](https://github
|
|
|
338
338
|
|
|
339
339
|
> `protected` `optional` **onBeforeExec**(`context`, `options?`): `void` \| `Promise`\<`void`\>
|
|
340
340
|
|
|
341
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:142](https://github.com/isdk/web-fetcher.js/blob/
|
|
341
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:142](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L142)
|
|
342
342
|
|
|
343
343
|
#### Parameters
|
|
344
344
|
|
|
@@ -364,7 +364,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:142](https://github
|
|
|
364
364
|
|
|
365
365
|
> **onExecute**(`context`, `options?`): `Promise`\<`any`\>
|
|
366
366
|
|
|
367
|
-
Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:14](https://github.com/isdk/web-fetcher.js/blob/
|
|
367
|
+
Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:14](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/definitions/extract.ts#L14)
|
|
368
368
|
|
|
369
369
|
#### Parameters
|
|
370
370
|
|
|
@@ -392,7 +392,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/extract.ts:14](https://
|
|
|
392
392
|
|
|
393
393
|
> `static` **create**(`id`): `undefined` \| [`FetchAction`](FetchAction.md)
|
|
394
394
|
|
|
395
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:98](https://github.com/isdk/web-fetcher.js/blob/
|
|
395
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:98](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L98)
|
|
396
396
|
|
|
397
397
|
##### Parameters
|
|
398
398
|
|
|
@@ -412,7 +412,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:98](https://github.
|
|
|
412
412
|
|
|
413
413
|
> `static` **create**(`id`): `undefined` \| [`FetchAction`](FetchAction.md)
|
|
414
414
|
|
|
415
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:99](https://github.com/isdk/web-fetcher.js/blob/
|
|
415
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:99](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L99)
|
|
416
416
|
|
|
417
417
|
##### Parameters
|
|
418
418
|
|
|
@@ -434,7 +434,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:99](https://github.
|
|
|
434
434
|
|
|
435
435
|
> `static` **get**(`id`): `undefined` \| *typeof* [`FetchAction`](FetchAction.md)
|
|
436
436
|
|
|
437
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:94](https://github.com/isdk/web-fetcher.js/blob/
|
|
437
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:94](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L94)
|
|
438
438
|
|
|
439
439
|
#### Parameters
|
|
440
440
|
|
|
@@ -456,7 +456,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:94](https://github.
|
|
|
456
456
|
|
|
457
457
|
> `static` **getCapability**(`mode?`): [`FetchActionCapabilityMode`](../type-aliases/FetchActionCapabilityMode.md)
|
|
458
458
|
|
|
459
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:120](https://github.com/isdk/web-fetcher.js/blob/
|
|
459
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:120](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L120)
|
|
460
460
|
|
|
461
461
|
#### Parameters
|
|
462
462
|
|
|
@@ -478,7 +478,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:120](https://github
|
|
|
478
478
|
|
|
479
479
|
> `static` **has**(`name`): `boolean`
|
|
480
480
|
|
|
481
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:107](https://github.com/isdk/web-fetcher.js/blob/
|
|
481
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:107](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L107)
|
|
482
482
|
|
|
483
483
|
#### Parameters
|
|
484
484
|
|
|
@@ -500,7 +500,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:107](https://github
|
|
|
500
500
|
|
|
501
501
|
> `static` **list**(): `string`[]
|
|
502
502
|
|
|
503
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:111](https://github.com/isdk/web-fetcher.js/blob/
|
|
503
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:111](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L111)
|
|
504
504
|
|
|
505
505
|
#### Returns
|
|
506
506
|
|
|
@@ -516,7 +516,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:111](https://github
|
|
|
516
516
|
|
|
517
517
|
> `static` **register**(`actionClass`): `void`
|
|
518
518
|
|
|
519
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:88](https://github.com/isdk/web-fetcher.js/blob/
|
|
519
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:88](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L88)
|
|
520
520
|
|
|
521
521
|
#### Parameters
|
|
522
522
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Abstract Class: FetchAction
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:84](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:84](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L84)
|
|
10
10
|
|
|
11
11
|
## Extended by
|
|
12
12
|
|
|
@@ -35,7 +35,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:84](https://github.
|
|
|
35
35
|
|
|
36
36
|
> `static` **capabilities**: [`FetchActionCapabilities`](../type-aliases/FetchActionCapabilities.md)
|
|
37
37
|
|
|
38
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:118](https://github.com/isdk/web-fetcher.js/blob/
|
|
38
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:118](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L118)
|
|
39
39
|
|
|
40
40
|
***
|
|
41
41
|
|
|
@@ -43,7 +43,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:118](https://github
|
|
|
43
43
|
|
|
44
44
|
> `static` **id**: `string`
|
|
45
45
|
|
|
46
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:116](https://github.com/isdk/web-fetcher.js/blob/
|
|
46
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:116](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L116)
|
|
47
47
|
|
|
48
48
|
***
|
|
49
49
|
|
|
@@ -51,7 +51,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:116](https://github
|
|
|
51
51
|
|
|
52
52
|
> `static` **returnType**: [`FetchReturnType`](../type-aliases/FetchReturnType.md) = `'any'`
|
|
53
53
|
|
|
54
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:117](https://github.com/isdk/web-fetcher.js/blob/
|
|
54
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:117](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L117)
|
|
55
55
|
|
|
56
56
|
## Accessors
|
|
57
57
|
|
|
@@ -61,7 +61,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:117](https://github
|
|
|
61
61
|
|
|
62
62
|
> **get** **capabilities**(): [`FetchActionCapabilities`](../type-aliases/FetchActionCapabilities.md)
|
|
63
63
|
|
|
64
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:137](https://github.com/isdk/web-fetcher.js/blob/
|
|
64
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:137](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L137)
|
|
65
65
|
|
|
66
66
|
##### Returns
|
|
67
67
|
|
|
@@ -75,7 +75,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:137](https://github
|
|
|
75
75
|
|
|
76
76
|
> **get** **id**(): `string`
|
|
77
77
|
|
|
78
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:129](https://github.com/isdk/web-fetcher.js/blob/
|
|
78
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:129](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L129)
|
|
79
79
|
|
|
80
80
|
##### Returns
|
|
81
81
|
|
|
@@ -89,7 +89,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:129](https://github
|
|
|
89
89
|
|
|
90
90
|
> **get** **returnType**(): [`FetchReturnType`](../type-aliases/FetchReturnType.md)
|
|
91
91
|
|
|
92
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:133](https://github.com/isdk/web-fetcher.js/blob/
|
|
92
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:133](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L133)
|
|
93
93
|
|
|
94
94
|
##### Returns
|
|
95
95
|
|
|
@@ -101,7 +101,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:133](https://github
|
|
|
101
101
|
|
|
102
102
|
> **afterExec**(`context`, `options?`, `result?`, `scope?`): `Promise`\<`void`\>
|
|
103
103
|
|
|
104
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:311](https://github.com/isdk/web-fetcher.js/blob/
|
|
104
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:311](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L311)
|
|
105
105
|
|
|
106
106
|
Action 结束生命周期
|
|
107
107
|
负责:调用钩子、赋值lastResult, 触发事件、清理 stack、恢复 currentAction
|
|
@@ -140,7 +140,7 @@ Action 结束生命周期
|
|
|
140
140
|
|
|
141
141
|
> **beforeExec**(`context`, `options?`): `Promise`\<\{ `collectors`: `undefined` \| `CollectorsRuntime`; `entry`: [`FetchActionInContext`](../interfaces/FetchActionInContext.md); \}\>
|
|
142
142
|
|
|
143
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:265](https://github.com/isdk/web-fetcher.js/blob/
|
|
143
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:265](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L265)
|
|
144
144
|
|
|
145
145
|
Action 开始生命周期
|
|
146
146
|
负责:初始化 stack、设置 currentAction、触发事件、调用钩子
|
|
@@ -165,7 +165,7 @@ Action 开始生命周期
|
|
|
165
165
|
|
|
166
166
|
> `protected` **delegateToEngine**(`context`, `method`, ...`args`): `Promise`\<`any`\>
|
|
167
167
|
|
|
168
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:148](https://github.com/isdk/web-fetcher.js/blob/
|
|
168
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:148](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L148)
|
|
169
169
|
|
|
170
170
|
#### Parameters
|
|
171
171
|
|
|
@@ -191,7 +191,7 @@ keyof [`FetchEngine`](FetchEngine.md)\<`any`, `any`, `any`\>
|
|
|
191
191
|
|
|
192
192
|
> **execute**\<`R`\>(`context`, `options?`): `Promise`\<[`FetchActionResult`](../interfaces/FetchActionResult.md)\<`R`\>\>
|
|
193
193
|
|
|
194
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:363](https://github.com/isdk/web-fetcher.js/blob/
|
|
194
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:363](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L363)
|
|
195
195
|
|
|
196
196
|
#### Type Parameters
|
|
197
197
|
|
|
@@ -219,7 +219,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:363](https://github
|
|
|
219
219
|
|
|
220
220
|
> **getCapability**(`mode?`): [`FetchActionCapabilityMode`](../type-aliases/FetchActionCapabilityMode.md)
|
|
221
221
|
|
|
222
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:124](https://github.com/isdk/web-fetcher.js/blob/
|
|
222
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:124](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L124)
|
|
223
223
|
|
|
224
224
|
#### Parameters
|
|
225
225
|
|
|
@@ -237,7 +237,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:124](https://github
|
|
|
237
237
|
|
|
238
238
|
> `protected` **installCollectors**(`context`, `options?`): `undefined` \| `CollectorsRuntime`
|
|
239
239
|
|
|
240
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:165](https://github.com/isdk/web-fetcher.js/blob/
|
|
240
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:165](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L165)
|
|
241
241
|
|
|
242
242
|
#### Parameters
|
|
243
243
|
|
|
@@ -259,7 +259,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:165](https://github
|
|
|
259
259
|
|
|
260
260
|
> `protected` `optional` **onAfterExec**(`context`, `options?`): `void` \| `Promise`\<`void`\>
|
|
261
261
|
|
|
262
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:143](https://github.com/isdk/web-fetcher.js/blob/
|
|
262
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:143](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L143)
|
|
263
263
|
|
|
264
264
|
#### Parameters
|
|
265
265
|
|
|
@@ -281,7 +281,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:143](https://github
|
|
|
281
281
|
|
|
282
282
|
> `protected` `optional` **onBeforeExec**(`context`, `options?`): `void` \| `Promise`\<`void`\>
|
|
283
283
|
|
|
284
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:142](https://github.com/isdk/web-fetcher.js/blob/
|
|
284
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:142](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L142)
|
|
285
285
|
|
|
286
286
|
#### Parameters
|
|
287
287
|
|
|
@@ -303,7 +303,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:142](https://github
|
|
|
303
303
|
|
|
304
304
|
> `abstract` **onExecute**(`context`, `options?`, `eventPayload?`): `any`
|
|
305
305
|
|
|
306
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:146](https://github.com/isdk/web-fetcher.js/blob/
|
|
306
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:146](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L146)
|
|
307
307
|
|
|
308
308
|
#### Parameters
|
|
309
309
|
|
|
@@ -331,7 +331,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:146](https://github
|
|
|
331
331
|
|
|
332
332
|
> `static` **create**(`id`): `undefined` \| `FetchAction`
|
|
333
333
|
|
|
334
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:98](https://github.com/isdk/web-fetcher.js/blob/
|
|
334
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:98](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L98)
|
|
335
335
|
|
|
336
336
|
##### Parameters
|
|
337
337
|
|
|
@@ -347,7 +347,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:98](https://github.
|
|
|
347
347
|
|
|
348
348
|
> `static` **create**(`id`): `undefined` \| `FetchAction`
|
|
349
349
|
|
|
350
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:99](https://github.com/isdk/web-fetcher.js/blob/
|
|
350
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:99](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L99)
|
|
351
351
|
|
|
352
352
|
##### Parameters
|
|
353
353
|
|
|
@@ -365,7 +365,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:99](https://github.
|
|
|
365
365
|
|
|
366
366
|
> `static` **get**(`id`): `undefined` \| *typeof* `FetchAction`
|
|
367
367
|
|
|
368
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:94](https://github.com/isdk/web-fetcher.js/blob/
|
|
368
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:94](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L94)
|
|
369
369
|
|
|
370
370
|
#### Parameters
|
|
371
371
|
|
|
@@ -383,7 +383,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:94](https://github.
|
|
|
383
383
|
|
|
384
384
|
> `static` **getCapability**(`mode?`): [`FetchActionCapabilityMode`](../type-aliases/FetchActionCapabilityMode.md)
|
|
385
385
|
|
|
386
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:120](https://github.com/isdk/web-fetcher.js/blob/
|
|
386
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:120](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L120)
|
|
387
387
|
|
|
388
388
|
#### Parameters
|
|
389
389
|
|
|
@@ -401,7 +401,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:120](https://github
|
|
|
401
401
|
|
|
402
402
|
> `static` **has**(`name`): `boolean`
|
|
403
403
|
|
|
404
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:107](https://github.com/isdk/web-fetcher.js/blob/
|
|
404
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:107](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L107)
|
|
405
405
|
|
|
406
406
|
#### Parameters
|
|
407
407
|
|
|
@@ -419,7 +419,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:107](https://github
|
|
|
419
419
|
|
|
420
420
|
> `static` **list**(): `string`[]
|
|
421
421
|
|
|
422
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:111](https://github.com/isdk/web-fetcher.js/blob/
|
|
422
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:111](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L111)
|
|
423
423
|
|
|
424
424
|
#### Returns
|
|
425
425
|
|
|
@@ -431,7 +431,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:111](https://github
|
|
|
431
431
|
|
|
432
432
|
> `static` **register**(`actionClass`): `void`
|
|
433
433
|
|
|
434
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:88](https://github.com/isdk/web-fetcher.js/blob/
|
|
434
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:88](https://github.com/isdk/web-fetcher.js/blob/9d976e330f39f712a4e409b1bd1bd44a5fb476bf/src/action/fetch-action.ts#L88)
|
|
435
435
|
|
|
436
436
|
#### Parameters
|
|
437
437
|
|