@effect/platform-bun 0.28.1 → 0.28.3
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/cjs/HttpServer.js +3 -1
- package/dist/cjs/HttpServer.js.map +1 -1
- package/dist/dts/Http/Platform.d.ts +1 -1
- package/dist/dts/Http/Server.d.ts +1 -1
- package/dist/dts/Http/ServerRequest.d.ts +1 -1
- package/dist/dts/HttpClient.d.ts +7 -7
- package/dist/dts/HttpServer.d.ts +16 -8
- package/dist/dts/HttpServer.d.ts.map +1 -1
- package/dist/dts/KeyValueStore.d.ts +1 -1
- package/dist/dts/Transferable.d.ts +1 -1
- package/dist/dts/Worker.d.ts +1 -1
- package/dist/dts/WorkerRunner.d.ts +1 -1
- package/dist/dts/index.d.ts +4 -4
- package/dist/esm/HttpClient.js +7 -7
- package/dist/esm/HttpServer.js +16 -8
- package/dist/esm/HttpServer.js.map +1 -1
- package/dist/esm/KeyValueStore.js +1 -1
- package/dist/esm/Transferable.js +1 -1
- package/dist/esm/index.js +4 -4
- package/package.json +4 -4
- package/src/Http/Platform.ts +1 -1
- package/src/Http/Server.ts +1 -1
- package/src/Http/ServerRequest.ts +1 -1
- package/src/HttpClient.ts +7 -7
- package/src/HttpServer.ts +16 -8
- package/src/KeyValueStore.ts +1 -1
- package/src/Transferable.ts +1 -1
- package/src/Worker.ts +1 -1
- package/src/WorkerRunner.ts +1 -1
- package/src/index.ts +4 -4
package/dist/cjs/HttpServer.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.urlParams = exports.server = exports.router = exports.response = exports.request = exports.multipart = exports.middleware = exports.headers = exports.etag = exports.error = exports.body = exports.app = void 0;
|
|
6
|
+
exports.urlParams = exports.server = exports.router = exports.response = exports.request = exports.multiplex = exports.multipart = exports.middleware = exports.headers = exports.etag = exports.error = exports.body = exports.app = void 0;
|
|
7
7
|
var etag = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/Http/Etag"));
|
|
8
8
|
exports.etag = etag;
|
|
9
9
|
var multipart = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/Http/Multipart"));
|
|
@@ -16,6 +16,8 @@ var headers = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effec
|
|
|
16
16
|
exports.headers = headers;
|
|
17
17
|
var middleware = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/Middleware"));
|
|
18
18
|
exports.middleware = middleware;
|
|
19
|
+
var multiplex = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/Multiplex"));
|
|
20
|
+
exports.multiplex = multiplex;
|
|
19
21
|
var router = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/Router"));
|
|
20
22
|
exports.router = router;
|
|
21
23
|
var error = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/ServerError"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpServer.js","names":["etag","_interopRequireWildcard","require","exports","multipart","app","body","headers","middleware","router","error","response","urlParams","server","request","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set"],"sources":["../../src/HttpServer.ts"],"sourcesContent":[null],"mappings":";;;;;;AAGA,IAAAA,IAAA,gBAAAC,uBAAA,eAAAC,OAAA;AAAuDC,OAAA,CAAAH,IAAA,GAAAA,IAAA;AACvD,IAAAI,SAAA,gBAAAH,uBAAA,eAAAC,OAAA;AAAiEC,OAAA,CAAAC,SAAA,GAAAA,SAAA;AACjE,IAAAC,GAAA,gBAAAJ,uBAAA,eAAAC,OAAA;AAAgDC,OAAA,CAAAE,GAAA,GAAAA,GAAA;AAChD,IAAAC,IAAA,gBAAAL,uBAAA,eAAAC,OAAA;AAAkDC,OAAA,CAAAG,IAAA,GAAAA,IAAA;AAClD,IAAAC,OAAA,gBAAAN,uBAAA,eAAAC,OAAA;AAAwDC,OAAA,CAAAI,OAAA,GAAAA,OAAA;AACxD,IAAAC,UAAA,gBAAAP,uBAAA,eAAAC,OAAA;AAA8DC,OAAA,CAAAK,UAAA,GAAAA,UAAA;AAC9D,IAAAC,
|
|
1
|
+
{"version":3,"file":"HttpServer.js","names":["etag","_interopRequireWildcard","require","exports","multipart","app","body","headers","middleware","multiplex","router","error","response","urlParams","server","request","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set"],"sources":["../../src/HttpServer.ts"],"sourcesContent":[null],"mappings":";;;;;;AAGA,IAAAA,IAAA,gBAAAC,uBAAA,eAAAC,OAAA;AAAuDC,OAAA,CAAAH,IAAA,GAAAA,IAAA;AACvD,IAAAI,SAAA,gBAAAH,uBAAA,eAAAC,OAAA;AAAiEC,OAAA,CAAAC,SAAA,GAAAA,SAAA;AACjE,IAAAC,GAAA,gBAAAJ,uBAAA,eAAAC,OAAA;AAAgDC,OAAA,CAAAE,GAAA,GAAAA,GAAA;AAChD,IAAAC,IAAA,gBAAAL,uBAAA,eAAAC,OAAA;AAAkDC,OAAA,CAAAG,IAAA,GAAAA,IAAA;AAClD,IAAAC,OAAA,gBAAAN,uBAAA,eAAAC,OAAA;AAAwDC,OAAA,CAAAI,OAAA,GAAAA,OAAA;AACxD,IAAAC,UAAA,gBAAAP,uBAAA,eAAAC,OAAA;AAA8DC,OAAA,CAAAK,UAAA,GAAAA,UAAA;AAC9D,IAAAC,SAAA,gBAAAR,uBAAA,eAAAC,OAAA;AAA4DC,OAAA,CAAAM,SAAA,GAAAA,SAAA;AAC5D,IAAAC,MAAA,gBAAAT,uBAAA,eAAAC,OAAA;AAAsDC,OAAA,CAAAO,MAAA,GAAAA,MAAA;AACtD,IAAAC,KAAA,gBAAAV,uBAAA,eAAAC,OAAA;AAA0DC,OAAA,CAAAQ,KAAA,GAAAA,KAAA;AAC1D,IAAAC,QAAA,gBAAAX,uBAAA,eAAAC,OAAA;AAAgEC,OAAA,CAAAS,QAAA,GAAAA,QAAA;AAChE,IAAAC,SAAA,gBAAAZ,uBAAA,eAAAC,OAAA;AAA4DC,OAAA,CAAAU,SAAA,GAAAA,SAAA;AAC5D,IAAAC,MAAA,gBAAAb,uBAAA,eAAAC,OAAA;AAA0CC,OAAA,CAAAW,MAAA,GAAAA,MAAA;AAC1C,IAAAC,OAAA,gBAAAd,uBAAA,eAAAC,OAAA;AAAkDC,OAAA,CAAAY,OAAA,GAAAA,OAAA;AAAA,SAAAC,yBAAAC,CAAA;EAAA,yBAAAC,OAAA;EAAA,IAAAC,CAAA,OAAAD,OAAA;IAAAE,CAAA,OAAAF,OAAA;EAAA,QAAAF,wBAAA,YAAAA,CAAAC,CAAA;IAAA,OAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA;EAAA,GAAAF,CAAA;AAAA;AAAA,SAAAhB,wBAAAgB,CAAA,EAAAE,CAAA;EAAA,KAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA;EAAA,aAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA;IAAAK,OAAA,EAAAL;EAAA;EAAA,IAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA;EAAA,IAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA;EAAA,IAAAQ,CAAA;MAAAC,SAAA;IAAA;IAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA;EAAA,SAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAc,CAAA;IAAA,IAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA;IAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAI,CAAA,IAAAV,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA;EAAA;EAAA,OAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAgB,GAAA,CAAAnB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Http/Platform`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Http/Platform`](https://effect-ts.github.io/effect/platform/Http/Platform.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type * as Etag from "@effect/platform/Http/Etag";
|
|
7
7
|
import type * as Platform from "@effect/platform/Http/Platform";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 1.0.0
|
|
4
4
|
*
|
|
5
|
-
* Also includes exports from [`@effect/platform/Http/Server`](https://effect-ts.github.io/
|
|
5
|
+
* Also includes exports from [`@effect/platform/Http/Server`](https://effect-ts.github.io/effect/platform/Http/Server.ts.html).
|
|
6
6
|
*/
|
|
7
7
|
import type * as Server from "@effect/platform/Http/Server";
|
|
8
8
|
import type { ServeOptions } from "bun";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* @since 1.0.0
|
|
4
4
|
*
|
|
5
|
-
* Also includes exports from [`@effect/platform/Http/ServerRequest`](https://effect-ts.github.io/
|
|
5
|
+
* Also includes exports from [`@effect/platform/Http/ServerRequest`](https://effect-ts.github.io/effect/platform/Http/ServerRequest.ts.html).
|
|
6
6
|
*/
|
|
7
7
|
import type * as ServerRequest from "@effect/platform/Http/ServerRequest";
|
|
8
8
|
/**
|
package/dist/dts/HttpClient.d.ts
CHANGED
|
@@ -12,49 +12,49 @@ export {
|
|
|
12
12
|
/**
|
|
13
13
|
* @since 1.0.0
|
|
14
14
|
*
|
|
15
|
-
* - Docs: [Http/Body](https://effect-ts.github.io/
|
|
15
|
+
* - Docs: [Http/Body](https://effect-ts.github.io/effect/platform/Http/Body.ts.html)
|
|
16
16
|
* - Module: `@effect/platform/Http/Body`
|
|
17
17
|
*/
|
|
18
18
|
body,
|
|
19
19
|
/**
|
|
20
20
|
* @since 1.0.0
|
|
21
21
|
*
|
|
22
|
-
* - Docs: [Http/Client](https://effect-ts.github.io/
|
|
22
|
+
* - Docs: [Http/Client](https://effect-ts.github.io/effect/platform/Http/Client.ts.html)
|
|
23
23
|
* - Module: `@effect/platform/Http/Client`
|
|
24
24
|
*/
|
|
25
25
|
client,
|
|
26
26
|
/**
|
|
27
27
|
* @since 1.0.0
|
|
28
28
|
*
|
|
29
|
-
* - Docs: [Http/ClientError](https://effect-ts.github.io/
|
|
29
|
+
* - Docs: [Http/ClientError](https://effect-ts.github.io/effect/platform/Http/ClientError.ts.html)
|
|
30
30
|
* - Module: `@effect/platform/Http/ClientError`
|
|
31
31
|
*/
|
|
32
32
|
error,
|
|
33
33
|
/**
|
|
34
34
|
* @since 1.0.0
|
|
35
35
|
*
|
|
36
|
-
* - Docs: [Http/Headers](https://effect-ts.github.io/
|
|
36
|
+
* - Docs: [Http/Headers](https://effect-ts.github.io/effect/platform/Http/Headers.ts.html)
|
|
37
37
|
* - Module: `@effect/platform/Http/Headers`
|
|
38
38
|
*/
|
|
39
39
|
headers,
|
|
40
40
|
/**
|
|
41
41
|
* @since 1.0.0
|
|
42
42
|
*
|
|
43
|
-
* - Docs: [Http/ClientRequest](https://effect-ts.github.io/
|
|
43
|
+
* - Docs: [Http/ClientRequest](https://effect-ts.github.io/effect/platform/Http/ClientRequest.ts.html)
|
|
44
44
|
* - Module: `@effect/platform/Http/ClientRequest`
|
|
45
45
|
*/
|
|
46
46
|
request,
|
|
47
47
|
/**
|
|
48
48
|
* @since 1.0.0
|
|
49
49
|
*
|
|
50
|
-
* - Docs: [Http/ClientResponse](https://effect-ts.github.io/
|
|
50
|
+
* - Docs: [Http/ClientResponse](https://effect-ts.github.io/effect/platform/Http/ClientResponse.ts.html)
|
|
51
51
|
* - Module: `@effect/platform/Http/ClientResponse`
|
|
52
52
|
*/
|
|
53
53
|
response,
|
|
54
54
|
/**
|
|
55
55
|
* @since 1.0.0
|
|
56
56
|
*
|
|
57
|
-
* - Docs: [Http/UrlParams](https://effect-ts.github.io/
|
|
57
|
+
* - Docs: [Http/UrlParams](https://effect-ts.github.io/effect/platform/Http/UrlParams.ts.html)
|
|
58
58
|
* - Module: `@effect/platform/Http/UrlParams`
|
|
59
59
|
*/
|
|
60
60
|
urlParams };
|
package/dist/dts/HttpServer.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import * as app from "@effect/platform/Http/App";
|
|
|
7
7
|
import * as body from "@effect/platform/Http/Body";
|
|
8
8
|
import * as headers from "@effect/platform/Http/Headers";
|
|
9
9
|
import * as middleware from "@effect/platform/Http/Middleware";
|
|
10
|
+
import * as multiplex from "@effect/platform/Http/Multiplex";
|
|
10
11
|
import * as router from "@effect/platform/Http/Router";
|
|
11
12
|
import * as error from "@effect/platform/Http/ServerError";
|
|
12
13
|
import * as response from "@effect/platform/Http/ServerResponse";
|
|
@@ -17,21 +18,21 @@ export {
|
|
|
17
18
|
/**
|
|
18
19
|
* @since 1.0.0
|
|
19
20
|
*
|
|
20
|
-
* - Docs: [Http/App](https://effect-ts.github.io/
|
|
21
|
+
* - Docs: [Http/App](https://effect-ts.github.io/effect/platform/Http/App.ts.html)
|
|
21
22
|
* - Module: `@effect/platform/Http/App`
|
|
22
23
|
*/
|
|
23
24
|
app,
|
|
24
25
|
/**
|
|
25
26
|
* @since 1.0.0
|
|
26
27
|
*
|
|
27
|
-
* - Docs: [Http/Body](https://effect-ts.github.io/
|
|
28
|
+
* - Docs: [Http/Body](https://effect-ts.github.io/effect/platform/Http/Body.ts.html)
|
|
28
29
|
* - Module: `@effect/platform/Http/Body`
|
|
29
30
|
*/
|
|
30
31
|
body,
|
|
31
32
|
/**
|
|
32
33
|
* @since 1.0.0
|
|
33
34
|
*
|
|
34
|
-
* - Docs: [Http/ServerError](https://effect-ts.github.io/
|
|
35
|
+
* - Docs: [Http/ServerError](https://effect-ts.github.io/effect/platform/Http/ServerError.ts.html)
|
|
35
36
|
* - Module: `@effect/platform/Http/ServerError`
|
|
36
37
|
*/
|
|
37
38
|
error,
|
|
@@ -45,14 +46,14 @@ etag,
|
|
|
45
46
|
/**
|
|
46
47
|
* @since 1.0.0
|
|
47
48
|
*
|
|
48
|
-
* - Docs: [Http/Headers](https://effect-ts.github.io/
|
|
49
|
+
* - Docs: [Http/Headers](https://effect-ts.github.io/effect/platform/Http/Headers.ts.html)
|
|
49
50
|
* - Module: `@effect/platform/Http/Headers`
|
|
50
51
|
*/
|
|
51
52
|
headers,
|
|
52
53
|
/**
|
|
53
54
|
* @since 1.0.0
|
|
54
55
|
*
|
|
55
|
-
* - Docs: [Http/Middleware](https://effect-ts.github.io/
|
|
56
|
+
* - Docs: [Http/Middleware](https://effect-ts.github.io/effect/platform/Http/Middleware.ts.html)
|
|
56
57
|
* - Module: `@effect/platform/Http/Middleware`
|
|
57
58
|
*/
|
|
58
59
|
middleware,
|
|
@@ -63,6 +64,13 @@ middleware,
|
|
|
63
64
|
* - Module: `@effect/platform-node/Http/Multipart`
|
|
64
65
|
*/
|
|
65
66
|
multipart,
|
|
67
|
+
/**
|
|
68
|
+
* @since 1.0.0
|
|
69
|
+
*
|
|
70
|
+
* - Docs: [Http/Multiplex](https://effect-ts.github.io/effect/platform/Http/Multiplex.ts.html)
|
|
71
|
+
* - Module: `@effect/platform/Http/Multiplex`
|
|
72
|
+
*/
|
|
73
|
+
multiplex,
|
|
66
74
|
/**
|
|
67
75
|
* @since 1.0.0
|
|
68
76
|
*
|
|
@@ -73,14 +81,14 @@ request,
|
|
|
73
81
|
/**
|
|
74
82
|
* @since 1.0.0
|
|
75
83
|
*
|
|
76
|
-
* - Docs: [Http/ServerResponse](https://effect-ts.github.io/
|
|
84
|
+
* - Docs: [Http/ServerResponse](https://effect-ts.github.io/effect/platform/Http/ServerResponse.ts.html)
|
|
77
85
|
* - Module: `@effect/platform/Http/ServerResponse`
|
|
78
86
|
*/
|
|
79
87
|
response,
|
|
80
88
|
/**
|
|
81
89
|
* @since 1.0.0
|
|
82
90
|
*
|
|
83
|
-
* - Docs: [Http/Router](https://effect-ts.github.io/
|
|
91
|
+
* - Docs: [Http/Router](https://effect-ts.github.io/effect/platform/Http/Router.ts.html)
|
|
84
92
|
* - Module: `@effect/platform/Http/Router`
|
|
85
93
|
*/
|
|
86
94
|
router,
|
|
@@ -94,7 +102,7 @@ server,
|
|
|
94
102
|
/**
|
|
95
103
|
* @since 1.0.0
|
|
96
104
|
*
|
|
97
|
-
* - Docs: [Http/UrlParams](https://effect-ts.github.io/
|
|
105
|
+
* - Docs: [Http/UrlParams](https://effect-ts.github.io/effect/platform/Http/UrlParams.ts.html)
|
|
98
106
|
* - Module: `@effect/platform/Http/UrlParams`
|
|
99
107
|
*/
|
|
100
108
|
urlParams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpServer.d.ts","sourceRoot":"","sources":["../../src/HttpServer.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,IAAI,MAAM,iCAAiC,CAAA;AACvD,OAAO,KAAK,SAAS,MAAM,sCAAsC,CAAA;AACjE,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAA;AAChD,OAAO,KAAK,IAAI,MAAM,4BAA4B,CAAA;AAClD,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAA;AACxD,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAA;AAC9D,OAAO,KAAK,MAAM,MAAM,8BAA8B,CAAA;AACtD,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAA;AAC1D,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAA;AAChE,OAAO,KAAK,SAAS,MAAM,iCAAiC,CAAA;AAC5D,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAA;AAC1C,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAA;AAElD,OAAO;AACL;;;;;GAKG;AACH,GAAG;AACH;;;;;GAKG;AACH,IAAI;AACJ;;;;;GAKG;AACH,KAAK;AACL;;;;;GAKG;AACH,IAAI;AACJ;;;;;GAKG;AACH,OAAO;AACP;;;;;GAKG;AACH,UAAU;AACV;;;;;GAKG;AACH,SAAS;AACT;;;;;GAKG;AACH,OAAO;AACP;;;;;GAKG;AACH,QAAQ;AACR;;;;;GAKG;AACH,MAAM;AACN;;;;;GAKG;AACH,MAAM;AACN;;;;;GAKG;AACH,SAAS,EACV,CAAA"}
|
|
1
|
+
{"version":3,"file":"HttpServer.d.ts","sourceRoot":"","sources":["../../src/HttpServer.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,IAAI,MAAM,iCAAiC,CAAA;AACvD,OAAO,KAAK,SAAS,MAAM,sCAAsC,CAAA;AACjE,OAAO,KAAK,GAAG,MAAM,2BAA2B,CAAA;AAChD,OAAO,KAAK,IAAI,MAAM,4BAA4B,CAAA;AAClD,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAA;AACxD,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAA;AAC9D,OAAO,KAAK,SAAS,MAAM,iCAAiC,CAAA;AAC5D,OAAO,KAAK,MAAM,MAAM,8BAA8B,CAAA;AACtD,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAA;AAC1D,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAA;AAChE,OAAO,KAAK,SAAS,MAAM,iCAAiC,CAAA;AAC5D,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAA;AAC1C,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAA;AAElD,OAAO;AACL;;;;;GAKG;AACH,GAAG;AACH;;;;;GAKG;AACH,IAAI;AACJ;;;;;GAKG;AACH,KAAK;AACL;;;;;GAKG;AACH,IAAI;AACJ;;;;;GAKG;AACH,OAAO;AACP;;;;;GAKG;AACH,UAAU;AACV;;;;;GAKG;AACH,SAAS;AACT;;;;;GAKG;AACH,SAAS;AACT;;;;;GAKG;AACH,OAAO;AACP;;;;;GAKG;AACH,QAAQ;AACR;;;;;GAKG;AACH,MAAM;AACN;;;;;GAKG;AACH,MAAM;AACN;;;;;GAKG;AACH,SAAS,EACV,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/effect/platform/KeyValueStore.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
export * from "@effect/platform/KeyValueStore";
|
|
7
7
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/effect/platform/Transferable.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
export * from "@effect/platform/Transferable";
|
|
7
7
|
//# sourceMappingURL=Transferable.d.ts.map
|
package/dist/dts/Worker.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/effect/platform/Worker.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type * as Worker from "@effect/platform/Worker";
|
|
7
7
|
import type * as Schema from "@effect/schema/Schema";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/effect/platform/WorkerRunner.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type { WorkerError } from "@effect/platform/WorkerError";
|
|
7
7
|
import type * as Runner from "@effect/platform/WorkerRunner";
|
package/dist/dts/index.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export * as HttpServer from "./HttpServer.js";
|
|
|
33
33
|
/**
|
|
34
34
|
* @since 1.0.0
|
|
35
35
|
*
|
|
36
|
-
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/
|
|
36
|
+
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/effect/platform/KeyValueStore.ts.html).
|
|
37
37
|
*/
|
|
38
38
|
export * as KeyValueStore from "./KeyValueStore.js";
|
|
39
39
|
/**
|
|
@@ -59,19 +59,19 @@ export * as Terminal from "./Terminal.js";
|
|
|
59
59
|
/**
|
|
60
60
|
* @since 1.0.0
|
|
61
61
|
*
|
|
62
|
-
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/
|
|
62
|
+
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/effect/platform/Transferable.ts.html).
|
|
63
63
|
*/
|
|
64
64
|
export * as Transferable from "./Transferable.js";
|
|
65
65
|
/**
|
|
66
66
|
* @since 1.0.0
|
|
67
67
|
*
|
|
68
|
-
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/
|
|
68
|
+
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/effect/platform/Worker.ts.html).
|
|
69
69
|
*/
|
|
70
70
|
export * as Worker from "./Worker.js";
|
|
71
71
|
/**
|
|
72
72
|
* @since 1.0.0
|
|
73
73
|
*
|
|
74
|
-
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/
|
|
74
|
+
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/effect/platform/WorkerRunner.ts.html).
|
|
75
75
|
*/
|
|
76
76
|
export * as WorkerRunner from "./WorkerRunner.js";
|
|
77
77
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/HttpClient.js
CHANGED
|
@@ -12,49 +12,49 @@ export {
|
|
|
12
12
|
/**
|
|
13
13
|
* @since 1.0.0
|
|
14
14
|
*
|
|
15
|
-
* - Docs: [Http/Body](https://effect-ts.github.io/
|
|
15
|
+
* - Docs: [Http/Body](https://effect-ts.github.io/effect/platform/Http/Body.ts.html)
|
|
16
16
|
* - Module: `@effect/platform/Http/Body`
|
|
17
17
|
*/
|
|
18
18
|
body,
|
|
19
19
|
/**
|
|
20
20
|
* @since 1.0.0
|
|
21
21
|
*
|
|
22
|
-
* - Docs: [Http/Client](https://effect-ts.github.io/
|
|
22
|
+
* - Docs: [Http/Client](https://effect-ts.github.io/effect/platform/Http/Client.ts.html)
|
|
23
23
|
* - Module: `@effect/platform/Http/Client`
|
|
24
24
|
*/
|
|
25
25
|
client,
|
|
26
26
|
/**
|
|
27
27
|
* @since 1.0.0
|
|
28
28
|
*
|
|
29
|
-
* - Docs: [Http/ClientError](https://effect-ts.github.io/
|
|
29
|
+
* - Docs: [Http/ClientError](https://effect-ts.github.io/effect/platform/Http/ClientError.ts.html)
|
|
30
30
|
* - Module: `@effect/platform/Http/ClientError`
|
|
31
31
|
*/
|
|
32
32
|
error,
|
|
33
33
|
/**
|
|
34
34
|
* @since 1.0.0
|
|
35
35
|
*
|
|
36
|
-
* - Docs: [Http/Headers](https://effect-ts.github.io/
|
|
36
|
+
* - Docs: [Http/Headers](https://effect-ts.github.io/effect/platform/Http/Headers.ts.html)
|
|
37
37
|
* - Module: `@effect/platform/Http/Headers`
|
|
38
38
|
*/
|
|
39
39
|
headers,
|
|
40
40
|
/**
|
|
41
41
|
* @since 1.0.0
|
|
42
42
|
*
|
|
43
|
-
* - Docs: [Http/ClientRequest](https://effect-ts.github.io/
|
|
43
|
+
* - Docs: [Http/ClientRequest](https://effect-ts.github.io/effect/platform/Http/ClientRequest.ts.html)
|
|
44
44
|
* - Module: `@effect/platform/Http/ClientRequest`
|
|
45
45
|
*/
|
|
46
46
|
request,
|
|
47
47
|
/**
|
|
48
48
|
* @since 1.0.0
|
|
49
49
|
*
|
|
50
|
-
* - Docs: [Http/ClientResponse](https://effect-ts.github.io/
|
|
50
|
+
* - Docs: [Http/ClientResponse](https://effect-ts.github.io/effect/platform/Http/ClientResponse.ts.html)
|
|
51
51
|
* - Module: `@effect/platform/Http/ClientResponse`
|
|
52
52
|
*/
|
|
53
53
|
response,
|
|
54
54
|
/**
|
|
55
55
|
* @since 1.0.0
|
|
56
56
|
*
|
|
57
|
-
* - Docs: [Http/UrlParams](https://effect-ts.github.io/
|
|
57
|
+
* - Docs: [Http/UrlParams](https://effect-ts.github.io/effect/platform/Http/UrlParams.ts.html)
|
|
58
58
|
* - Module: `@effect/platform/Http/UrlParams`
|
|
59
59
|
*/
|
|
60
60
|
urlParams };
|
package/dist/esm/HttpServer.js
CHANGED
|
@@ -7,6 +7,7 @@ import * as app from "@effect/platform/Http/App";
|
|
|
7
7
|
import * as body from "@effect/platform/Http/Body";
|
|
8
8
|
import * as headers from "@effect/platform/Http/Headers";
|
|
9
9
|
import * as middleware from "@effect/platform/Http/Middleware";
|
|
10
|
+
import * as multiplex from "@effect/platform/Http/Multiplex";
|
|
10
11
|
import * as router from "@effect/platform/Http/Router";
|
|
11
12
|
import * as error from "@effect/platform/Http/ServerError";
|
|
12
13
|
import * as response from "@effect/platform/Http/ServerResponse";
|
|
@@ -17,21 +18,21 @@ export {
|
|
|
17
18
|
/**
|
|
18
19
|
* @since 1.0.0
|
|
19
20
|
*
|
|
20
|
-
* - Docs: [Http/App](https://effect-ts.github.io/
|
|
21
|
+
* - Docs: [Http/App](https://effect-ts.github.io/effect/platform/Http/App.ts.html)
|
|
21
22
|
* - Module: `@effect/platform/Http/App`
|
|
22
23
|
*/
|
|
23
24
|
app,
|
|
24
25
|
/**
|
|
25
26
|
* @since 1.0.0
|
|
26
27
|
*
|
|
27
|
-
* - Docs: [Http/Body](https://effect-ts.github.io/
|
|
28
|
+
* - Docs: [Http/Body](https://effect-ts.github.io/effect/platform/Http/Body.ts.html)
|
|
28
29
|
* - Module: `@effect/platform/Http/Body`
|
|
29
30
|
*/
|
|
30
31
|
body,
|
|
31
32
|
/**
|
|
32
33
|
* @since 1.0.0
|
|
33
34
|
*
|
|
34
|
-
* - Docs: [Http/ServerError](https://effect-ts.github.io/
|
|
35
|
+
* - Docs: [Http/ServerError](https://effect-ts.github.io/effect/platform/Http/ServerError.ts.html)
|
|
35
36
|
* - Module: `@effect/platform/Http/ServerError`
|
|
36
37
|
*/
|
|
37
38
|
error,
|
|
@@ -45,14 +46,14 @@ etag,
|
|
|
45
46
|
/**
|
|
46
47
|
* @since 1.0.0
|
|
47
48
|
*
|
|
48
|
-
* - Docs: [Http/Headers](https://effect-ts.github.io/
|
|
49
|
+
* - Docs: [Http/Headers](https://effect-ts.github.io/effect/platform/Http/Headers.ts.html)
|
|
49
50
|
* - Module: `@effect/platform/Http/Headers`
|
|
50
51
|
*/
|
|
51
52
|
headers,
|
|
52
53
|
/**
|
|
53
54
|
* @since 1.0.0
|
|
54
55
|
*
|
|
55
|
-
* - Docs: [Http/Middleware](https://effect-ts.github.io/
|
|
56
|
+
* - Docs: [Http/Middleware](https://effect-ts.github.io/effect/platform/Http/Middleware.ts.html)
|
|
56
57
|
* - Module: `@effect/platform/Http/Middleware`
|
|
57
58
|
*/
|
|
58
59
|
middleware,
|
|
@@ -63,6 +64,13 @@ middleware,
|
|
|
63
64
|
* - Module: `@effect/platform-node/Http/Multipart`
|
|
64
65
|
*/
|
|
65
66
|
multipart,
|
|
67
|
+
/**
|
|
68
|
+
* @since 1.0.0
|
|
69
|
+
*
|
|
70
|
+
* - Docs: [Http/Multiplex](https://effect-ts.github.io/effect/platform/Http/Multiplex.ts.html)
|
|
71
|
+
* - Module: `@effect/platform/Http/Multiplex`
|
|
72
|
+
*/
|
|
73
|
+
multiplex,
|
|
66
74
|
/**
|
|
67
75
|
* @since 1.0.0
|
|
68
76
|
*
|
|
@@ -73,14 +81,14 @@ request,
|
|
|
73
81
|
/**
|
|
74
82
|
* @since 1.0.0
|
|
75
83
|
*
|
|
76
|
-
* - Docs: [Http/ServerResponse](https://effect-ts.github.io/
|
|
84
|
+
* - Docs: [Http/ServerResponse](https://effect-ts.github.io/effect/platform/Http/ServerResponse.ts.html)
|
|
77
85
|
* - Module: `@effect/platform/Http/ServerResponse`
|
|
78
86
|
*/
|
|
79
87
|
response,
|
|
80
88
|
/**
|
|
81
89
|
* @since 1.0.0
|
|
82
90
|
*
|
|
83
|
-
* - Docs: [Http/Router](https://effect-ts.github.io/
|
|
91
|
+
* - Docs: [Http/Router](https://effect-ts.github.io/effect/platform/Http/Router.ts.html)
|
|
84
92
|
* - Module: `@effect/platform/Http/Router`
|
|
85
93
|
*/
|
|
86
94
|
router,
|
|
@@ -94,7 +102,7 @@ server,
|
|
|
94
102
|
/**
|
|
95
103
|
* @since 1.0.0
|
|
96
104
|
*
|
|
97
|
-
* - Docs: [Http/UrlParams](https://effect-ts.github.io/
|
|
105
|
+
* - Docs: [Http/UrlParams](https://effect-ts.github.io/effect/platform/Http/UrlParams.ts.html)
|
|
98
106
|
* - Module: `@effect/platform/Http/UrlParams`
|
|
99
107
|
*/
|
|
100
108
|
urlParams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpServer.js","names":["etag","multipart","app","body","headers","middleware","router","error","response","urlParams","server","request"],"sources":["../../src/HttpServer.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAGA,OAAO,KAAKA,IAAI,MAAM,iCAAiC;AACvD,OAAO,KAAKC,SAAS,MAAM,sCAAsC;AACjE,OAAO,KAAKC,GAAG,MAAM,2BAA2B;AAChD,OAAO,KAAKC,IAAI,MAAM,4BAA4B;AAClD,OAAO,KAAKC,OAAO,MAAM,+BAA+B;AACxD,OAAO,KAAKC,UAAU,MAAM,kCAAkC;AAC9D,OAAO,KAAKC,MAAM,MAAM,8BAA8B;AACtD,OAAO,KAAKC,KAAK,MAAM,mCAAmC;AAC1D,OAAO,KAAKC,QAAQ,MAAM,sCAAsC;AAChE,OAAO,KAAKC,SAAS,MAAM,iCAAiC;AAC5D,OAAO,KAAKC,MAAM,MAAM,kBAAkB;AAC1C,OAAO,KAAKC,OAAO,MAAM,yBAAyB;AAElD;AACE;;;;;;
|
|
1
|
+
{"version":3,"file":"HttpServer.js","names":["etag","multipart","app","body","headers","middleware","multiplex","router","error","response","urlParams","server","request"],"sources":["../../src/HttpServer.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAGA,OAAO,KAAKA,IAAI,MAAM,iCAAiC;AACvD,OAAO,KAAKC,SAAS,MAAM,sCAAsC;AACjE,OAAO,KAAKC,GAAG,MAAM,2BAA2B;AAChD,OAAO,KAAKC,IAAI,MAAM,4BAA4B;AAClD,OAAO,KAAKC,OAAO,MAAM,+BAA+B;AACxD,OAAO,KAAKC,UAAU,MAAM,kCAAkC;AAC9D,OAAO,KAAKC,SAAS,MAAM,iCAAiC;AAC5D,OAAO,KAAKC,MAAM,MAAM,8BAA8B;AACtD,OAAO,KAAKC,KAAK,MAAM,mCAAmC;AAC1D,OAAO,KAAKC,QAAQ,MAAM,sCAAsC;AAChE,OAAO,KAAKC,SAAS,MAAM,iCAAiC;AAC5D,OAAO,KAAKC,MAAM,MAAM,kBAAkB;AAC1C,OAAO,KAAKC,OAAO,MAAM,yBAAyB;AAElD;AACE;;;;;;AAMAV,GAAG;AACH;;;;;;AAMAC,IAAI;AACJ;;;;;;AAMAK,KAAK;AACL;;;;;;AAMAR,IAAI;AACJ;;;;;;AAMAI,OAAO;AACP;;;;;;AAMAC,UAAU;AACV;;;;;;AAMAJ,SAAS;AACT;;;;;;AAMAK,SAAS;AACT;;;;;;AAMAM,OAAO;AACP;;;;;;AAMAH,QAAQ;AACR;;;;;;AAMAF,MAAM;AACN;;;;;;AAMAI,MAAM;AACN;;;;;;AAMAD,SAAS"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/effect/platform/KeyValueStore.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
export * from "@effect/platform/KeyValueStore";
|
|
7
7
|
export {
|
package/dist/esm/Transferable.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/effect/platform/Transferable.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
export * from "@effect/platform/Transferable";
|
|
7
7
|
//# sourceMappingURL=Transferable.js.map
|
package/dist/esm/index.js
CHANGED
|
@@ -33,7 +33,7 @@ export * as HttpServer from "./HttpServer.js";
|
|
|
33
33
|
/**
|
|
34
34
|
* @since 1.0.0
|
|
35
35
|
*
|
|
36
|
-
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/
|
|
36
|
+
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/effect/platform/KeyValueStore.ts.html).
|
|
37
37
|
*/
|
|
38
38
|
export * as KeyValueStore from "./KeyValueStore.js";
|
|
39
39
|
/**
|
|
@@ -59,19 +59,19 @@ export * as Terminal from "./Terminal.js";
|
|
|
59
59
|
/**
|
|
60
60
|
* @since 1.0.0
|
|
61
61
|
*
|
|
62
|
-
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/
|
|
62
|
+
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/effect/platform/Transferable.ts.html).
|
|
63
63
|
*/
|
|
64
64
|
export * as Transferable from "./Transferable.js";
|
|
65
65
|
/**
|
|
66
66
|
* @since 1.0.0
|
|
67
67
|
*
|
|
68
|
-
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/
|
|
68
|
+
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/effect/platform/Worker.ts.html).
|
|
69
69
|
*/
|
|
70
70
|
export * as Worker from "./Worker.js";
|
|
71
71
|
/**
|
|
72
72
|
* @since 1.0.0
|
|
73
73
|
*
|
|
74
|
-
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/
|
|
74
|
+
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/effect/platform/WorkerRunner.ts.html).
|
|
75
75
|
*/
|
|
76
76
|
export * as WorkerRunner from "./WorkerRunner.js";
|
|
77
77
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/platform-bun",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.3",
|
|
4
4
|
"description": "Unified interfaces for common platform-specific services",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
},
|
|
10
10
|
"sideEffects": [],
|
|
11
11
|
"peerDependencies": {
|
|
12
|
-
"@effect/platform": "^0.40.
|
|
13
|
-
"@effect/platform-node": "^0.40.
|
|
14
|
-
"effect": "^2.0.
|
|
12
|
+
"@effect/platform": "^0.40.3",
|
|
13
|
+
"@effect/platform-node": "^0.40.3",
|
|
14
|
+
"effect": "^2.0.2"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist/cjs/index.js",
|
|
17
17
|
"module": "./dist/esm/index.js",
|
package/src/Http/Platform.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Http/Platform`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Http/Platform`](https://effect-ts.github.io/effect/platform/Http/Platform.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type * as Etag from "@effect/platform/Http/Etag"
|
|
7
7
|
import type * as Platform from "@effect/platform/Http/Platform"
|
package/src/Http/Server.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Http/Server`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Http/Server`](https://effect-ts.github.io/effect/platform/Http/Server.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type * as Server from "@effect/platform/Http/Server"
|
|
7
7
|
import type { ServeOptions } from "bun"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Http/ServerRequest`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Http/ServerRequest`](https://effect-ts.github.io/effect/platform/Http/ServerRequest.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type * as ServerRequest from "@effect/platform/Http/ServerRequest"
|
|
7
7
|
import * as internal from "../internal/http/server.js"
|
package/src/HttpClient.ts
CHANGED
|
@@ -13,49 +13,49 @@ export {
|
|
|
13
13
|
/**
|
|
14
14
|
* @since 1.0.0
|
|
15
15
|
*
|
|
16
|
-
* - Docs: [Http/Body](https://effect-ts.github.io/
|
|
16
|
+
* - Docs: [Http/Body](https://effect-ts.github.io/effect/platform/Http/Body.ts.html)
|
|
17
17
|
* - Module: `@effect/platform/Http/Body`
|
|
18
18
|
*/
|
|
19
19
|
body,
|
|
20
20
|
/**
|
|
21
21
|
* @since 1.0.0
|
|
22
22
|
*
|
|
23
|
-
* - Docs: [Http/Client](https://effect-ts.github.io/
|
|
23
|
+
* - Docs: [Http/Client](https://effect-ts.github.io/effect/platform/Http/Client.ts.html)
|
|
24
24
|
* - Module: `@effect/platform/Http/Client`
|
|
25
25
|
*/
|
|
26
26
|
client,
|
|
27
27
|
/**
|
|
28
28
|
* @since 1.0.0
|
|
29
29
|
*
|
|
30
|
-
* - Docs: [Http/ClientError](https://effect-ts.github.io/
|
|
30
|
+
* - Docs: [Http/ClientError](https://effect-ts.github.io/effect/platform/Http/ClientError.ts.html)
|
|
31
31
|
* - Module: `@effect/platform/Http/ClientError`
|
|
32
32
|
*/
|
|
33
33
|
error,
|
|
34
34
|
/**
|
|
35
35
|
* @since 1.0.0
|
|
36
36
|
*
|
|
37
|
-
* - Docs: [Http/Headers](https://effect-ts.github.io/
|
|
37
|
+
* - Docs: [Http/Headers](https://effect-ts.github.io/effect/platform/Http/Headers.ts.html)
|
|
38
38
|
* - Module: `@effect/platform/Http/Headers`
|
|
39
39
|
*/
|
|
40
40
|
headers,
|
|
41
41
|
/**
|
|
42
42
|
* @since 1.0.0
|
|
43
43
|
*
|
|
44
|
-
* - Docs: [Http/ClientRequest](https://effect-ts.github.io/
|
|
44
|
+
* - Docs: [Http/ClientRequest](https://effect-ts.github.io/effect/platform/Http/ClientRequest.ts.html)
|
|
45
45
|
* - Module: `@effect/platform/Http/ClientRequest`
|
|
46
46
|
*/
|
|
47
47
|
request,
|
|
48
48
|
/**
|
|
49
49
|
* @since 1.0.0
|
|
50
50
|
*
|
|
51
|
-
* - Docs: [Http/ClientResponse](https://effect-ts.github.io/
|
|
51
|
+
* - Docs: [Http/ClientResponse](https://effect-ts.github.io/effect/platform/Http/ClientResponse.ts.html)
|
|
52
52
|
* - Module: `@effect/platform/Http/ClientResponse`
|
|
53
53
|
*/
|
|
54
54
|
response,
|
|
55
55
|
/**
|
|
56
56
|
* @since 1.0.0
|
|
57
57
|
*
|
|
58
|
-
* - Docs: [Http/UrlParams](https://effect-ts.github.io/
|
|
58
|
+
* - Docs: [Http/UrlParams](https://effect-ts.github.io/effect/platform/Http/UrlParams.ts.html)
|
|
59
59
|
* - Module: `@effect/platform/Http/UrlParams`
|
|
60
60
|
*/
|
|
61
61
|
urlParams
|
package/src/HttpServer.ts
CHANGED
|
@@ -7,6 +7,7 @@ import * as app from "@effect/platform/Http/App"
|
|
|
7
7
|
import * as body from "@effect/platform/Http/Body"
|
|
8
8
|
import * as headers from "@effect/platform/Http/Headers"
|
|
9
9
|
import * as middleware from "@effect/platform/Http/Middleware"
|
|
10
|
+
import * as multiplex from "@effect/platform/Http/Multiplex"
|
|
10
11
|
import * as router from "@effect/platform/Http/Router"
|
|
11
12
|
import * as error from "@effect/platform/Http/ServerError"
|
|
12
13
|
import * as response from "@effect/platform/Http/ServerResponse"
|
|
@@ -18,21 +19,21 @@ export {
|
|
|
18
19
|
/**
|
|
19
20
|
* @since 1.0.0
|
|
20
21
|
*
|
|
21
|
-
* - Docs: [Http/App](https://effect-ts.github.io/
|
|
22
|
+
* - Docs: [Http/App](https://effect-ts.github.io/effect/platform/Http/App.ts.html)
|
|
22
23
|
* - Module: `@effect/platform/Http/App`
|
|
23
24
|
*/
|
|
24
25
|
app,
|
|
25
26
|
/**
|
|
26
27
|
* @since 1.0.0
|
|
27
28
|
*
|
|
28
|
-
* - Docs: [Http/Body](https://effect-ts.github.io/
|
|
29
|
+
* - Docs: [Http/Body](https://effect-ts.github.io/effect/platform/Http/Body.ts.html)
|
|
29
30
|
* - Module: `@effect/platform/Http/Body`
|
|
30
31
|
*/
|
|
31
32
|
body,
|
|
32
33
|
/**
|
|
33
34
|
* @since 1.0.0
|
|
34
35
|
*
|
|
35
|
-
* - Docs: [Http/ServerError](https://effect-ts.github.io/
|
|
36
|
+
* - Docs: [Http/ServerError](https://effect-ts.github.io/effect/platform/Http/ServerError.ts.html)
|
|
36
37
|
* - Module: `@effect/platform/Http/ServerError`
|
|
37
38
|
*/
|
|
38
39
|
error,
|
|
@@ -46,14 +47,14 @@ export {
|
|
|
46
47
|
/**
|
|
47
48
|
* @since 1.0.0
|
|
48
49
|
*
|
|
49
|
-
* - Docs: [Http/Headers](https://effect-ts.github.io/
|
|
50
|
+
* - Docs: [Http/Headers](https://effect-ts.github.io/effect/platform/Http/Headers.ts.html)
|
|
50
51
|
* - Module: `@effect/platform/Http/Headers`
|
|
51
52
|
*/
|
|
52
53
|
headers,
|
|
53
54
|
/**
|
|
54
55
|
* @since 1.0.0
|
|
55
56
|
*
|
|
56
|
-
* - Docs: [Http/Middleware](https://effect-ts.github.io/
|
|
57
|
+
* - Docs: [Http/Middleware](https://effect-ts.github.io/effect/platform/Http/Middleware.ts.html)
|
|
57
58
|
* - Module: `@effect/platform/Http/Middleware`
|
|
58
59
|
*/
|
|
59
60
|
middleware,
|
|
@@ -64,6 +65,13 @@ export {
|
|
|
64
65
|
* - Module: `@effect/platform-node/Http/Multipart`
|
|
65
66
|
*/
|
|
66
67
|
multipart,
|
|
68
|
+
/**
|
|
69
|
+
* @since 1.0.0
|
|
70
|
+
*
|
|
71
|
+
* - Docs: [Http/Multiplex](https://effect-ts.github.io/effect/platform/Http/Multiplex.ts.html)
|
|
72
|
+
* - Module: `@effect/platform/Http/Multiplex`
|
|
73
|
+
*/
|
|
74
|
+
multiplex,
|
|
67
75
|
/**
|
|
68
76
|
* @since 1.0.0
|
|
69
77
|
*
|
|
@@ -74,14 +82,14 @@ export {
|
|
|
74
82
|
/**
|
|
75
83
|
* @since 1.0.0
|
|
76
84
|
*
|
|
77
|
-
* - Docs: [Http/ServerResponse](https://effect-ts.github.io/
|
|
85
|
+
* - Docs: [Http/ServerResponse](https://effect-ts.github.io/effect/platform/Http/ServerResponse.ts.html)
|
|
78
86
|
* - Module: `@effect/platform/Http/ServerResponse`
|
|
79
87
|
*/
|
|
80
88
|
response,
|
|
81
89
|
/**
|
|
82
90
|
* @since 1.0.0
|
|
83
91
|
*
|
|
84
|
-
* - Docs: [Http/Router](https://effect-ts.github.io/
|
|
92
|
+
* - Docs: [Http/Router](https://effect-ts.github.io/effect/platform/Http/Router.ts.html)
|
|
85
93
|
* - Module: `@effect/platform/Http/Router`
|
|
86
94
|
*/
|
|
87
95
|
router,
|
|
@@ -95,7 +103,7 @@ export {
|
|
|
95
103
|
/**
|
|
96
104
|
* @since 1.0.0
|
|
97
105
|
*
|
|
98
|
-
* - Docs: [Http/UrlParams](https://effect-ts.github.io/
|
|
106
|
+
* - Docs: [Http/UrlParams](https://effect-ts.github.io/effect/platform/Http/UrlParams.ts.html)
|
|
99
107
|
* - Module: `@effect/platform/Http/UrlParams`
|
|
100
108
|
*/
|
|
101
109
|
urlParams
|
package/src/KeyValueStore.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/effect/platform/KeyValueStore.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
export * from "@effect/platform/KeyValueStore"
|
package/src/Transferable.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/effect/platform/Transferable.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
export * from "@effect/platform/Transferable"
|
package/src/Worker.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/effect/platform/Worker.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type * as Worker from "@effect/platform/Worker"
|
|
7
7
|
import type * as Schema from "@effect/schema/Schema"
|
package/src/WorkerRunner.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @since 1.0.0
|
|
3
3
|
*
|
|
4
|
-
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/
|
|
4
|
+
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/effect/platform/WorkerRunner.ts.html).
|
|
5
5
|
*/
|
|
6
6
|
import type { WorkerError } from "@effect/platform/WorkerError"
|
|
7
7
|
import type * as Runner from "@effect/platform/WorkerRunner"
|
package/src/index.ts
CHANGED
|
@@ -41,7 +41,7 @@ export * as HttpServer from "./HttpServer.js"
|
|
|
41
41
|
/**
|
|
42
42
|
* @since 1.0.0
|
|
43
43
|
*
|
|
44
|
-
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/
|
|
44
|
+
* Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/effect/platform/KeyValueStore.ts.html).
|
|
45
45
|
*/
|
|
46
46
|
export * as KeyValueStore from "./KeyValueStore.js"
|
|
47
47
|
|
|
@@ -73,20 +73,20 @@ export * as Terminal from "./Terminal.js"
|
|
|
73
73
|
/**
|
|
74
74
|
* @since 1.0.0
|
|
75
75
|
*
|
|
76
|
-
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/
|
|
76
|
+
* Also includes exports from [`@effect/platform/Transferable`](https://effect-ts.github.io/effect/platform/Transferable.ts.html).
|
|
77
77
|
*/
|
|
78
78
|
export * as Transferable from "./Transferable.js"
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
81
|
* @since 1.0.0
|
|
82
82
|
*
|
|
83
|
-
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/
|
|
83
|
+
* Also includes exports from [`@effect/platform/Worker`](https://effect-ts.github.io/effect/platform/Worker.ts.html).
|
|
84
84
|
*/
|
|
85
85
|
export * as Worker from "./Worker.js"
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* @since 1.0.0
|
|
89
89
|
*
|
|
90
|
-
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/
|
|
90
|
+
* Also includes exports from [`@effect/platform/WorkerRunner`](https://effect-ts.github.io/effect/platform/WorkerRunner.ts.html).
|
|
91
91
|
*/
|
|
92
92
|
export * as WorkerRunner from "./WorkerRunner.js"
|