@isdk/web-fetcher 0.3.0 → 0.3.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 +77 -312
- package/README.action.extract.cn.md +263 -0
- package/README.action.extract.md +263 -0
- package/README.action.md +76 -311
- package/README.cn.md +12 -2
- package/README.engine.cn.md +22 -1
- package/README.engine.md +22 -1
- package/README.md +10 -1
- package/dist/index.d.mts +245 -1
- package/dist/index.d.ts +245 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/README.md +10 -1
- package/docs/_media/README.action.md +76 -311
- package/docs/_media/README.cn.md +12 -2
- package/docs/_media/README.engine.md +22 -1
- package/docs/classes/CheerioFetchEngine.md +312 -88
- package/docs/classes/ClickAction.md +23 -23
- package/docs/classes/EvaluateAction.md +23 -23
- package/docs/classes/ExtractAction.md +23 -23
- package/docs/classes/FetchAction.md +29 -23
- package/docs/classes/FetchEngine.md +286 -86
- package/docs/classes/FetchSession.md +13 -13
- package/docs/classes/FillAction.md +23 -23
- package/docs/classes/GetContentAction.md +23 -23
- package/docs/classes/GotoAction.md +23 -23
- package/docs/classes/KeyboardPressAction.md +533 -0
- package/docs/classes/KeyboardTypeAction.md +533 -0
- package/docs/classes/MouseClickAction.md +533 -0
- package/docs/classes/MouseMoveAction.md +533 -0
- package/docs/classes/MouseWheelAction.md +533 -0
- package/docs/classes/PauseAction.md +23 -23
- package/docs/classes/PlaywrightFetchEngine.md +472 -88
- package/docs/classes/ScrollIntoViewAction.md +533 -0
- package/docs/classes/SubmitAction.md +23 -23
- package/docs/classes/TrimAction.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/functions/getRandomDelay.md +25 -0
- package/docs/globals.md +13 -0
- package/docs/interfaces/BaseFetchActionProperties.md +12 -12
- package/docs/interfaces/BaseFetchCollectorActionProperties.md +16 -16
- package/docs/interfaces/BaseFetcherProperties.md +31 -27
- package/docs/interfaces/Cookie.md +14 -14
- package/docs/interfaces/DispatchedEngineAction.md +4 -4
- package/docs/interfaces/EvaluateActionOptions.md +3 -3
- package/docs/interfaces/ExtractActionProperties.md +12 -12
- package/docs/interfaces/FetchActionInContext.md +15 -15
- package/docs/interfaces/FetchActionProperties.md +13 -13
- package/docs/interfaces/FetchActionResult.md +6 -6
- package/docs/interfaces/FetchContext.md +41 -37
- package/docs/interfaces/FetchEngineContext.md +36 -32
- package/docs/interfaces/FetchMetadata.md +5 -5
- package/docs/interfaces/FetchResponse.md +14 -14
- package/docs/interfaces/FetchReturnTypeRegistry.md +7 -7
- package/docs/interfaces/FetchSite.md +34 -30
- package/docs/interfaces/FetcherOptions.md +33 -29
- package/docs/interfaces/GotoActionOptions.md +14 -6
- package/docs/interfaces/KeyboardPressParams.md +25 -0
- package/docs/interfaces/KeyboardTypeParams.md +25 -0
- package/docs/interfaces/MouseClickParams.md +49 -0
- package/docs/interfaces/MouseMoveParams.md +41 -0
- package/docs/interfaces/MouseWheelParams.md +69 -0
- package/docs/interfaces/PendingEngineRequest.md +3 -3
- package/docs/interfaces/ScrollIntoViewParams.md +17 -0
- package/docs/interfaces/StorageOptions.md +5 -5
- package/docs/interfaces/SubmitActionOptions.md +2 -2
- package/docs/interfaces/TrimActionOptions.md +3 -3
- package/docs/interfaces/WaitForActionOptions.md +5 -5
- 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 +2 -2
- 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/type-aliases/TrimPreset.md +1 -1
- package/docs/variables/DefaultFetcherProperties.md +1 -1
- package/docs/variables/FetcherOptionKeys.md +1 -1
- package/docs/variables/TRIM_PRESETS.md +1 -1
- package/package.json +10 -10
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: WebFetcher
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:17](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:17](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/web-fetcher.ts#L17)
|
|
10
10
|
|
|
11
11
|
High-level entry point for the Web Fetcher library.
|
|
12
12
|
|
|
@@ -28,7 +28,7 @@ const { result } = await fetcher.fetch('https://example.com');
|
|
|
28
28
|
|
|
29
29
|
> **new WebFetcher**(`defaults`): `WebFetcher`
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:23](https://github.com/isdk/web-fetcher.js/blob/
|
|
31
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:23](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/web-fetcher.ts#L23)
|
|
32
32
|
|
|
33
33
|
Creates a new WebFetcher with default options.
|
|
34
34
|
|
|
@@ -50,7 +50,7 @@ Default configuration options applied to all sessions and requests.
|
|
|
50
50
|
|
|
51
51
|
> **createSession**(`options?`): `Promise`\<[`FetchSession`](FetchSession.md)\>
|
|
52
52
|
|
|
53
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:31](https://github.com/isdk/web-fetcher.js/blob/
|
|
53
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:31](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/web-fetcher.ts#L31)
|
|
54
54
|
|
|
55
55
|
Creates a new FetchSession.
|
|
56
56
|
|
|
@@ -76,7 +76,7 @@ A promise resolving to a new FetchSession instance.
|
|
|
76
76
|
|
|
77
77
|
> **fetch**(`url`, `options?`): `Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`: [`FetchResponse`](../interfaces/FetchResponse.md) \| `undefined`; \}\>
|
|
78
78
|
|
|
79
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:47](https://github.com/isdk/web-fetcher.js/blob/
|
|
79
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:47](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/web-fetcher.ts#L47)
|
|
80
80
|
|
|
81
81
|
Fetches content from a URL or executes a complex action script.
|
|
82
82
|
|
|
@@ -109,7 +109,7 @@ retrieves the content, and disposes of the session.
|
|
|
109
109
|
|
|
110
110
|
> **fetch**(`options`): `Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`: [`FetchResponse`](../interfaces/FetchResponse.md) \| `undefined`; \}\>
|
|
111
111
|
|
|
112
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:54](https://github.com/isdk/web-fetcher.js/blob/
|
|
112
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:54](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/web-fetcher.ts#L54)
|
|
113
113
|
|
|
114
114
|
Fetches content from a URL or executes a complex action script.
|
|
115
115
|
|
|
@@ -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/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/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/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/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/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/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/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/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`: [`FetchResponse`](../interfaces/FetchResponse.md) \| `undefined`; \}\>
|
|
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/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/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`: [`FetchResponse`](../interfaces/FetchResponse.md) \| `undefined`; \}\>
|
|
28
28
|
|
|
29
|
-
Defined in: [packages/web-fetcher/src/fetch-web.ts:7](https://github.com/isdk/web-fetcher.js/blob/
|
|
29
|
+
Defined in: [packages/web-fetcher/src/fetch-web.ts:7](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/fetch-web.ts#L7)
|
|
30
30
|
|
|
31
31
|
### Parameters
|
|
32
32
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[**@isdk/web-fetcher**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@isdk/web-fetcher](../globals.md) / getRandomDelay
|
|
6
|
+
|
|
7
|
+
# Function: getRandomDelay()
|
|
8
|
+
|
|
9
|
+
> **getRandomDelay**(`base`, `variance`): `number`
|
|
10
|
+
|
|
11
|
+
Defined in: [packages/web-fetcher/src/engine/base.ts:1587](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/engine/base.ts#L1587)
|
|
12
|
+
|
|
13
|
+
## Parameters
|
|
14
|
+
|
|
15
|
+
### base
|
|
16
|
+
|
|
17
|
+
`number`
|
|
18
|
+
|
|
19
|
+
### variance
|
|
20
|
+
|
|
21
|
+
`number` = `0.3`
|
|
22
|
+
|
|
23
|
+
## Returns
|
|
24
|
+
|
|
25
|
+
`number`
|
package/docs/globals.md
CHANGED
|
@@ -20,8 +20,14 @@
|
|
|
20
20
|
- [FillAction](classes/FillAction.md)
|
|
21
21
|
- [GetContentAction](classes/GetContentAction.md)
|
|
22
22
|
- [GotoAction](classes/GotoAction.md)
|
|
23
|
+
- [KeyboardPressAction](classes/KeyboardPressAction.md)
|
|
24
|
+
- [KeyboardTypeAction](classes/KeyboardTypeAction.md)
|
|
25
|
+
- [MouseClickAction](classes/MouseClickAction.md)
|
|
26
|
+
- [MouseMoveAction](classes/MouseMoveAction.md)
|
|
27
|
+
- [MouseWheelAction](classes/MouseWheelAction.md)
|
|
23
28
|
- [PauseAction](classes/PauseAction.md)
|
|
24
29
|
- [PlaywrightFetchEngine](classes/PlaywrightFetchEngine.md)
|
|
30
|
+
- [ScrollIntoViewAction](classes/ScrollIntoViewAction.md)
|
|
25
31
|
- [SubmitAction](classes/SubmitAction.md)
|
|
26
32
|
- [TrimAction](classes/TrimAction.md)
|
|
27
33
|
- [WaitForAction](classes/WaitForAction.md)
|
|
@@ -47,7 +53,13 @@
|
|
|
47
53
|
- [FetchReturnTypeRegistry](interfaces/FetchReturnTypeRegistry.md)
|
|
48
54
|
- [FetchSite](interfaces/FetchSite.md)
|
|
49
55
|
- [GotoActionOptions](interfaces/GotoActionOptions.md)
|
|
56
|
+
- [KeyboardPressParams](interfaces/KeyboardPressParams.md)
|
|
57
|
+
- [KeyboardTypeParams](interfaces/KeyboardTypeParams.md)
|
|
58
|
+
- [MouseClickParams](interfaces/MouseClickParams.md)
|
|
59
|
+
- [MouseMoveParams](interfaces/MouseMoveParams.md)
|
|
60
|
+
- [MouseWheelParams](interfaces/MouseWheelParams.md)
|
|
50
61
|
- [PendingEngineRequest](interfaces/PendingEngineRequest.md)
|
|
62
|
+
- [ScrollIntoViewParams](interfaces/ScrollIntoViewParams.md)
|
|
51
63
|
- [StorageOptions](interfaces/StorageOptions.md)
|
|
52
64
|
- [SubmitActionOptions](interfaces/SubmitActionOptions.md)
|
|
53
65
|
- [TrimActionOptions](interfaces/TrimActionOptions.md)
|
|
@@ -78,3 +90,4 @@
|
|
|
78
90
|
## Functions
|
|
79
91
|
|
|
80
92
|
- [fetchWeb](functions/fetchWeb.md)
|
|
93
|
+
- [getRandomDelay](functions/getRandomDelay.md)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: BaseFetchActionProperties
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:46](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:46](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L46)
|
|
10
10
|
|
|
11
11
|
## Extended by
|
|
12
12
|
|
|
@@ -24,7 +24,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:46](https://github.
|
|
|
24
24
|
|
|
25
25
|
> `optional` **action**: `string` \| [`FetchAction`](../classes/FetchAction.md)
|
|
26
26
|
|
|
27
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.com/isdk/web-fetcher.js/blob/
|
|
27
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L49)
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.
|
|
|
32
32
|
|
|
33
33
|
> `optional` **args**: `any`
|
|
34
34
|
|
|
35
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.com/isdk/web-fetcher.js/blob/
|
|
35
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L52)
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.
|
|
|
40
40
|
|
|
41
41
|
> `optional` **failOnError**: `boolean`
|
|
42
42
|
|
|
43
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.com/isdk/web-fetcher.js/blob/
|
|
43
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L57)
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.
|
|
|
48
48
|
|
|
49
49
|
> `optional` **failOnTimeout**: `boolean`
|
|
50
50
|
|
|
51
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:59](https://github.com/isdk/web-fetcher.js/blob/
|
|
51
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:59](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L59)
|
|
52
52
|
|
|
53
53
|
***
|
|
54
54
|
|
|
@@ -56,7 +56,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:59](https://github.
|
|
|
56
56
|
|
|
57
57
|
> `optional` **id**: `string`
|
|
58
58
|
|
|
59
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.com/isdk/web-fetcher.js/blob/
|
|
59
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L47)
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
@@ -64,7 +64,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.
|
|
|
64
64
|
|
|
65
65
|
> `optional` **index**: `number`
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:50](https://github.com/isdk/web-fetcher.js/blob/
|
|
67
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:50](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L50)
|
|
68
68
|
|
|
69
69
|
***
|
|
70
70
|
|
|
@@ -72,7 +72,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:50](https://github.
|
|
|
72
72
|
|
|
73
73
|
> `optional` **maxRetries**: `number`
|
|
74
74
|
|
|
75
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:61](https://github.com/isdk/web-fetcher.js/blob/
|
|
75
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:61](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L61)
|
|
76
76
|
|
|
77
77
|
***
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:61](https://github.
|
|
|
80
80
|
|
|
81
81
|
> `optional` **name**: `string`
|
|
82
82
|
|
|
83
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.com/isdk/web-fetcher.js/blob/
|
|
83
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L48)
|
|
84
84
|
|
|
85
85
|
***
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.
|
|
|
88
88
|
|
|
89
89
|
> `optional` **params**: `any`
|
|
90
90
|
|
|
91
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.com/isdk/web-fetcher.js/blob/
|
|
91
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L51)
|
|
92
92
|
|
|
93
93
|
***
|
|
94
94
|
|
|
@@ -96,7 +96,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.
|
|
|
96
96
|
|
|
97
97
|
> `optional` **storeAs**: `string`
|
|
98
98
|
|
|
99
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.com/isdk/web-fetcher.js/blob/
|
|
99
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L54)
|
|
100
100
|
|
|
101
101
|
***
|
|
102
102
|
|
|
@@ -104,4 +104,4 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.
|
|
|
104
104
|
|
|
105
105
|
> `optional` **timeoutMs**: `number`
|
|
106
106
|
|
|
107
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:60](https://github.com/isdk/web-fetcher.js/blob/
|
|
107
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:60](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L60)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: BaseFetchCollectorActionProperties
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:69](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:69](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L69)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -22,7 +22,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:69](https://github.
|
|
|
22
22
|
|
|
23
23
|
> `optional` **action**: `string` \| [`FetchAction`](../classes/FetchAction.md)
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.com/isdk/web-fetcher.js/blob/
|
|
25
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L49)
|
|
26
26
|
|
|
27
27
|
#### Inherited from
|
|
28
28
|
|
|
@@ -34,7 +34,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.
|
|
|
34
34
|
|
|
35
35
|
> `optional` **activateOn**: `string` \| `RegExp` \| (`string` \| `RegExp`)[]
|
|
36
36
|
|
|
37
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:72](https://github.com/isdk/web-fetcher.js/blob/
|
|
37
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:72](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L72)
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
@@ -42,7 +42,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:72](https://github.
|
|
|
42
42
|
|
|
43
43
|
> `optional` **args**: `any`
|
|
44
44
|
|
|
45
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.com/isdk/web-fetcher.js/blob/
|
|
45
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L52)
|
|
46
46
|
|
|
47
47
|
#### Inherited from
|
|
48
48
|
|
|
@@ -54,7 +54,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.
|
|
|
54
54
|
|
|
55
55
|
> `optional` **background**: `boolean`
|
|
56
56
|
|
|
57
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:78](https://github.com/isdk/web-fetcher.js/blob/
|
|
57
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:78](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L78)
|
|
58
58
|
|
|
59
59
|
***
|
|
60
60
|
|
|
@@ -62,7 +62,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:78](https://github.
|
|
|
62
62
|
|
|
63
63
|
> `optional` **collectOn**: `string` \| `RegExp` \| (`string` \| `RegExp`)[]
|
|
64
64
|
|
|
65
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:76](https://github.com/isdk/web-fetcher.js/blob/
|
|
65
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:76](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L76)
|
|
66
66
|
|
|
67
67
|
***
|
|
68
68
|
|
|
@@ -70,7 +70,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:76](https://github.
|
|
|
70
70
|
|
|
71
71
|
> `optional` **deactivateOn**: `string` \| `RegExp` \| (`string` \| `RegExp`)[]
|
|
72
72
|
|
|
73
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:74](https://github.com/isdk/web-fetcher.js/blob/
|
|
73
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:74](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L74)
|
|
74
74
|
|
|
75
75
|
***
|
|
76
76
|
|
|
@@ -78,7 +78,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:74](https://github.
|
|
|
78
78
|
|
|
79
79
|
> `optional` **failOnError**: `boolean`
|
|
80
80
|
|
|
81
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.com/isdk/web-fetcher.js/blob/
|
|
81
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L57)
|
|
82
82
|
|
|
83
83
|
#### Inherited from
|
|
84
84
|
|
|
@@ -90,7 +90,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.
|
|
|
90
90
|
|
|
91
91
|
> `optional` **failOnTimeout**: `boolean`
|
|
92
92
|
|
|
93
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:59](https://github.com/isdk/web-fetcher.js/blob/
|
|
93
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:59](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L59)
|
|
94
94
|
|
|
95
95
|
#### Inherited from
|
|
96
96
|
|
|
@@ -102,7 +102,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:59](https://github.
|
|
|
102
102
|
|
|
103
103
|
> `optional` **id**: `string`
|
|
104
104
|
|
|
105
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.com/isdk/web-fetcher.js/blob/
|
|
105
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L47)
|
|
106
106
|
|
|
107
107
|
#### Inherited from
|
|
108
108
|
|
|
@@ -114,7 +114,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.
|
|
|
114
114
|
|
|
115
115
|
> `optional` **index**: `number`
|
|
116
116
|
|
|
117
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:50](https://github.com/isdk/web-fetcher.js/blob/
|
|
117
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:50](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L50)
|
|
118
118
|
|
|
119
119
|
#### Inherited from
|
|
120
120
|
|
|
@@ -126,7 +126,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:50](https://github.
|
|
|
126
126
|
|
|
127
127
|
> `optional` **maxRetries**: `number`
|
|
128
128
|
|
|
129
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:61](https://github.com/isdk/web-fetcher.js/blob/
|
|
129
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:61](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L61)
|
|
130
130
|
|
|
131
131
|
#### Inherited from
|
|
132
132
|
|
|
@@ -138,7 +138,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:61](https://github.
|
|
|
138
138
|
|
|
139
139
|
> `optional` **name**: `string`
|
|
140
140
|
|
|
141
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.com/isdk/web-fetcher.js/blob/
|
|
141
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L48)
|
|
142
142
|
|
|
143
143
|
#### Inherited from
|
|
144
144
|
|
|
@@ -150,7 +150,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.
|
|
|
150
150
|
|
|
151
151
|
> `optional` **params**: `any`
|
|
152
152
|
|
|
153
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.com/isdk/web-fetcher.js/blob/
|
|
153
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L51)
|
|
154
154
|
|
|
155
155
|
#### Inherited from
|
|
156
156
|
|
|
@@ -162,7 +162,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.
|
|
|
162
162
|
|
|
163
163
|
> `optional` **storeAs**: `string`
|
|
164
164
|
|
|
165
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.com/isdk/web-fetcher.js/blob/
|
|
165
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L54)
|
|
166
166
|
|
|
167
167
|
#### Inherited from
|
|
168
168
|
|
|
@@ -174,7 +174,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.
|
|
|
174
174
|
|
|
175
175
|
> `optional` **timeoutMs**: `number`
|
|
176
176
|
|
|
177
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:60](https://github.com/isdk/web-fetcher.js/blob/
|
|
177
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:60](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L60)
|
|
178
178
|
|
|
179
179
|
#### Inherited from
|
|
180
180
|
|