@effect/platform 0.18.4 → 0.18.6

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.
Files changed (109) hide show
  1. package/Command/dist/effect-platform-Command.esm.js +12 -200
  2. package/CommandExecutor/dist/effect-platform-CommandExecutor.esm.js +9 -71
  3. package/Effectify/dist/effect-platform-Effectify.esm.js +2 -23
  4. package/Error/dist/effect-platform-Error.esm.js +2 -54
  5. package/FileSystem/dist/effect-platform-FileSystem.esm.js +10 -177
  6. package/Http/Body/dist/effect-platform-Http-Body.esm.js +13 -151
  7. package/Http/Client/dist/effect-platform-Http-Client.cjs.dev.js +2 -2
  8. package/Http/Client/dist/effect-platform-Http-Client.cjs.prod.js +2 -2
  9. package/Http/Client/dist/effect-platform-Http-Client.esm.js +28 -164
  10. package/Http/ClientError/dist/effect-platform-Http-ClientError.esm.js +3 -48
  11. package/Http/ClientRequest/dist/effect-platform-Http-ClientRequest.esm.js +20 -241
  12. package/Http/ClientResponse/dist/effect-platform-Http-ClientResponse.cjs.dev.js +3 -2
  13. package/Http/ClientResponse/dist/effect-platform-Http-ClientResponse.cjs.mjs +2 -1
  14. package/Http/ClientResponse/dist/effect-platform-Http-ClientResponse.cjs.prod.js +3 -2
  15. package/Http/ClientResponse/dist/effect-platform-Http-ClientResponse.esm.js +22 -35
  16. package/Http/Etag/dist/effect-platform-Http-Etag.esm.js +17 -1
  17. package/Http/FormData/dist/effect-platform-Http-FormData.esm.js +17 -155
  18. package/Http/Headers/dist/effect-platform-Http-Headers.esm.js +4 -74
  19. package/Http/IncomingMessage/dist/effect-platform-Http-IncomingMessage.esm.js +6 -1
  20. package/Http/Middleware/dist/effect-platform-Http-Middleware.cjs.dev.js +3 -3
  21. package/Http/Middleware/dist/effect-platform-Http-Middleware.cjs.prod.js +3 -3
  22. package/Http/Middleware/dist/effect-platform-Http-Middleware.esm.js +30 -52
  23. package/Http/Platform/dist/effect-platform-Http-Platform.esm.js +56 -1
  24. package/Http/Router/dist/effect-platform-Http-Router.esm.js +25 -224
  25. package/Http/Server/dist/effect-platform-Http-Server.esm.js +18 -1
  26. package/Http/ServerError/dist/effect-platform-Http-ServerError.esm.js +2 -70
  27. package/Http/ServerRequest/dist/effect-platform-Http-ServerRequest.esm.js +20 -65
  28. package/Http/ServerResponse/dist/effect-platform-Http-ServerResponse.cjs.dev.js +2 -2
  29. package/Http/ServerResponse/dist/effect-platform-Http-ServerResponse.cjs.prod.js +2 -2
  30. package/Http/ServerResponse/dist/effect-platform-Http-ServerResponse.esm.js +21 -126
  31. package/Http/UrlParams/dist/effect-platform-Http-UrlParams.esm.js +4 -101
  32. package/HttpClient/dist/effect-platform-HttpClient.cjs.dev.js +3 -3
  33. package/HttpClient/dist/effect-platform-HttpClient.cjs.prod.js +3 -3
  34. package/HttpClient/dist/effect-platform-HttpClient.esm.js +32 -18
  35. package/HttpServer/dist/effect-platform-HttpServer.cjs.dev.js +2 -3
  36. package/HttpServer/dist/effect-platform-HttpServer.cjs.prod.js +2 -3
  37. package/HttpServer/dist/effect-platform-HttpServer.esm.js +35 -24
  38. package/KeyValueStore/dist/effect-platform-KeyValueStore.esm.js +15 -78
  39. package/Path/dist/effect-platform-Path.esm.js +8 -33
  40. package/Runtime/dist/effect-platform-Runtime.esm.js +3 -26
  41. package/dist/App-687366d8.esm.js +5 -0
  42. package/dist/Body-ec1353f9.esm.js +170 -0
  43. package/dist/{Client-15671ed6.cjs.dev.js → Client-440a1019.cjs.dev.js} +1 -1
  44. package/dist/Client-4659bda7.esm.js +346 -0
  45. package/dist/{Client-6b3e3de8.cjs.prod.js → Client-7b851481.cjs.prod.js} +1 -1
  46. package/dist/ClientError-98b5da8c.esm.js +55 -0
  47. package/dist/ClientRequest-fc429335.esm.js +281 -0
  48. package/dist/{ClientResponse-a1d64ab8.cjs.dev.js → ClientResponse-1476704c.cjs.dev.js} +9 -1
  49. package/dist/ClientResponse-4524e99e.esm.js +53 -0
  50. package/dist/{ClientResponse-8f65511e.cjs.prod.js → ClientResponse-fe4e69c8.cjs.prod.js} +9 -1
  51. package/dist/Command-d8ab0c8d.esm.js +403 -0
  52. package/dist/CommandExecutor-5807b66b.esm.js +80 -0
  53. package/dist/Effectify-e5a9d266.esm.js +43 -0
  54. package/dist/Error-3099667c.esm.js +75 -0
  55. package/dist/FileSystem-7e31dccd.esm.js +271 -0
  56. package/dist/FormData-f54de878.esm.js +270 -0
  57. package/dist/Headers-58b56a08.esm.js +85 -0
  58. package/dist/{HttpClient-cefc7da9.cjs.dev.js → HttpClient-4d23b1f5.cjs.dev.js} +2 -2
  59. package/dist/{HttpClient-d3c69877.cjs.prod.js → HttpClient-88775b8e.cjs.prod.js} +2 -2
  60. package/dist/HttpClient-9ca6050c.esm.js +24 -0
  61. package/dist/{HttpServer-5b9d992e.cjs.dev.js → HttpServer-16159c3a.cjs.dev.js} +2 -2
  62. package/dist/HttpServer-50f8df76.esm.js +30 -0
  63. package/dist/{HttpServer-60325fb0.cjs.prod.js → HttpServer-93c0fbb3.cjs.prod.js} +2 -2
  64. package/{internal/keyValueStore.esm.js → dist/KeyValueStore-2f9a70bf.esm.js} +102 -15
  65. package/dist/Middleware-240f91f6.esm.js +105 -0
  66. package/dist/{Middleware-8e7cd600.cjs.dev.js → Middleware-e2edf820.cjs.dev.js} +1 -1
  67. package/dist/{Middleware-d4f1a1cd.cjs.prod.js → Middleware-f9a073d7.cjs.prod.js} +1 -1
  68. package/{internal/path.esm.js → dist/Path-46f84ba7.esm.js} +40 -4
  69. package/dist/Router-bf32317a.esm.js +454 -0
  70. package/dist/Runtime-7265fb98.esm.js +31 -0
  71. package/dist/ServerError-04ad5b57.esm.js +99 -0
  72. package/dist/ServerRequest-03161edc.esm.js +125 -0
  73. package/dist/ServerResponse-93038062.esm.js +259 -0
  74. package/dist/{ServerResponse-7d60c7d1.cjs.dev.js → ServerResponse-b63b7192.cjs.dev.js} +15 -4
  75. package/dist/{ServerResponse-830f1052.cjs.prod.js → ServerResponse-eae85b08.cjs.prod.js} +15 -4
  76. package/dist/UrlParams-1286c728.esm.js +114 -0
  77. package/{internal/http/body.esm.js → dist/body-20d78ec1.esm.js} +2 -2
  78. package/{internal/http/clientError.esm.js → dist/clientError-c4e1466c.esm.js} +1 -1
  79. package/{internal/http/clientRequest.esm.js → dist/clientRequest-1e9e0b0d.esm.js} +4 -4
  80. package/dist/{clientResponse-c58a116c.cjs.dev.js → clientResponse-79c84a64.cjs.dev.js} +10 -0
  81. package/{internal/http/clientResponse.esm.js → dist/clientResponse-8c2ec6a3.esm.js} +14 -5
  82. package/dist/{clientResponse-2c6a83f1.cjs.prod.js → clientResponse-f9c57e83.cjs.prod.js} +10 -0
  83. package/{internal/commandExecutor.esm.js → dist/commandExecutor-d6457489.esm.js} +1 -1
  84. package/dist/declarations/src/Http/ClientResponse.d.ts +8 -0
  85. package/dist/declarations/src/Http/ClientResponse.d.ts.map +1 -1
  86. package/dist/declarations/src/Http/ServerResponse.d.ts +1 -2
  87. package/dist/declarations/src/Http/ServerResponse.d.ts.map +1 -1
  88. package/dist/effect-platform.cjs.dev.js +8 -8
  89. package/dist/effect-platform.cjs.prod.js +8 -8
  90. package/dist/effect-platform.esm.js +58 -20
  91. package/package.json +1 -2
  92. package/src/Http/ClientResponse.ts +10 -0
  93. package/src/Http/ServerResponse.ts +1 -2
  94. package/src/internal/http/clientResponse.ts +16 -0
  95. package/src/internal/http/serverResponse.ts +18 -4
  96. package/internal/command.esm.js +0 -185
  97. package/internal/effectify.esm.js +0 -18
  98. package/internal/error.esm.js +0 -17
  99. package/internal/fileSystem.esm.js +0 -82
  100. package/internal/http/client.esm.js +0 -157
  101. package/internal/http/etag.esm.js +0 -19
  102. package/internal/http/formData.esm.js +0 -95
  103. package/internal/http/middleware.esm.js +0 -46
  104. package/internal/http/platform.esm.js +0 -52
  105. package/internal/http/router.esm.js +0 -199
  106. package/internal/http/server.esm.js +0 -20
  107. package/internal/http/serverError.esm.js +0 -23
  108. package/internal/http/serverRequest.esm.js +0 -50
  109. package/internal/http/serverResponse.esm.js +0 -105
@@ -1,101 +1,4 @@
1
- import * as Chunk from 'effect/Chunk';
2
- import * as Effect from 'effect/Effect';
3
- import { dual } from 'effect/Function';
4
-
5
- /**
6
- * @since 1.0.0
7
- */
8
-
9
- /**
10
- * @since 1.0.0
11
- * @category models
12
- */
13
-
14
- /**
15
- * @since 1.0.0
16
- * @category models
17
- */
18
-
19
- /**
20
- * @since 1.0.0
21
- * @category constructors
22
- */
23
- const fromInput = input => {
24
- if (Chunk.isChunk(input)) {
25
- return input;
26
- } else if (Symbol.iterator in input) {
27
- return Chunk.fromIterable(input);
28
- }
29
- return Chunk.fromIterable(Object.entries(input));
30
- };
31
-
32
- /**
33
- * @since 1.0.0
34
- * @category constructors
35
- */
36
- const empty = /*#__PURE__*/Chunk.empty();
37
-
38
- /**
39
- * @since 1.0.0
40
- * @category combinators
41
- */
42
- const set = /*#__PURE__*/dual(3, (self, key, value) => Chunk.append(Chunk.filter(self, ([k]) => k !== key), [key, value]));
43
-
44
- /**
45
- * @since 1.0.0
46
- * @category combinators
47
- */
48
- const setAll = /*#__PURE__*/dual(2, (self, input) => {
49
- const toSet = fromInput(input);
50
- const keys = Chunk.toReadonlyArray(toSet).map(([k]) => k);
51
- return Chunk.appendAll(Chunk.filter(self, ([k]) => keys.includes(k)), toSet);
52
- });
53
-
54
- /**
55
- * @since 1.0.0
56
- * @category combinators
57
- */
58
- const append = /*#__PURE__*/dual(3, (self, key, value) => Chunk.append(self, [key, value]));
59
-
60
- /**
61
- * @since 1.0.0
62
- * @category combinators
63
- */
64
- const appendAll = /*#__PURE__*/dual(2, (self, input) => Chunk.appendAll(self, fromInput(input)));
65
-
66
- /**
67
- * @since 1.0.0
68
- * @category combinators
69
- */
70
- const remove = /*#__PURE__*/dual(2, (self, key) => Chunk.filter(self, ([k]) => k !== key));
71
-
72
- /**
73
- * @since 1.0.0
74
- * @category combinators
75
- */
76
- const toString = self => new URLSearchParams(Chunk.toReadonlyArray(self)).toString();
77
-
78
- /**
79
- * @since 1.0.0
80
- * @category constructors
81
- */
82
- const makeUrl = (url, params, onError) => Effect.try({
83
- try: () => {
84
- const urlInstance = new URL(url, baseUrl());
85
- Chunk.forEach(params, ([key, value]) => {
86
- if (value !== undefined) {
87
- urlInstance.searchParams.append(key, value);
88
- }
89
- });
90
- return urlInstance;
91
- },
92
- catch: onError
93
- });
94
- const baseUrl = () => {
95
- if ("location" in globalThis) {
96
- return location.origin + location.pathname;
97
- }
98
- return undefined;
99
- };
100
-
101
- export { append, appendAll, empty, fromInput, makeUrl, remove, set, setAll, toString };
1
+ import 'effect/Chunk';
2
+ import 'effect/Effect';
3
+ import 'effect/Function';
4
+ export { a as append, b as appendAll, e as empty, f as fromInput, m as makeUrl, r as remove, s as set, c as setAll, t as toString } from '../../../dist/UrlParams-1286c728.esm.js';
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var Http_Body_dist_effectPlatformHttpBody = require('../../dist/Body-86ef2922.cjs.dev.js');
6
- var Http_Client_dist_effectPlatformHttpClient = require('../../dist/Client-15671ed6.cjs.dev.js');
6
+ var Http_Client_dist_effectPlatformHttpClient = require('../../dist/Client-440a1019.cjs.dev.js');
7
7
  var Http_ClientError_dist_effectPlatformHttpClientError = require('../../dist/ClientError-b7828377.cjs.dev.js');
8
8
  var Http_ClientRequest_dist_effectPlatformHttpClientRequest = require('../../dist/ClientRequest-00e89da8.cjs.dev.js');
9
- var Http_ClientResponse_dist_effectPlatformHttpClientResponse = require('../../dist/ClientResponse-a1d64ab8.cjs.dev.js');
9
+ var Http_ClientResponse_dist_effectPlatformHttpClientResponse = require('../../dist/ClientResponse-1476704c.cjs.dev.js');
10
10
  var Http_Headers_dist_effectPlatformHttpHeaders = require('../../dist/Headers-f56bc667.cjs.dev.js');
11
11
  var Http_UrlParams_dist_effectPlatformHttpUrlParams = require('../../dist/UrlParams-5e0910f1.cjs.dev.js');
12
12
  require('../../dist/body-c7d7a944.cjs.dev.js');
@@ -30,7 +30,7 @@ require('effect/GlobalValue');
30
30
  require('../../Http/Method/dist/effect-platform-Http-Method.cjs.dev.js');
31
31
  require('../../dist/clientError-52d24cd8.cjs.dev.js');
32
32
  require('../../dist/clientRequest-423fd562.cjs.dev.js');
33
- require('../../dist/clientResponse-c58a116c.cjs.dev.js');
33
+ require('../../dist/clientResponse-79c84a64.cjs.dev.js');
34
34
  require('effect/ReadonlyArray');
35
35
  require('effect/ReadonlyRecord');
36
36
  require('effect/Chunk');
@@ -3,10 +3,10 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var Http_Body_dist_effectPlatformHttpBody = require('../../dist/Body-b77eac75.cjs.prod.js');
6
- var Http_Client_dist_effectPlatformHttpClient = require('../../dist/Client-6b3e3de8.cjs.prod.js');
6
+ var Http_Client_dist_effectPlatformHttpClient = require('../../dist/Client-7b851481.cjs.prod.js');
7
7
  var Http_ClientError_dist_effectPlatformHttpClientError = require('../../dist/ClientError-22781879.cjs.prod.js');
8
8
  var Http_ClientRequest_dist_effectPlatformHttpClientRequest = require('../../dist/ClientRequest-750d8d59.cjs.prod.js');
9
- var Http_ClientResponse_dist_effectPlatformHttpClientResponse = require('../../dist/ClientResponse-8f65511e.cjs.prod.js');
9
+ var Http_ClientResponse_dist_effectPlatformHttpClientResponse = require('../../dist/ClientResponse-fe4e69c8.cjs.prod.js');
10
10
  var Http_Headers_dist_effectPlatformHttpHeaders = require('../../dist/Headers-122cb877.cjs.prod.js');
11
11
  var Http_UrlParams_dist_effectPlatformHttpUrlParams = require('../../dist/UrlParams-1228a686.cjs.prod.js');
12
12
  require('../../dist/body-33521da5.cjs.prod.js');
@@ -30,7 +30,7 @@ require('effect/GlobalValue');
30
30
  require('../../Http/Method/dist/effect-platform-Http-Method.cjs.prod.js');
31
31
  require('../../dist/clientError-de103d6a.cjs.prod.js');
32
32
  require('../../dist/clientRequest-3e72ec54.cjs.prod.js');
33
- require('../../dist/clientResponse-2c6a83f1.cjs.prod.js');
33
+ require('../../dist/clientResponse-f9c57e83.cjs.prod.js');
34
34
  require('effect/ReadonlyArray');
35
35
  require('effect/ReadonlyRecord');
36
36
  require('effect/Chunk');
@@ -1,18 +1,32 @@
1
- import * as Http_Body_dist_effectPlatformHttpBody from '../../Http/Http/Body/dist/effect-platform-Http-Body.esm.js';
2
- export { Http_Body_dist_effectPlatformHttpBody as body };
3
- import * as Http_Client_dist_effectPlatformHttpClient from '../../Http/Http/Client/dist/effect-platform-Http-Client.esm.js';
4
- export { Http_Client_dist_effectPlatformHttpClient as client };
5
- import * as Http_ClientError_dist_effectPlatformHttpClientError from '../../Http/Http/ClientError/dist/effect-platform-Http-ClientError.esm.js';
6
- export { Http_ClientError_dist_effectPlatformHttpClientError as error };
7
- import * as Http_ClientRequest_dist_effectPlatformHttpClientRequest from '../../Http/Http/ClientRequest/dist/effect-platform-Http-ClientRequest.esm.js';
8
- export { Http_ClientRequest_dist_effectPlatformHttpClientRequest as request };
9
- import * as Http_ClientResponse_dist_effectPlatformHttpClientResponse from '../../Http/Http/ClientResponse/dist/effect-platform-Http-ClientResponse.esm.js';
10
- export { Http_ClientResponse_dist_effectPlatformHttpClientResponse as response };
11
- import * as Http_Headers_dist_effectPlatformHttpHeaders from '../../Http/Http/Headers/dist/effect-platform-Http-Headers.esm.js';
12
- export { Http_Headers_dist_effectPlatformHttpHeaders as headers };
13
- import * as Http_UrlParams_dist_effectPlatformHttpUrlParams from '../../Http/Http/UrlParams/dist/effect-platform-Http-UrlParams.esm.js';
14
- export { Http_UrlParams_dist_effectPlatformHttpUrlParams as urlParams };
15
-
16
- /**
17
- * @since 1.0.0
18
- */
1
+ export { B as body } from '../../dist/Body-ec1353f9.esm.js';
2
+ export { C as client } from '../../dist/Client-4659bda7.esm.js';
3
+ export { C as error } from '../../dist/ClientError-98b5da8c.esm.js';
4
+ export { C as request } from '../../dist/ClientRequest-fc429335.esm.js';
5
+ export { C as response } from '../../dist/ClientResponse-4524e99e.esm.js';
6
+ export { H as headers } from '../../dist/Headers-58b56a08.esm.js';
7
+ export { U as urlParams } from '../../dist/UrlParams-1286c728.esm.js';
8
+ import '../../dist/body-20d78ec1.esm.js';
9
+ import '@effect/schema/Schema';
10
+ import 'effect/Data';
11
+ import 'effect/Effect';
12
+ import 'effect/Function';
13
+ import 'effect/Stream';
14
+ import '../../dist/FileSystem-7e31dccd.esm.js';
15
+ import 'effect/Brand';
16
+ import 'effect/Context';
17
+ import 'effect/Option';
18
+ import 'effect/Sink';
19
+ import '../../dist/Error-3099667c.esm.js';
20
+ import 'effect/Layer';
21
+ import 'effect/Pipeable';
22
+ import '../../Http/IncomingMessage/dist/effect-platform-Http-IncomingMessage.esm.js';
23
+ import '@effect/schema/ParseResult';
24
+ import 'effect/FiberRef';
25
+ import 'effect/GlobalValue';
26
+ import '../../Http/Method/dist/effect-platform-Http-Method.esm.js';
27
+ import '../../dist/clientError-c4e1466c.esm.js';
28
+ import '../../dist/clientRequest-1e9e0b0d.esm.js';
29
+ import '../../dist/clientResponse-8c2ec6a3.esm.js';
30
+ import 'effect/ReadonlyArray';
31
+ import 'effect/ReadonlyRecord';
32
+ import 'effect/Chunk';
@@ -6,11 +6,11 @@ var Http_App_dist_effectPlatformHttpApp = require('../../dist/App-44aa3275.cjs.d
6
6
  var Http_Body_dist_effectPlatformHttpBody = require('../../dist/Body-86ef2922.cjs.dev.js');
7
7
  var Http_FormData_dist_effectPlatformHttpFormData = require('../../dist/FormData-ee0b1cf2.cjs.dev.js');
8
8
  var Http_Headers_dist_effectPlatformHttpHeaders = require('../../dist/Headers-f56bc667.cjs.dev.js');
9
- var Http_Middleware_dist_effectPlatformHttpMiddleware = require('../../dist/Middleware-8e7cd600.cjs.dev.js');
9
+ var Http_Middleware_dist_effectPlatformHttpMiddleware = require('../../dist/Middleware-e2edf820.cjs.dev.js');
10
10
  var Http_Router_dist_effectPlatformHttpRouter = require('../../dist/Router-bd2b3014.cjs.dev.js');
11
11
  var Http_ServerError_dist_effectPlatformHttpServerError = require('../../dist/ServerError-55c5e24b.cjs.dev.js');
12
12
  var Http_ServerRequest_dist_effectPlatformHttpServerRequest = require('../../dist/ServerRequest-8d9c2c6b.cjs.dev.js');
13
- var Http_ServerResponse_dist_effectPlatformHttpServerResponse = require('../../dist/ServerResponse-7d60c7d1.cjs.dev.js');
13
+ var Http_ServerResponse_dist_effectPlatformHttpServerResponse = require('../../dist/ServerResponse-b63b7192.cjs.dev.js');
14
14
  var Http_UrlParams_dist_effectPlatformHttpUrlParams = require('../../dist/UrlParams-5e0910f1.cjs.dev.js');
15
15
  require('../../dist/body-c7d7a944.cjs.dev.js');
16
16
  require('@effect/schema/Schema');
@@ -35,7 +35,6 @@ require('@effect/schema/ParseResult');
35
35
  require('effect/Effectable');
36
36
  require('effect/Inspectable');
37
37
  require('find-my-way');
38
- require('effect/Pipeable');
39
38
  require('../../Http/Platform/dist/effect-platform-Http-Platform.cjs.dev.js');
40
39
  require('../../Http/Etag/dist/effect-platform-Http-Etag.cjs.dev.js');
41
40
 
@@ -6,11 +6,11 @@ var Http_App_dist_effectPlatformHttpApp = require('../../dist/App-0916639a.cjs.p
6
6
  var Http_Body_dist_effectPlatformHttpBody = require('../../dist/Body-b77eac75.cjs.prod.js');
7
7
  var Http_FormData_dist_effectPlatformHttpFormData = require('../../dist/FormData-902afd18.cjs.prod.js');
8
8
  var Http_Headers_dist_effectPlatformHttpHeaders = require('../../dist/Headers-122cb877.cjs.prod.js');
9
- var Http_Middleware_dist_effectPlatformHttpMiddleware = require('../../dist/Middleware-d4f1a1cd.cjs.prod.js');
9
+ var Http_Middleware_dist_effectPlatformHttpMiddleware = require('../../dist/Middleware-f9a073d7.cjs.prod.js');
10
10
  var Http_Router_dist_effectPlatformHttpRouter = require('../../dist/Router-6c80a4c9.cjs.prod.js');
11
11
  var Http_ServerError_dist_effectPlatformHttpServerError = require('../../dist/ServerError-605b2fa2.cjs.prod.js');
12
12
  var Http_ServerRequest_dist_effectPlatformHttpServerRequest = require('../../dist/ServerRequest-938f3ed0.cjs.prod.js');
13
- var Http_ServerResponse_dist_effectPlatformHttpServerResponse = require('../../dist/ServerResponse-830f1052.cjs.prod.js');
13
+ var Http_ServerResponse_dist_effectPlatformHttpServerResponse = require('../../dist/ServerResponse-eae85b08.cjs.prod.js');
14
14
  var Http_UrlParams_dist_effectPlatformHttpUrlParams = require('../../dist/UrlParams-1228a686.cjs.prod.js');
15
15
  require('../../dist/body-33521da5.cjs.prod.js');
16
16
  require('@effect/schema/Schema');
@@ -35,7 +35,6 @@ require('@effect/schema/ParseResult');
35
35
  require('effect/Effectable');
36
36
  require('effect/Inspectable');
37
37
  require('find-my-way');
38
- require('effect/Pipeable');
39
38
  require('../../Http/Platform/dist/effect-platform-Http-Platform.cjs.prod.js');
40
39
  require('../../Http/Etag/dist/effect-platform-Http-Etag.cjs.prod.js');
41
40
 
@@ -1,24 +1,35 @@
1
- import * as Http_App_dist_effectPlatformHttpApp from '../../Http/Http/App/dist/effect-platform-Http-App.esm.js';
2
- export { Http_App_dist_effectPlatformHttpApp as app };
3
- import * as Http_Body_dist_effectPlatformHttpBody from '../../Http/Http/Body/dist/effect-platform-Http-Body.esm.js';
4
- export { Http_Body_dist_effectPlatformHttpBody as body };
5
- import * as Http_FormData_dist_effectPlatformHttpFormData from '../../Http/Http/FormData/dist/effect-platform-Http-FormData.esm.js';
6
- export { Http_FormData_dist_effectPlatformHttpFormData as formData };
7
- import * as Http_Headers_dist_effectPlatformHttpHeaders from '../../Http/Http/Headers/dist/effect-platform-Http-Headers.esm.js';
8
- export { Http_Headers_dist_effectPlatformHttpHeaders as headers };
9
- import * as Http_Middleware_dist_effectPlatformHttpMiddleware from '../../Http/Http/Middleware/dist/effect-platform-Http-Middleware.esm.js';
10
- export { Http_Middleware_dist_effectPlatformHttpMiddleware as middleware };
11
- import * as Http_Router_dist_effectPlatformHttpRouter from '../../Http/Http/Router/dist/effect-platform-Http-Router.esm.js';
12
- export { Http_Router_dist_effectPlatformHttpRouter as router };
13
- import * as Http_ServerError_dist_effectPlatformHttpServerError from '../../Http/Http/ServerError/dist/effect-platform-Http-ServerError.esm.js';
14
- export { Http_ServerError_dist_effectPlatformHttpServerError as error };
15
- import * as Http_ServerRequest_dist_effectPlatformHttpServerRequest from '../../Http/Http/ServerRequest/dist/effect-platform-Http-ServerRequest.esm.js';
16
- export { Http_ServerRequest_dist_effectPlatformHttpServerRequest as request };
17
- import * as Http_ServerResponse_dist_effectPlatformHttpServerResponse from '../../Http/Http/ServerResponse/dist/effect-platform-Http-ServerResponse.esm.js';
18
- export { Http_ServerResponse_dist_effectPlatformHttpServerResponse as response };
19
- import * as Http_UrlParams_dist_effectPlatformHttpUrlParams from '../../Http/Http/UrlParams/dist/effect-platform-Http-UrlParams.esm.js';
20
- export { Http_UrlParams_dist_effectPlatformHttpUrlParams as urlParams };
21
-
22
- /**
23
- * @since 1.0.0
24
- */
1
+ export { A as app } from '../../dist/App-687366d8.esm.js';
2
+ export { B as body } from '../../dist/Body-ec1353f9.esm.js';
3
+ export { F as formData } from '../../dist/FormData-f54de878.esm.js';
4
+ export { H as headers } from '../../dist/Headers-58b56a08.esm.js';
5
+ export { M as middleware } from '../../dist/Middleware-240f91f6.esm.js';
6
+ export { R as router } from '../../dist/Router-bf32317a.esm.js';
7
+ export { S as error } from '../../dist/ServerError-04ad5b57.esm.js';
8
+ export { S as request } from '../../dist/ServerRequest-03161edc.esm.js';
9
+ export { S as response } from '../../dist/ServerResponse-93038062.esm.js';
10
+ export { U as urlParams } from '../../dist/UrlParams-1286c728.esm.js';
11
+ import '../../dist/body-20d78ec1.esm.js';
12
+ import '@effect/schema/Schema';
13
+ import 'effect/Data';
14
+ import 'effect/Effect';
15
+ import 'effect/Function';
16
+ import 'effect/Stream';
17
+ import '../../dist/FileSystem-7e31dccd.esm.js';
18
+ import 'effect/Brand';
19
+ import 'effect/Context';
20
+ import 'effect/Option';
21
+ import 'effect/Sink';
22
+ import '../../dist/Error-3099667c.esm.js';
23
+ import 'effect/Chunk';
24
+ import 'effect/FiberRef';
25
+ import 'effect/GlobalValue';
26
+ import 'effect/Predicate';
27
+ import 'effect/ReadonlyArray';
28
+ import 'effect/ReadonlyRecord';
29
+ import '../../Http/IncomingMessage/dist/effect-platform-Http-IncomingMessage.esm.js';
30
+ import '@effect/schema/ParseResult';
31
+ import 'effect/Effectable';
32
+ import 'effect/Inspectable';
33
+ import 'find-my-way';
34
+ import '../../Http/Platform/dist/effect-platform-Http-Platform.esm.js';
35
+ import '../../Http/Etag/dist/effect-platform-Http-Etag.esm.js';
@@ -1,78 +1,15 @@
1
- import { TypeId as TypeId$1, keyValueStoreTag, make as make$1, prefix as prefix$1, layerMemory as layerMemory$1, layerFileSystem as layerFileSystem$1, SchemaStoreTypeId as SchemaStoreTypeId$1, layerSchema as layerSchema$1 } from '../../internal/keyValueStore.esm.js';
2
-
3
- /**
4
- * @since 1.0.0
5
- */
6
- /**
7
- * @since 1.0.0
8
- * @category type id
9
- */
10
- const TypeId = TypeId$1;
11
-
12
- /**
13
- * @since 1.0.0
14
- * @category type id
15
- */
16
-
17
- /**
18
- * @since 1.0.0
19
- * @category models
20
- */
21
-
22
- /**
23
- * @since 1.0.0
24
- */
25
-
26
- /**
27
- * @since 1.0.0
28
- * @category tags
29
- */
30
- const KeyValueStore = keyValueStoreTag;
31
-
32
- /**
33
- * @since 1.0.0
34
- * @category constructors
35
- */
36
- const make = make$1;
37
-
38
- /**
39
- * @since 1.0.0
40
- * @category combinators
41
- */
42
- const prefix = prefix$1;
43
-
44
- /**
45
- * @since 1.0.0
46
- * @category layers
47
- */
48
- const layerMemory = layerMemory$1;
49
-
50
- /**
51
- * @since 1.0.0
52
- * @category layers
53
- */
54
- const layerFileSystem = layerFileSystem$1;
55
-
56
- /**
57
- * @since 1.0.0
58
- * @category type id
59
- */
60
- const SchemaStoreTypeId = SchemaStoreTypeId$1;
61
-
62
- /**
63
- * @since 1.0.0
64
- * @category type id
65
- */
66
-
67
- /**
68
- * @since 1.0.0
69
- * @category models
70
- */
71
-
72
- /**
73
- * @since 1.0.0
74
- * @category layers
75
- */
76
- const layerSchema = layerSchema$1;
77
-
78
- export { KeyValueStore, SchemaStoreTypeId, TypeId, layerFileSystem, layerMemory, layerSchema, make, prefix };
1
+ export { a as KeyValueStore, S as SchemaStoreTypeId, T as TypeId, b as layerFileSystem, l as layerMemory, c as layerSchema, m as make, p as prefix } from '../../dist/KeyValueStore-2f9a70bf.esm.js';
2
+ import '@effect/schema/Schema';
3
+ import 'effect/Context';
4
+ import 'effect/Effect';
5
+ import 'effect/Function';
6
+ import 'effect/Layer';
7
+ import 'effect/Option';
8
+ import '../../dist/FileSystem-7e31dccd.esm.js';
9
+ import 'effect/Brand';
10
+ import 'effect/Sink';
11
+ import 'effect/Stream';
12
+ import '../../dist/Error-3099667c.esm.js';
13
+ import 'effect/Data';
14
+ import '../../dist/Path-46f84ba7.esm.js';
15
+ import 'path-browserify';
@@ -1,33 +1,8 @@
1
- import { Path as Path$2, layer as layer$1 } from '../../internal/path.esm.js';
2
-
3
- /**
4
- * @since 1.0.0
5
- */
6
-
7
- /**
8
- * @since 1.0.0
9
- * @category model
10
- */
11
-
12
- /**
13
- * @since 1.0.0
14
- */
15
-
16
- /**
17
- * @since 1.0.0
18
- * @category tag
19
- */
20
- const Path = Path$2;
21
-
22
- /**
23
- * An implementation of the Path interface that can be used in all environments
24
- * (including browsers).
25
- *
26
- * It uses the POSIX standard for paths.
27
- *
28
- * @since 1.0.0
29
- * @category layer
30
- */
31
- const layer = layer$1;
32
-
33
- export { Path, layer };
1
+ export { a as Path, l as layer } from '../../dist/Path-46f84ba7.esm.js';
2
+ import 'effect/Context';
3
+ import 'effect/Effect';
4
+ import 'effect/Function';
5
+ import 'effect/Layer';
6
+ import 'path-browserify';
7
+ import '../../dist/Error-3099667c.esm.js';
8
+ import 'effect/Data';
@@ -1,26 +1,3 @@
1
- import * as Cause from 'effect/Cause';
2
- import * as Exit from 'effect/Exit';
3
-
4
- /**
5
- * @since 1.0.0
6
- */
7
-
8
- /**
9
- * @category model
10
- * @since 1.0.0
11
- */
12
-
13
- /**
14
- * @category teardown
15
- * @since 1.0.0
16
- */
17
- const defaultTeardown = (exit, onExit) => {
18
- onExit(Exit.isFailure(exit) && !Cause.isInterruptedOnly(exit.cause) ? 1 : 0);
19
- };
20
-
21
- /**
22
- * @category model
23
- * @since 1.0.0
24
- */
25
-
26
- export { defaultTeardown };
1
+ import 'effect/Cause';
2
+ import 'effect/Exit';
3
+ export { d as defaultTeardown } from '../../dist/Runtime-7265fb98.esm.js';
@@ -0,0 +1,5 @@
1
+ var App = /*#__PURE__*/Object.freeze({
2
+ __proto__: null
3
+ });
4
+
5
+ export { App as A };
@@ -0,0 +1,170 @@
1
+ import { T as TypeId$1, E as ErrorTypeId$1, B as BodyError$1, e as empty$1, r as raw$1, u as uint8Array$1, t as text$1, a as unsafeJson$1, j as json$1, b as jsonSchema$1, f as formData$1, s as stream$1, c as file$1, d as fileInfo$1, g as fileWeb$1 } from './body-20d78ec1.esm.js';
2
+
3
+ /**
4
+ * @since 1.0.0
5
+ */
6
+
7
+ /**
8
+ * @since 1.0.0
9
+ * @category type ids
10
+ */
11
+ const TypeId = TypeId$1;
12
+
13
+ /**
14
+ * @since 1.0.0
15
+ * @category type ids
16
+ */
17
+
18
+ /**
19
+ * @since 1.0.0
20
+ * @category models
21
+ */
22
+
23
+ /**
24
+ * @since 1.0.0
25
+ */
26
+
27
+ /**
28
+ * @since 1.0.0
29
+ * @category type ids
30
+ */
31
+ const ErrorTypeId = ErrorTypeId$1;
32
+
33
+ /**
34
+ * @since 1.0.0
35
+ * @category type ids
36
+ */
37
+
38
+ /**
39
+ * @since 1.0.0
40
+ * @category errors
41
+ */
42
+
43
+ /**
44
+ * @since 1.0.0
45
+ * @category errors
46
+ */
47
+ const BodyError = BodyError$1;
48
+
49
+ /**
50
+ * @since 1.0.0
51
+ * @category errors
52
+ */
53
+
54
+ /**
55
+ * @since 1.0.0
56
+ * @category models
57
+ */
58
+
59
+ /**
60
+ * @since 1.0.0
61
+ * @category constructors
62
+ */
63
+ const empty = empty$1;
64
+
65
+ /**
66
+ * @since 1.0.0
67
+ * @category models
68
+ */
69
+
70
+ /**
71
+ * @since 1.0.0
72
+ * @category constructors
73
+ */
74
+ const raw = raw$1;
75
+
76
+ /**
77
+ * @since 1.0.0
78
+ * @category models
79
+ */
80
+
81
+ /**
82
+ * @since 1.0.0
83
+ * @category constructors
84
+ */
85
+ const uint8Array = uint8Array$1;
86
+
87
+ /**
88
+ * @since 1.0.0
89
+ * @category constructors
90
+ */
91
+ const text = text$1;
92
+
93
+ /**
94
+ * @since 1.0.0
95
+ * @category constructors
96
+ */
97
+ const unsafeJson = unsafeJson$1;
98
+
99
+ /**
100
+ * @since 1.0.0
101
+ * @category constructors
102
+ */
103
+ const json = json$1;
104
+
105
+ /**
106
+ * @since 1.0.0
107
+ * @category constructors
108
+ */
109
+ const jsonSchema = jsonSchema$1;
110
+
111
+ /**
112
+ * @since 1.0.0
113
+ * @category models
114
+ */
115
+
116
+ /**
117
+ * @since 1.0.0
118
+ * @category constructors
119
+ */
120
+ const formData = formData$1;
121
+
122
+ /**
123
+ * @since 1.0.0
124
+ * @category models
125
+ */
126
+
127
+ /**
128
+ * @since 1.0.0
129
+ * @category constructors
130
+ */
131
+ const stream = stream$1;
132
+
133
+ /**
134
+ * @since 1.0.0
135
+ * @category constructors
136
+ */
137
+ const file = file$1;
138
+
139
+ /**
140
+ * @since 1.0.0
141
+ * @category constructors
142
+ */
143
+ const fileInfo = fileInfo$1;
144
+
145
+ /**
146
+ * @since 1.0.0
147
+ * @category constructors
148
+ */
149
+ const fileWeb = fileWeb$1;
150
+
151
+ var Body = /*#__PURE__*/Object.freeze({
152
+ __proto__: null,
153
+ TypeId: TypeId,
154
+ ErrorTypeId: ErrorTypeId,
155
+ BodyError: BodyError,
156
+ empty: empty,
157
+ raw: raw,
158
+ uint8Array: uint8Array,
159
+ text: text,
160
+ unsafeJson: unsafeJson,
161
+ json: json,
162
+ jsonSchema: jsonSchema,
163
+ formData: formData,
164
+ stream: stream,
165
+ file: file,
166
+ fileInfo: fileInfo,
167
+ fileWeb: fileWeb
168
+ });
169
+
170
+ export { Body as B, ErrorTypeId as E, TypeId as T, BodyError as a, unsafeJson as b, jsonSchema as c, file as d, empty as e, formData as f, fileInfo as g, fileWeb as h, json as j, raw as r, stream as s, text as t, uint8Array as u };
@@ -14,7 +14,7 @@ var Http_UrlParams_dist_effectPlatformHttpUrlParams = require('./UrlParams-5e091
14
14
  var body = require('./body-c7d7a944.cjs.dev.js');
15
15
  var clientError = require('./clientError-52d24cd8.cjs.dev.js');
16
16
  var clientRequest = require('./clientRequest-423fd562.cjs.dev.js');
17
- var clientResponse = require('./clientResponse-c58a116c.cjs.dev.js');
17
+ var clientResponse = require('./clientResponse-79c84a64.cjs.dev.js');
18
18
 
19
19
  function _interopNamespace(e) {
20
20
  if (e && e.__esModule) return e;