@isdk/web-fetcher 0.2.12 → 0.3.0
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 +312 -11
- package/README.action.md +324 -11
- package/README.cn.md +13 -11
- package/README.engine.cn.md +96 -13
- package/README.engine.md +93 -13
- package/README.md +11 -9
- package/dist/index.d.mts +521 -50
- package/dist/index.d.ts +521 -50
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/README.md +11 -9
- package/docs/_media/README.action.md +324 -11
- package/docs/_media/README.cn.md +13 -11
- package/docs/_media/README.engine.md +93 -13
- package/docs/classes/CheerioFetchEngine.md +647 -125
- package/docs/classes/ClickAction.md +33 -33
- package/docs/classes/EvaluateAction.md +559 -0
- package/docs/classes/ExtractAction.md +33 -33
- package/docs/classes/FetchAction.md +35 -33
- package/docs/classes/FetchEngine.md +528 -122
- package/docs/classes/FetchSession.md +38 -16
- package/docs/classes/FillAction.md +33 -33
- package/docs/classes/GetContentAction.md +33 -33
- package/docs/classes/GotoAction.md +33 -33
- package/docs/classes/PauseAction.md +33 -33
- package/docs/classes/PlaywrightFetchEngine.md +570 -122
- package/docs/classes/SubmitAction.md +33 -33
- package/docs/classes/TrimAction.md +533 -0
- package/docs/classes/WaitForAction.md +33 -33
- package/docs/classes/WebFetcher.md +9 -9
- package/docs/enumerations/FetchActionResultStatus.md +4 -4
- package/docs/functions/fetchWeb.md +6 -6
- package/docs/globals.md +6 -0
- package/docs/interfaces/BaseFetchActionProperties.md +12 -12
- package/docs/interfaces/BaseFetchCollectorActionProperties.md +16 -16
- package/docs/interfaces/BaseFetcherProperties.md +28 -28
- package/docs/interfaces/DispatchedEngineAction.md +4 -4
- package/docs/interfaces/EvaluateActionOptions.md +81 -0
- 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 +38 -38
- package/docs/interfaces/FetchEngineContext.md +33 -33
- package/docs/interfaces/FetchMetadata.md +5 -5
- package/docs/interfaces/FetchResponse.md +14 -14
- package/docs/interfaces/FetchReturnTypeRegistry.md +8 -8
- package/docs/interfaces/FetchSite.md +31 -31
- package/docs/interfaces/FetcherOptions.md +30 -30
- package/docs/interfaces/GotoActionOptions.md +6 -6
- package/docs/interfaces/PendingEngineRequest.md +3 -3
- package/docs/interfaces/StorageOptions.md +5 -5
- package/docs/interfaces/SubmitActionOptions.md +2 -2
- package/docs/interfaces/TrimActionOptions.md +27 -0
- 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 +13 -0
- package/docs/variables/DefaultFetcherProperties.md +1 -1
- package/docs/variables/FetcherOptionKeys.md +1 -1
- package/docs/variables/TRIM_PRESETS.md +11 -0
- package/package.json +4 -4
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: FetchSession
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/core/session.ts:24](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:24](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L24)
|
|
10
10
|
|
|
11
11
|
Represents a stateful web fetching session.
|
|
12
12
|
|
|
@@ -24,7 +24,7 @@ Sessions are isolated; each has its own unique ID and (by default) its own stora
|
|
|
24
24
|
|
|
25
25
|
> **new FetchSession**(`options`): `FetchSession`
|
|
26
26
|
|
|
27
|
-
Defined in: [packages/web-fetcher/src/core/session.ts:42](https://github.com/isdk/web-fetcher.js/blob/
|
|
27
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:42](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L42)
|
|
28
28
|
|
|
29
29
|
Creates a new FetchSession.
|
|
30
30
|
|
|
@@ -46,7 +46,7 @@ Configuration options for the fetcher.
|
|
|
46
46
|
|
|
47
47
|
> `protected` **closed**: `boolean` = `false`
|
|
48
48
|
|
|
49
|
-
Defined in: [packages/web-fetcher/src/core/session.ts:35](https://github.com/isdk/web-fetcher.js/blob/
|
|
49
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:35](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L35)
|
|
50
50
|
|
|
51
51
|
***
|
|
52
52
|
|
|
@@ -54,7 +54,7 @@ Defined in: [packages/web-fetcher/src/core/session.ts:35](https://github.com/isd
|
|
|
54
54
|
|
|
55
55
|
> `readonly` **context**: [`FetchContext`](../interfaces/FetchContext.md)
|
|
56
56
|
|
|
57
|
-
Defined in: [packages/web-fetcher/src/core/session.ts:32](https://github.com/isdk/web-fetcher.js/blob/
|
|
57
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:32](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L32)
|
|
58
58
|
|
|
59
59
|
The execution context for this session, containing configurations, event bus, and shared state.
|
|
60
60
|
|
|
@@ -64,7 +64,7 @@ The execution context for this session, containing configurations, event bus, an
|
|
|
64
64
|
|
|
65
65
|
> `readonly` **id**: `string`
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/web-fetcher/src/core/session.ts:28](https://github.com/isdk/web-fetcher.js/blob/
|
|
67
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:28](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L28)
|
|
68
68
|
|
|
69
69
|
Unique identifier for the session.
|
|
70
70
|
|
|
@@ -74,17 +74,39 @@ Unique identifier for the session.
|
|
|
74
74
|
|
|
75
75
|
> `protected` **options**: [`FetcherOptions`](../interfaces/FetcherOptions.md) = `{}`
|
|
76
76
|
|
|
77
|
-
Defined in: [packages/web-fetcher/src/core/session.ts:42](https://github.com/isdk/web-fetcher.js/blob/
|
|
77
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:42](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L42)
|
|
78
78
|
|
|
79
79
|
Configuration options for the fetcher.
|
|
80
80
|
|
|
81
81
|
## Methods
|
|
82
82
|
|
|
83
|
+
### \_logDebug()
|
|
84
|
+
|
|
85
|
+
> `protected` **\_logDebug**(`category`, ...`args`): `void`
|
|
86
|
+
|
|
87
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:47](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L47)
|
|
88
|
+
|
|
89
|
+
#### Parameters
|
|
90
|
+
|
|
91
|
+
##### category
|
|
92
|
+
|
|
93
|
+
`string`
|
|
94
|
+
|
|
95
|
+
##### args
|
|
96
|
+
|
|
97
|
+
...`any`[]
|
|
98
|
+
|
|
99
|
+
#### Returns
|
|
100
|
+
|
|
101
|
+
`void`
|
|
102
|
+
|
|
103
|
+
***
|
|
104
|
+
|
|
83
105
|
### createContext()
|
|
84
106
|
|
|
85
107
|
> `protected` **createContext**(`options`): [`FetchContext`](../interfaces/FetchContext.md)
|
|
86
108
|
|
|
87
|
-
Defined in: [packages/web-fetcher/src/core/session.ts:
|
|
109
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:235](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L235)
|
|
88
110
|
|
|
89
111
|
#### Parameters
|
|
90
112
|
|
|
@@ -102,7 +124,7 @@ Defined in: [packages/web-fetcher/src/core/session.ts:219](https://github.com/is
|
|
|
102
124
|
|
|
103
125
|
> **dispose**(): `Promise`\<`void`\>
|
|
104
126
|
|
|
105
|
-
Defined in: [packages/web-fetcher/src/core/session.ts:
|
|
127
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:204](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L204)
|
|
106
128
|
|
|
107
129
|
Disposes of the session and its associated engine.
|
|
108
130
|
|
|
@@ -121,7 +143,7 @@ This method should be called when the session is no longer needed to free up res
|
|
|
121
143
|
|
|
122
144
|
> **execute**\<`R`\>(`actionOptions`, `context`): `Promise`\<[`FetchActionResult`](../interfaces/FetchActionResult.md)\<`R`\>\>
|
|
123
145
|
|
|
124
|
-
Defined in: [packages/web-fetcher/src/core/session.ts:
|
|
146
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:68](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L68)
|
|
125
147
|
|
|
126
148
|
Executes a single action within the session.
|
|
127
149
|
|
|
@@ -163,9 +185,9 @@ await session.execute({ name: 'goto', params: { url: 'https://example.com' } });
|
|
|
163
185
|
|
|
164
186
|
### executeAll()
|
|
165
187
|
|
|
166
|
-
> **executeAll**(`actions`, `options?`): `Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`:
|
|
188
|
+
> **executeAll**(`actions`, `options?`): `Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`: [`FetchResponse`](../interfaces/FetchResponse.md) \| `undefined`; \}\>
|
|
167
189
|
|
|
168
|
-
Defined in: [packages/web-fetcher/src/core/session.ts:
|
|
190
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:130](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L130)
|
|
169
191
|
|
|
170
192
|
Executes a sequence of actions.
|
|
171
193
|
|
|
@@ -186,7 +208,7 @@ Optional temporary configuration overrides (e.g., timeoutMs, headers) for this b
|
|
|
186
208
|
|
|
187
209
|
#### Returns
|
|
188
210
|
|
|
189
|
-
`Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`:
|
|
211
|
+
`Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`: [`FetchResponse`](../interfaces/FetchResponse.md) \| `undefined`; \}\>
|
|
190
212
|
|
|
191
213
|
A promise that resolves to an object containing the result of the last action and all accumulated outputs.
|
|
192
214
|
|
|
@@ -205,7 +227,7 @@ const { result, outputs } = await session.executeAll([
|
|
|
205
227
|
|
|
206
228
|
> **getOutputs**(): `Record`\<`string`, `any`\>
|
|
207
229
|
|
|
208
|
-
Defined in: [packages/web-fetcher/src/core/session.ts:
|
|
230
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:182](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L182)
|
|
209
231
|
|
|
210
232
|
Retrieves all outputs accumulated during the session.
|
|
211
233
|
|
|
@@ -219,14 +241,14 @@ A record of stored output data.
|
|
|
219
241
|
|
|
220
242
|
### getState()
|
|
221
243
|
|
|
222
|
-
> **getState**(): `Promise
|
|
244
|
+
> **getState**(): `Promise`\<\{ `cookies`: [`Cookie`](../interfaces/Cookie.md)[]; `sessionState?`: `any`; \} \| `undefined`\>
|
|
223
245
|
|
|
224
|
-
Defined in: [packages/web-fetcher/src/core/session.ts:
|
|
246
|
+
Defined in: [packages/web-fetcher/src/core/session.ts:191](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/core/session.ts#L191)
|
|
225
247
|
|
|
226
248
|
Gets the current state of the session, including cookies and engine-specific state.
|
|
227
249
|
|
|
228
250
|
#### Returns
|
|
229
251
|
|
|
230
|
-
`Promise
|
|
252
|
+
`Promise`\<\{ `cookies`: [`Cookie`](../interfaces/Cookie.md)[]; `sessionState?`: `any`; \} \| `undefined`\>
|
|
231
253
|
|
|
232
254
|
A promise resolving to the session state, or undefined if no engine is initialized.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: FillAction
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:4](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:4](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/definitions/fill.ts#L4)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:4](https://gith
|
|
|
32
32
|
|
|
33
33
|
> `static` **capabilities**: `object`
|
|
34
34
|
|
|
35
|
-
Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:7](https://github.com/isdk/web-fetcher.js/blob/
|
|
35
|
+
Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:7](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/definitions/fill.ts#L7)
|
|
36
36
|
|
|
37
37
|
#### browser
|
|
38
38
|
|
|
@@ -52,7 +52,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:7](https://gith
|
|
|
52
52
|
|
|
53
53
|
> `static` **id**: `string` = `'fill'`
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:5](https://github.com/isdk/web-fetcher.js/blob/
|
|
55
|
+
Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:5](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/definitions/fill.ts#L5)
|
|
56
56
|
|
|
57
57
|
#### Overrides
|
|
58
58
|
|
|
@@ -64,7 +64,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:5](https://gith
|
|
|
64
64
|
|
|
65
65
|
> `static` **returnType**: `"none"`
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:6](https://github.com/isdk/web-fetcher.js/blob/
|
|
67
|
+
Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:6](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/definitions/fill.ts#L6)
|
|
68
68
|
|
|
69
69
|
#### Overrides
|
|
70
70
|
|
|
@@ -78,7 +78,7 @@ Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:6](https://gith
|
|
|
78
78
|
|
|
79
79
|
> **get** **capabilities**(): [`FetchActionCapabilities`](../type-aliases/FetchActionCapabilities.md)
|
|
80
80
|
|
|
81
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:163](https://github.com/isdk/web-fetcher.js/blob/
|
|
81
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:163](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L163)
|
|
82
82
|
|
|
83
83
|
##### Returns
|
|
84
84
|
|
|
@@ -96,7 +96,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:163](https://github
|
|
|
96
96
|
|
|
97
97
|
> **get** **id**(): `string`
|
|
98
98
|
|
|
99
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:155](https://github.com/isdk/web-fetcher.js/blob/
|
|
99
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:155](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L155)
|
|
100
100
|
|
|
101
101
|
##### Returns
|
|
102
102
|
|
|
@@ -114,7 +114,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:155](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:159](https://github.com/isdk/web-fetcher.js/blob/
|
|
117
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:159](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L159)
|
|
118
118
|
|
|
119
119
|
##### Returns
|
|
120
120
|
|
|
@@ -130,7 +130,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:159](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:391](https://github.com/isdk/web-fetcher.js/blob/
|
|
133
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:391](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L391)
|
|
134
134
|
|
|
135
135
|
Action 结束生命周期
|
|
136
136
|
负责:调用钩子、赋值lastResult, 触发事件、清理 stack、恢复 currentAction
|
|
@@ -171,9 +171,9 @@ Action 结束生命周期
|
|
|
171
171
|
|
|
172
172
|
### beforeExec()
|
|
173
173
|
|
|
174
|
-
> **beforeExec**(`context`, `options?`): `Promise`\<\{ `collectors`: `
|
|
174
|
+
> **beforeExec**(`context`, `options?`): `Promise`\<\{ `collectors`: `CollectorsRuntime` \| `undefined`; `entry`: [`FetchActionInContext`](../interfaces/FetchActionInContext.md); \}\>
|
|
175
175
|
|
|
176
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:347](https://github.com/isdk/web-fetcher.js/blob/
|
|
176
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:347](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L347)
|
|
177
177
|
|
|
178
178
|
Action 开始生命周期
|
|
179
179
|
负责:初始化 stack、设置 currentAction、触发事件、调用钩子
|
|
@@ -190,7 +190,7 @@ Action 开始生命周期
|
|
|
190
190
|
|
|
191
191
|
#### Returns
|
|
192
192
|
|
|
193
|
-
`Promise`\<\{ `collectors`: `
|
|
193
|
+
`Promise`\<\{ `collectors`: `CollectorsRuntime` \| `undefined`; `entry`: [`FetchActionInContext`](../interfaces/FetchActionInContext.md); \}\>
|
|
194
194
|
|
|
195
195
|
#### Inherited from
|
|
196
196
|
|
|
@@ -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:184](https://github.com/isdk/web-fetcher.js/blob/
|
|
205
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:184](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L184)
|
|
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:448](https://github.com/isdk/web-fetcher.js/blob/
|
|
235
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:448](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L448)
|
|
236
236
|
|
|
237
237
|
#### Type Parameters
|
|
238
238
|
|
|
@@ -264,7 +264,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:448](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:150](https://github.com/isdk/web-fetcher.js/blob/
|
|
267
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:150](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L150)
|
|
268
268
|
|
|
269
269
|
#### Parameters
|
|
270
270
|
|
|
@@ -284,9 +284,9 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:150](https://github
|
|
|
284
284
|
|
|
285
285
|
### installCollectors()
|
|
286
286
|
|
|
287
|
-
> `protected` **installCollectors**(`context`, `options?`): `
|
|
287
|
+
> `protected` **installCollectors**(`context`, `options?`): `CollectorsRuntime` \| `undefined`
|
|
288
288
|
|
|
289
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:201](https://github.com/isdk/web-fetcher.js/blob/
|
|
289
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:201](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L201)
|
|
290
290
|
|
|
291
291
|
#### Parameters
|
|
292
292
|
|
|
@@ -300,7 +300,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:201](https://github
|
|
|
300
300
|
|
|
301
301
|
#### Returns
|
|
302
302
|
|
|
303
|
-
`
|
|
303
|
+
`CollectorsRuntime` \| `undefined`
|
|
304
304
|
|
|
305
305
|
#### Inherited from
|
|
306
306
|
|
|
@@ -312,7 +312,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:201](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:172](https://github.com/isdk/web-fetcher.js/blob/
|
|
315
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:172](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L172)
|
|
316
316
|
|
|
317
317
|
#### Parameters
|
|
318
318
|
|
|
@@ -338,7 +338,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:172](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:168](https://github.com/isdk/web-fetcher.js/blob/
|
|
341
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:168](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L168)
|
|
342
342
|
|
|
343
343
|
#### Parameters
|
|
344
344
|
|
|
@@ -364,7 +364,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:168](https://github
|
|
|
364
364
|
|
|
365
365
|
> **onExecute**(`context`, `options?`): `Promise`\<`void`\>
|
|
366
366
|
|
|
367
|
-
Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:12](https://github.com/isdk/web-fetcher.js/blob/
|
|
367
|
+
Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:12](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/definitions/fill.ts#L12)
|
|
368
368
|
|
|
369
369
|
#### Parameters
|
|
370
370
|
|
|
@@ -390,9 +390,9 @@ Defined in: [packages/web-fetcher/src/action/definitions/fill.ts:12](https://git
|
|
|
390
390
|
|
|
391
391
|
#### Call Signature
|
|
392
392
|
|
|
393
|
-
> `static` **create**(`id`):
|
|
393
|
+
> `static` **create**(`id`): [`FetchAction`](FetchAction.md) \| `undefined`
|
|
394
394
|
|
|
395
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:113](https://github.com/isdk/web-fetcher.js/blob/
|
|
395
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:113](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L113)
|
|
396
396
|
|
|
397
397
|
##### Parameters
|
|
398
398
|
|
|
@@ -402,7 +402,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:113](https://github
|
|
|
402
402
|
|
|
403
403
|
##### Returns
|
|
404
404
|
|
|
405
|
-
|
|
405
|
+
[`FetchAction`](FetchAction.md) \| `undefined`
|
|
406
406
|
|
|
407
407
|
##### Inherited from
|
|
408
408
|
|
|
@@ -410,9 +410,9 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:113](https://github
|
|
|
410
410
|
|
|
411
411
|
#### Call Signature
|
|
412
412
|
|
|
413
|
-
> `static` **create**(`id`):
|
|
413
|
+
> `static` **create**(`id`): [`FetchAction`](FetchAction.md) \| `undefined`
|
|
414
414
|
|
|
415
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:114](https://github.com/isdk/web-fetcher.js/blob/
|
|
415
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:114](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L114)
|
|
416
416
|
|
|
417
417
|
##### Parameters
|
|
418
418
|
|
|
@@ -422,7 +422,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:114](https://github
|
|
|
422
422
|
|
|
423
423
|
##### Returns
|
|
424
424
|
|
|
425
|
-
|
|
425
|
+
[`FetchAction`](FetchAction.md) \| `undefined`
|
|
426
426
|
|
|
427
427
|
##### Inherited from
|
|
428
428
|
|
|
@@ -432,9 +432,9 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:114](https://github
|
|
|
432
432
|
|
|
433
433
|
### get()
|
|
434
434
|
|
|
435
|
-
> `static` **get**(`id`):
|
|
435
|
+
> `static` **get**(`id`): *typeof* [`FetchAction`](FetchAction.md) \| `undefined`
|
|
436
436
|
|
|
437
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:109](https://github.com/isdk/web-fetcher.js/blob/
|
|
437
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:109](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L109)
|
|
438
438
|
|
|
439
439
|
#### Parameters
|
|
440
440
|
|
|
@@ -444,7 +444,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:109](https://github
|
|
|
444
444
|
|
|
445
445
|
#### Returns
|
|
446
446
|
|
|
447
|
-
|
|
447
|
+
*typeof* [`FetchAction`](FetchAction.md) \| `undefined`
|
|
448
448
|
|
|
449
449
|
#### Inherited from
|
|
450
450
|
|
|
@@ -456,7 +456,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:109](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:146](https://github.com/isdk/web-fetcher.js/blob/
|
|
459
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:146](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L146)
|
|
460
460
|
|
|
461
461
|
#### Parameters
|
|
462
462
|
|
|
@@ -478,7 +478,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:146](https://github
|
|
|
478
478
|
|
|
479
479
|
> `static` **has**(`name`): `boolean`
|
|
480
480
|
|
|
481
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:130](https://github.com/isdk/web-fetcher.js/blob/
|
|
481
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:130](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L130)
|
|
482
482
|
|
|
483
483
|
#### Parameters
|
|
484
484
|
|
|
@@ -500,7 +500,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:130](https://github
|
|
|
500
500
|
|
|
501
501
|
> `static` **list**(): `string`[]
|
|
502
502
|
|
|
503
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:134](https://github.com/isdk/web-fetcher.js/blob/
|
|
503
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:134](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L134)
|
|
504
504
|
|
|
505
505
|
#### Returns
|
|
506
506
|
|
|
@@ -516,7 +516,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:134](https://github
|
|
|
516
516
|
|
|
517
517
|
> `static` **register**(`actionClass`): `void`
|
|
518
518
|
|
|
519
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:103](https://github.com/isdk/web-fetcher.js/blob/
|
|
519
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:103](https://github.com/isdk/web-fetcher.js/blob/1f80c3c783d0455bd4ff73248c57c2c39ab9f7c9/src/action/fetch-action.ts#L103)
|
|
520
520
|
|
|
521
521
|
#### Parameters
|
|
522
522
|
|