@isdk/web-fetcher 0.2.2 → 0.2.4
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/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/classes/CheerioFetchEngine.md +57 -57
- 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 +57 -57
- 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 +57 -57
- 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/globals.md +1 -0
- package/docs/interfaces/BaseFetchActionProperties.md +9 -9
- package/docs/interfaces/BaseFetchCollectorActionProperties.md +13 -13
- package/docs/interfaces/BaseFetcherProperties.md +22 -22
- 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 +32 -32
- package/docs/interfaces/FetchEngineContext.md +27 -27
- 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 +25 -25
- package/docs/interfaces/FetcherOptions.md +24 -24
- 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 +12 -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/docs/variables/FetcherOptionKeys.md +11 -0
- package/package.json +2 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: SubmitAction
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:4](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:4](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/definitions/submit.ts#L4)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:4](https://gi
|
|
|
32
32
|
|
|
33
33
|
> `static` **capabilities**: `object`
|
|
34
34
|
|
|
35
|
-
Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:7](https://github.com/isdk/web-fetcher.js/blob/
|
|
35
|
+
Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:7](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/definitions/submit.ts#L7)
|
|
36
36
|
|
|
37
37
|
#### browser
|
|
38
38
|
|
|
@@ -52,7 +52,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:7](https://gi
|
|
|
52
52
|
|
|
53
53
|
> `static` **id**: `string` = `'submit'`
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:5](https://github.com/isdk/web-fetcher.js/blob/
|
|
55
|
+
Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:5](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/definitions/submit.ts#L5)
|
|
56
56
|
|
|
57
57
|
#### Overrides
|
|
58
58
|
|
|
@@ -64,7 +64,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:5](https://gi
|
|
|
64
64
|
|
|
65
65
|
> `static` **returnType**: `"none"`
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:6](https://github.com/isdk/web-fetcher.js/blob/
|
|
67
|
+
Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:6](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/definitions/submit.ts#L6)
|
|
68
68
|
|
|
69
69
|
#### Overrides
|
|
70
70
|
|
|
@@ -78,7 +78,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:6](https://gi
|
|
|
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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/submit.ts:9](https://github.com/isdk/web-fetcher.js/blob/
|
|
367
|
+
Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:9](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/definitions/submit.ts#L9)
|
|
368
368
|
|
|
369
369
|
#### Parameters
|
|
370
370
|
|
|
@@ -392,7 +392,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/submit.ts:9](https://gi
|
|
|
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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L88)
|
|
520
520
|
|
|
521
521
|
#### Parameters
|
|
522
522
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: WaitForAction
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:4](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:4](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/definitions/wait-for.ts#L4)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:4](https://
|
|
|
32
32
|
|
|
33
33
|
> `static` **capabilities**: `object`
|
|
34
34
|
|
|
35
|
-
Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:7](https://github.com/isdk/web-fetcher.js/blob/
|
|
35
|
+
Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:7](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/definitions/wait-for.ts#L7)
|
|
36
36
|
|
|
37
37
|
#### browser
|
|
38
38
|
|
|
@@ -52,7 +52,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:7](https://
|
|
|
52
52
|
|
|
53
53
|
> `static` **id**: `string` = `'waitFor'`
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:5](https://github.com/isdk/web-fetcher.js/blob/
|
|
55
|
+
Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:5](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/definitions/wait-for.ts#L5)
|
|
56
56
|
|
|
57
57
|
#### Overrides
|
|
58
58
|
|
|
@@ -64,7 +64,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:5](https://
|
|
|
64
64
|
|
|
65
65
|
> `static` **returnType**: `"none"`
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:6](https://github.com/isdk/web-fetcher.js/blob/
|
|
67
|
+
Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:6](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/definitions/wait-for.ts#L6)
|
|
68
68
|
|
|
69
69
|
#### Overrides
|
|
70
70
|
|
|
@@ -78,7 +78,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:6](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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/wait-for.ts:9](https://github.com/isdk/web-fetcher.js/blob/
|
|
367
|
+
Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:9](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/definitions/wait-for.ts#L9)
|
|
368
368
|
|
|
369
369
|
#### Parameters
|
|
370
370
|
|
|
@@ -392,7 +392,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/wait-for.ts:9](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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/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/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L88)
|
|
520
520
|
|
|
521
521
|
#### Parameters
|
|
522
522
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: WebFetcher
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:4](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:4](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/core/web-fetcher.ts#L4)
|
|
10
10
|
|
|
11
11
|
## Constructors
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:4](https://github.com/
|
|
|
14
14
|
|
|
15
15
|
> **new WebFetcher**(`defaults`): `WebFetcher`
|
|
16
16
|
|
|
17
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:5](https://github.com/isdk/web-fetcher.js/blob/
|
|
17
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:5](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/core/web-fetcher.ts#L5)
|
|
18
18
|
|
|
19
19
|
#### Parameters
|
|
20
20
|
|
|
@@ -32,7 +32,7 @@ Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:5](https://github.com/
|
|
|
32
32
|
|
|
33
33
|
> **createSession**(`options?`): `Promise`\<[`FetchSession`](FetchSession.md)\>
|
|
34
34
|
|
|
35
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:7](https://github.com/isdk/web-fetcher.js/blob/
|
|
35
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:7](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/core/web-fetcher.ts#L7)
|
|
36
36
|
|
|
37
37
|
#### Parameters
|
|
38
38
|
|
|
@@ -52,7 +52,7 @@ Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:7](https://github.com/
|
|
|
52
52
|
|
|
53
53
|
> **fetch**(`url`, `options?`): `Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`: `undefined` \| [`FetchResponse`](../interfaces/FetchResponse.md); \}\>
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:12](https://github.com/isdk/web-fetcher.js/blob/
|
|
55
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:12](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/core/web-fetcher.ts#L12)
|
|
56
56
|
|
|
57
57
|
##### Parameters
|
|
58
58
|
|
|
@@ -72,7 +72,7 @@ Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:12](https://github.com
|
|
|
72
72
|
|
|
73
73
|
> **fetch**(`options`): `Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`: `undefined` \| [`FetchResponse`](../interfaces/FetchResponse.md); \}\>
|
|
74
74
|
|
|
75
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:13](https://github.com/isdk/web-fetcher.js/blob/
|
|
75
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:13](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/core/web-fetcher.ts#L13)
|
|
76
76
|
|
|
77
77
|
##### Parameters
|
|
78
78
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Enumeration: FetchActionResultStatus
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:7](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:7](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L7)
|
|
10
10
|
|
|
11
11
|
## Enumeration Members
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:7](https://github.c
|
|
|
14
14
|
|
|
15
15
|
> **Failed**: `0`
|
|
16
16
|
|
|
17
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:11](https://github.com/isdk/web-fetcher.js/blob/
|
|
17
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:11](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L11)
|
|
18
18
|
|
|
19
19
|
动作执行失败但未抛出(通常因 failOnError=false);错误信息在 error 字段
|
|
20
20
|
|
|
@@ -24,7 +24,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:11](https://github.
|
|
|
24
24
|
|
|
25
25
|
> **Skipped**: `2`
|
|
26
26
|
|
|
27
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:20](https://github.com/isdk/web-fetcher.js/blob/
|
|
27
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:20](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L20)
|
|
28
28
|
|
|
29
29
|
动作被判定为不执行/降级为 noop(比如引擎不支持且 degradeTo='noop')
|
|
30
30
|
能力不支持且 degradeTo='noop' 时:status='skipped',warnings 增加 { code:'capability-not-supported' }
|
|
@@ -35,6 +35,6 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:20](https://github.
|
|
|
35
35
|
|
|
36
36
|
> **Success**: `1`
|
|
37
37
|
|
|
38
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:15](https://github.com/isdk/web-fetcher.js/blob/
|
|
38
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:15](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L15)
|
|
39
39
|
|
|
40
40
|
动作按预期完成(即便产生 warnings)
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
> **fetchWeb**(`options`): `Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`: `undefined` \| [`FetchResponse`](../interfaces/FetchResponse.md); \}\>
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/web-fetcher/src/fetch-web.ts:4](https://github.com/isdk/web-fetcher.js/blob/
|
|
13
|
+
Defined in: [packages/web-fetcher/src/fetch-web.ts:4](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/fetch-web.ts#L4)
|
|
14
14
|
|
|
15
15
|
### Parameters
|
|
16
16
|
|
|
@@ -26,7 +26,7 @@ Defined in: [packages/web-fetcher/src/fetch-web.ts:4](https://github.com/isdk/we
|
|
|
26
26
|
|
|
27
27
|
> **fetchWeb**(`url`, `options?`): `Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`: `undefined` \| [`FetchResponse`](../interfaces/FetchResponse.md); \}\>
|
|
28
28
|
|
|
29
|
-
Defined in: [packages/web-fetcher/src/fetch-web.ts:5](https://github.com/isdk/web-fetcher.js/blob/
|
|
29
|
+
Defined in: [packages/web-fetcher/src/fetch-web.ts:5](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/fetch-web.ts#L5)
|
|
30
30
|
|
|
31
31
|
### Parameters
|
|
32
32
|
|
package/docs/globals.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: BaseFetchActionProperties
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:44](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:44](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L44)
|
|
10
10
|
|
|
11
11
|
## Extended by
|
|
12
12
|
|
|
@@ -24,7 +24,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:44](https://github.
|
|
|
24
24
|
|
|
25
25
|
> `optional` **failOnError**: `boolean`
|
|
26
26
|
|
|
27
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.com/isdk/web-fetcher.js/blob/
|
|
27
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L52)
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.
|
|
|
32
32
|
|
|
33
33
|
> `optional` **failOnTimeout**: `boolean`
|
|
34
34
|
|
|
35
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.com/isdk/web-fetcher.js/blob/
|
|
35
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L54)
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.
|
|
|
40
40
|
|
|
41
41
|
> `optional` **id**: `string`
|
|
42
42
|
|
|
43
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:45](https://github.com/isdk/web-fetcher.js/blob/
|
|
43
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:45](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L45)
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:45](https://github.
|
|
|
48
48
|
|
|
49
49
|
> `optional` **maxRetries**: `number`
|
|
50
50
|
|
|
51
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:56](https://github.com/isdk/web-fetcher.js/blob/
|
|
51
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:56](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L56)
|
|
52
52
|
|
|
53
53
|
***
|
|
54
54
|
|
|
@@ -56,7 +56,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:56](https://github.
|
|
|
56
56
|
|
|
57
57
|
> `optional` **name**: `string`
|
|
58
58
|
|
|
59
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:46](https://github.com/isdk/web-fetcher.js/blob/
|
|
59
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:46](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L46)
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
@@ -64,7 +64,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:46](https://github.
|
|
|
64
64
|
|
|
65
65
|
> `optional` **params**: `any`
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.com/isdk/web-fetcher.js/blob/
|
|
67
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L47)
|
|
68
68
|
|
|
69
69
|
***
|
|
70
70
|
|
|
@@ -72,7 +72,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.
|
|
|
72
72
|
|
|
73
73
|
> `optional` **storeAs**: `string`
|
|
74
74
|
|
|
75
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.com/isdk/web-fetcher.js/blob/
|
|
75
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L49)
|
|
76
76
|
|
|
77
77
|
***
|
|
78
78
|
|
|
@@ -80,4 +80,4 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.
|
|
|
80
80
|
|
|
81
81
|
> `optional` **timeoutMs**: `number`
|
|
82
82
|
|
|
83
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:55](https://github.com/isdk/web-fetcher.js/blob/
|
|
83
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:55](https://github.com/isdk/web-fetcher.js/blob/8bd7a48c89b74012f283a5397c5c3b526fdb7b09/src/action/fetch-action.ts#L55)
|