@e-mc/types 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/constant.d.ts +1 -1
- package/lib/dom.d.ts +9 -0
- package/lib/settings.d.ts +8 -5
- package/lib/squared.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
## Interface
|
|
11
11
|
|
|
12
|
-
* [View Source](https://www.unpkg.com/@e-mc/types@0.10.
|
|
12
|
+
* [View Source](https://www.unpkg.com/@e-mc/types@0.10.1/index.d.ts)
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
15
|
import type { LogArguments } from "./lib/logger";
|
|
@@ -196,10 +196,10 @@ const IMPORT_MAP: Record<string, string | undefined>;
|
|
|
196
196
|
|
|
197
197
|
## References
|
|
198
198
|
|
|
199
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
200
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
201
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
202
|
-
- https://www.unpkg.com/@e-mc/types@0.10.
|
|
199
|
+
- https://www.unpkg.com/@e-mc/types@0.10.1/index.d.ts
|
|
200
|
+
- https://www.unpkg.com/@e-mc/types@0.10.1/lib/logger.d.ts
|
|
201
|
+
- https://www.unpkg.com/@e-mc/types@0.10.1/lib/module.d.ts
|
|
202
|
+
- https://www.unpkg.com/@e-mc/types@0.10.1/lib/object.d.ts
|
|
203
203
|
|
|
204
204
|
* https://developer.mozilla.org/en-US/docs/Web/API/DOMException
|
|
205
205
|
* https://www.npmjs.com/package/@types/bytes
|
package/constant.d.ts
CHANGED
package/lib/dom.d.ts
ADDED
package/lib/settings.d.ts
CHANGED
|
@@ -252,16 +252,19 @@ export interface RequestModule<T = RequestSettings> extends HandlerSettings<T>,
|
|
|
252
252
|
http_version?: number | string;
|
|
253
253
|
accept_encoding?: boolean;
|
|
254
254
|
};
|
|
255
|
-
proxy?:
|
|
256
|
-
address?: string;
|
|
257
|
-
port?: number | string;
|
|
258
|
-
keep_alive?: boolean;
|
|
259
|
-
};
|
|
255
|
+
proxy?: HttpProxySettings;
|
|
260
256
|
headers?: HttpOutgoingHeaders;
|
|
261
257
|
certs?: ObjectMap<SecureConfig<ArrayOf<string>>>;
|
|
262
258
|
post_limit?: number | string;
|
|
263
259
|
}
|
|
264
260
|
|
|
261
|
+
export interface HttpProxySettings extends AuthValue, IncludeAction {
|
|
262
|
+
address?: string;
|
|
263
|
+
port?: number | string;
|
|
264
|
+
origin?: string;
|
|
265
|
+
keep_alive?: boolean;
|
|
266
|
+
}
|
|
267
|
+
|
|
265
268
|
export interface HttpHostSettings {
|
|
266
269
|
localhost?: string[];
|
|
267
270
|
protocol?: {
|
package/lib/squared.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export interface DbDataSource<T = unknown, U = unknown, V = unknown, W = unknown
|
|
|
54
54
|
update?: V;
|
|
55
55
|
withCommand?: string | TupleOf<string>;
|
|
56
56
|
parallel?: boolean;
|
|
57
|
+
flat?: number;
|
|
57
58
|
willAbort?: boolean;
|
|
58
59
|
streamRow?: Null<boolean | string | ((row: unknown) => Void<Error | false>)>;
|
|
59
60
|
usePool?: boolean | X;
|