@effect/platform-bun 0.1.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.
Files changed (126) hide show
  1. package/BunContext.d.ts +15 -0
  2. package/BunContext.d.ts.map +1 -0
  3. package/BunContext.js +23 -0
  4. package/BunContext.js.map +1 -0
  5. package/Command.d.ts +111 -0
  6. package/Command.d.ts.map +1 -0
  7. package/Command.js +103 -0
  8. package/Command.js.map +1 -0
  9. package/CommandExecutor.d.ts +41 -0
  10. package/CommandExecutor.d.ts.map +1 -0
  11. package/CommandExecutor.js +19 -0
  12. package/CommandExecutor.js.map +1 -0
  13. package/Effectify.d.ts +19 -0
  14. package/Effectify.d.ts.map +1 -0
  15. package/Effectify.js +13 -0
  16. package/Effectify.js.map +1 -0
  17. package/Error.d.ts +30 -0
  18. package/Error.d.ts.map +1 -0
  19. package/Error.js +25 -0
  20. package/Error.js.map +1 -0
  21. package/FileSystem.d.ts +71 -0
  22. package/FileSystem.d.ts.map +1 -0
  23. package/FileSystem.js +25 -0
  24. package/FileSystem.js.map +1 -0
  25. package/Http/Server.d.ts +34 -0
  26. package/Http/Server.d.ts.map +1 -0
  27. package/Http/Server.js +49 -0
  28. package/Http/Server.js.map +1 -0
  29. package/Http/ServerResponse.d.ts +23 -0
  30. package/Http/ServerResponse.d.ts.map +1 -0
  31. package/Http/ServerResponse.js +38 -0
  32. package/Http/ServerResponse.js.map +1 -0
  33. package/HttpClient.d.ts +61 -0
  34. package/HttpClient.d.ts.map +1 -0
  35. package/HttpClient.js +23 -0
  36. package/HttpClient.js.map +1 -0
  37. package/HttpServer.d.ts +101 -0
  38. package/HttpServer.d.ts.map +1 -0
  39. package/HttpServer.js +33 -0
  40. package/HttpServer.js.map +1 -0
  41. package/KeyValueStore.d.ts +13 -0
  42. package/KeyValueStore.d.ts.map +1 -0
  43. package/KeyValueStore.js +28 -0
  44. package/KeyValueStore.js.map +1 -0
  45. package/LICENSE +21 -0
  46. package/Path.d.ts +25 -0
  47. package/Path.d.ts.map +1 -0
  48. package/Path.js +31 -0
  49. package/Path.js.map +1 -0
  50. package/README.md +3 -0
  51. package/Runtime.d.ts +26 -0
  52. package/Runtime.d.ts.map +1 -0
  53. package/Runtime.js +19 -0
  54. package/Runtime.js.map +1 -0
  55. package/Sink.d.ts +16 -0
  56. package/Sink.d.ts.map +1 -0
  57. package/Sink.js +13 -0
  58. package/Sink.js.map +1 -0
  59. package/Stream.d.ts +26 -0
  60. package/Stream.d.ts.map +1 -0
  61. package/Stream.js +25 -0
  62. package/Stream.js.map +1 -0
  63. package/internal/http/server.d.ts +2 -0
  64. package/internal/http/server.d.ts.map +1 -0
  65. package/internal/http/server.js +203 -0
  66. package/internal/http/server.js.map +1 -0
  67. package/internal/http/serverResponse.d.ts +2 -0
  68. package/internal/http/serverResponse.d.ts.map +1 -0
  69. package/internal/http/serverResponse.js +52 -0
  70. package/internal/http/serverResponse.js.map +1 -0
  71. package/mjs/BunContext.mjs +14 -0
  72. package/mjs/BunContext.mjs.map +1 -0
  73. package/mjs/Command.mjs +85 -0
  74. package/mjs/Command.mjs.map +1 -0
  75. package/mjs/CommandExecutor.mjs +15 -0
  76. package/mjs/CommandExecutor.mjs.map +1 -0
  77. package/mjs/Effectify.mjs +10 -0
  78. package/mjs/Effectify.mjs.map +1 -0
  79. package/mjs/Error.mjs +20 -0
  80. package/mjs/Error.mjs.map +1 -0
  81. package/mjs/FileSystem.mjs +20 -0
  82. package/mjs/FileSystem.mjs.map +1 -0
  83. package/mjs/Http/Server.mjs +21 -0
  84. package/mjs/Http/Server.mjs.map +1 -0
  85. package/mjs/Http/ServerResponse.mjs +13 -0
  86. package/mjs/Http/ServerResponse.mjs.map +1 -0
  87. package/mjs/HttpClient.mjs +61 -0
  88. package/mjs/HttpClient.mjs.map +1 -0
  89. package/mjs/HttpServer.mjs +101 -0
  90. package/mjs/HttpServer.mjs.map +1 -0
  91. package/mjs/KeyValueStore.mjs +13 -0
  92. package/mjs/KeyValueStore.mjs.map +1 -0
  93. package/mjs/Path.mjs +25 -0
  94. package/mjs/Path.mjs.map +1 -0
  95. package/mjs/Runtime.mjs +15 -0
  96. package/mjs/Runtime.mjs.map +1 -0
  97. package/mjs/Sink.mjs +10 -0
  98. package/mjs/Sink.mjs.map +1 -0
  99. package/mjs/Stream.mjs +20 -0
  100. package/mjs/Stream.mjs.map +1 -0
  101. package/mjs/internal/http/server.mjs +192 -0
  102. package/mjs/internal/http/server.mjs.map +1 -0
  103. package/mjs/internal/http/serverResponse.mjs +42 -0
  104. package/mjs/internal/http/serverResponse.mjs.map +1 -0
  105. package/package.json +33 -0
  106. package/src/BunContext.ts +24 -0
  107. package/src/Command.ts +114 -0
  108. package/src/CommandExecutor.ts +44 -0
  109. package/src/Effectify.ts +22 -0
  110. package/src/Error.ts +31 -0
  111. package/src/FileSystem.ts +74 -0
  112. package/src/Http/Server.ts +43 -0
  113. package/src/Http/ServerResponse.ts +33 -0
  114. package/src/HttpClient.ts +62 -0
  115. package/src/HttpServer.ts +102 -0
  116. package/src/KeyValueStore.ts +15 -0
  117. package/src/Path.ts +26 -0
  118. package/src/Runtime.ts +29 -0
  119. package/src/Sink.ts +19 -0
  120. package/src/Stream.ts +29 -0
  121. package/src/internal/http/server.ts +263 -0
  122. package/src/internal/http/serverResponse.ts +52 -0
  123. package/tsconfig.build.json +12 -0
  124. package/tsconfig.examples.json +12 -0
  125. package/tsconfig.json +11 -0
  126. package/tsconfig.test.json +17 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ServerResponse.d.ts","sourceRoot":"","sources":["../src/Http/ServerResponse.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,KAAK,MAAM,MAAM,mBAAmB,CAAA;AAEhD,OAAO,KAAK,KAAK,aAAa,MAAM,wBAAwB,CAAA;AAC5D,OAAO,KAAK,KAAK,UAAU,MAAM,6BAA6B,CAAA;AAC9D,OAAO,KAAK,KAAK,IAAI,MAAM,4BAA4B,CAAA;AACvD,OAAO,KAAK,KAAK,IAAI,MAAM,4BAA4B,CAAA;AACvD,OAAO,KAAK,KAAK,cAAc,MAAM,sCAAsC,CAAA;AAE3E,cAAc,sCAAsC,CAAA;AAEpD;;;GAGG;AACH,eAAO,MAAM,IAAI,EAAE,CACjB,IAAI,EAAE,MAAM,EACZ,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,eAAe,GAAG,UAAU,CAAC,aAAa,KACxE,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,SAAS,EAAE,aAAa,CAAC,aAAa,EAAE,cAAc,CAAC,cAAc,CACtG,CAAA;AAEf;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,CACpB,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,QAAQ,EACxB,OAAO,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,WAAW,KACzC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE,cAAc,CAAC,cAAc,CAAoB,CAAA"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _exportNames = {
7
+ file: true,
8
+ fileWeb: true
9
+ };
10
+ exports.fileWeb = exports.file = void 0;
11
+ var internal = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-bun/internal/http/serverResponse"));
12
+ var _ServerResponse = /*#__PURE__*/require("@effect/platform/Http/ServerResponse");
13
+ Object.keys(_ServerResponse).forEach(function (key) {
14
+ if (key === "default" || key === "__esModule") return;
15
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
16
+ if (key in exports && exports[key] === _ServerResponse[key]) return;
17
+ Object.defineProperty(exports, key, {
18
+ enumerable: true,
19
+ get: function () {
20
+ return _ServerResponse[key];
21
+ }
22
+ });
23
+ });
24
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
25
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
26
+ /**
27
+ * @since 1.0.0
28
+ * @category constructors
29
+ */
30
+ const file = internal.file;
31
+ /**
32
+ * @since 1.0.0
33
+ * @category constructors
34
+ */
35
+ exports.file = file;
36
+ const fileWeb = internal.fileWeb;
37
+ exports.fileWeb = fileWeb;
38
+ //# sourceMappingURL=ServerResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ServerResponse.js","names":["internal","_interopRequireWildcard","require","_ServerResponse","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","newObj","hasPropertyDescriptor","getOwnPropertyDescriptor","desc","set","file","fileWeb"],"sources":["../src/Http/ServerResponse.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;AAMA,IAAAA,QAAA,gBAAAC,uBAAA,eAAAC,OAAA;AAOA,IAAAC,eAAA,gBAAAD,OAAA;AAAAE,MAAA,CAAAC,IAAA,CAAAF,eAAA,EAAAG,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAJ,eAAA,CAAAI,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAZ,eAAA,CAAAI,GAAA;IAAA;EAAA;AAAA;AAAoD,SAAAS,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAhB,wBAAAoB,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAT,GAAA,CAAAM,GAAA,SAAAK,MAAA,WAAAC,qBAAA,GAAAvB,MAAA,CAAAS,cAAA,IAAAT,MAAA,CAAAwB,wBAAA,WAAArB,GAAA,IAAAc,GAAA,QAAAd,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAW,GAAA,EAAAd,GAAA,SAAAsB,IAAA,GAAAF,qBAAA,GAAAvB,MAAA,CAAAwB,wBAAA,CAAAP,GAAA,EAAAd,GAAA,cAAAsB,IAAA,KAAAA,IAAA,CAAAd,GAAA,IAAAc,IAAA,CAAAC,GAAA,KAAA1B,MAAA,CAAAS,cAAA,CAAAa,MAAA,EAAAnB,GAAA,EAAAsB,IAAA,YAAAH,MAAA,CAAAnB,GAAA,IAAAc,GAAA,CAAAd,GAAA,SAAAmB,MAAA,CAAAH,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAM,GAAA,CAAAT,GAAA,EAAAK,MAAA,YAAAA,MAAA;AAEpD;;;;AAIO,MAAMK,IAAI,GAIf/B,QAAQ,CAAC+B,IAAI;AAEf;;;;AAAAnB,OAAA,CAAAmB,IAAA,GAAAA,IAAA;AAIO,MAAMC,OAAO,GAGuDhC,QAAQ,CAACgC,OAAO;AAAApB,OAAA,CAAAoB,OAAA,GAAAA,OAAA"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import * as body from "@effect/platform/Http/Body";
5
+ import * as client from "@effect/platform/Http/Client";
6
+ import * as error from "@effect/platform/Http/ClientError";
7
+ import * as request from "@effect/platform/Http/ClientRequest";
8
+ import * as response from "@effect/platform/Http/ClientResponse";
9
+ import * as headers from "@effect/platform/Http/Headers";
10
+ import * as urlParams from "@effect/platform/Http/UrlParams";
11
+ export {
12
+ /**
13
+ * @since 1.0.0
14
+ *
15
+ * - Docs: [Http/Body](https://effect-ts.github.io/platform/platform/Http/Body.ts.html)
16
+ * - Module: `@effect/platform/Http/Body`
17
+ */
18
+ body,
19
+ /**
20
+ * @since 1.0.0
21
+ *
22
+ * - Docs: [Http/Client](https://effect-ts.github.io/platform/platform/Http/Client.ts.html)
23
+ * - Module: `@effect/platform/Http/Client`
24
+ */
25
+ client,
26
+ /**
27
+ * @since 1.0.0
28
+ *
29
+ * - Docs: [Http/ClientError](https://effect-ts.github.io/platform/platform/Http/ClientError.ts.html)
30
+ * - Module: `@effect/platform/Http/ClientError`
31
+ */
32
+ error,
33
+ /**
34
+ * @since 1.0.0
35
+ *
36
+ * - Docs: [Http/Headers](https://effect-ts.github.io/platform/platform/Http/Headers.ts.html)
37
+ * - Module: `@effect/platform/Http/Headers`
38
+ */
39
+ headers,
40
+ /**
41
+ * @since 1.0.0
42
+ *
43
+ * - Docs: [Http/ClientRequest](https://effect-ts.github.io/platform/platform/Http/ClientRequest.ts.html)
44
+ * - Module: `@effect/platform/Http/ClientRequest`
45
+ */
46
+ request,
47
+ /**
48
+ * @since 1.0.0
49
+ *
50
+ * - Docs: [Http/ClientResponse](https://effect-ts.github.io/platform/platform/Http/ClientResponse.ts.html)
51
+ * - Module: `@effect/platform/Http/ClientResponse`
52
+ */
53
+ response,
54
+ /**
55
+ * @since 1.0.0
56
+ *
57
+ * - Docs: [Http/UrlParams](https://effect-ts.github.io/platform/platform/Http/UrlParams.ts.html)
58
+ * - Module: `@effect/platform/Http/UrlParams`
59
+ */
60
+ urlParams };
61
+ //# sourceMappingURL=HttpClient.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpClient.d.ts","sourceRoot":"","sources":["./src/HttpClient.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,IAAI,MAAM,4BAA4B,CAAA;AAClD,OAAO,KAAK,MAAM,MAAM,8BAA8B,CAAA;AACtD,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAA;AAC1D,OAAO,KAAK,OAAO,MAAM,qCAAqC,CAAA;AAC9D,OAAO,KAAK,QAAQ,MAAM,sCAAsC,CAAA;AAChE,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAA;AACxD,OAAO,KAAK,SAAS,MAAM,iCAAiC,CAAA;AAE5D,OAAO;AACL;;;;;GAKG;AACH,IAAI;AACJ;;;;;GAKG;AACH,MAAM;AACN;;;;;GAKG;AACH,KAAK;AACL;;;;;GAKG;AACH,OAAO;AACP;;;;;GAKG;AACH,OAAO;AACP;;;;;GAKG;AACH,QAAQ;AACR;;;;;GAKG;AACH,SAAS,EACV,CAAA"}
package/HttpClient.js ADDED
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.urlParams = exports.response = exports.request = exports.headers = exports.error = exports.client = exports.body = void 0;
7
+ var body = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/Body"));
8
+ exports.body = body;
9
+ var client = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/Client"));
10
+ exports.client = client;
11
+ var error = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/ClientError"));
12
+ exports.error = error;
13
+ var request = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/ClientRequest"));
14
+ exports.request = request;
15
+ var response = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/ClientResponse"));
16
+ exports.response = response;
17
+ var headers = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/Headers"));
18
+ exports.headers = headers;
19
+ var urlParams = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/UrlParams"));
20
+ exports.urlParams = urlParams;
21
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
22
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
23
+ //# sourceMappingURL=HttpClient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpClient.js","names":["body","_interopRequireWildcard","require","exports","client","error","request","response","headers","urlParams","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set"],"sources":["./src/HttpClient.ts"],"sourcesContent":[null],"mappings":";;;;;;AAGA,IAAAA,IAAA,gBAAAC,uBAAA,eAAAC,OAAA;AAAkDC,OAAA,CAAAH,IAAA,GAAAA,IAAA;AAClD,IAAAI,MAAA,gBAAAH,uBAAA,eAAAC,OAAA;AAAsDC,OAAA,CAAAC,MAAA,GAAAA,MAAA;AACtD,IAAAC,KAAA,gBAAAJ,uBAAA,eAAAC,OAAA;AAA0DC,OAAA,CAAAE,KAAA,GAAAA,KAAA;AAC1D,IAAAC,OAAA,gBAAAL,uBAAA,eAAAC,OAAA;AAA8DC,OAAA,CAAAG,OAAA,GAAAA,OAAA;AAC9D,IAAAC,QAAA,gBAAAN,uBAAA,eAAAC,OAAA;AAAgEC,OAAA,CAAAI,QAAA,GAAAA,QAAA;AAChE,IAAAC,OAAA,gBAAAP,uBAAA,eAAAC,OAAA;AAAwDC,OAAA,CAAAK,OAAA,GAAAA,OAAA;AACxD,IAAAC,SAAA,gBAAAR,uBAAA,eAAAC,OAAA;AAA4DC,OAAA,CAAAM,SAAA,GAAAA,SAAA;AAAA,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAV,wBAAAc,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA"}
@@ -0,0 +1,101 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import * as server from "@effect/platform-bun/Http/Server";
5
+ import * as response from "@effect/platform-bun/Http/ServerResponse";
6
+ import * as etag from "@effect/platform-node/Http/Etag";
7
+ import * as formData from "@effect/platform-node/Http/FormData";
8
+ import * as app from "@effect/platform/Http/App";
9
+ import * as body from "@effect/platform/Http/Body";
10
+ import * as headers from "@effect/platform/Http/Headers";
11
+ import * as middleware from "@effect/platform/Http/Middleware";
12
+ import * as router from "@effect/platform/Http/Router";
13
+ import * as error from "@effect/platform/Http/ServerError";
14
+ import * as request from "@effect/platform/Http/ServerRequest";
15
+ import * as urlParams from "@effect/platform/Http/UrlParams";
16
+ export {
17
+ /**
18
+ * @since 1.0.0
19
+ *
20
+ * - Docs: [Http/App](https://effect-ts.github.io/platform/platform/Http/App.ts.html)
21
+ * - Module: `@effect/platform/Http/App`
22
+ */
23
+ app,
24
+ /**
25
+ * @since 1.0.0
26
+ *
27
+ * - Docs: [Http/Body](https://effect-ts.github.io/platform/platform/Http/Body.ts.html)
28
+ * - Module: `@effect/platform/Http/Body`
29
+ */
30
+ body,
31
+ /**
32
+ * @since 1.0.0
33
+ *
34
+ * - Docs: [Http/ServerError](https://effect-ts.github.io/platform/platform/Http/ServerError.ts.html)
35
+ * - Module: `@effect/platform/Http/ServerError`
36
+ */
37
+ error,
38
+ /**
39
+ * @since 1.0.0
40
+ *
41
+ * - Docs: [Http/Etag](https://effect-ts.github.io/platform/platform-node/Http/Etag.ts.html)
42
+ * - Module: `@effect/platform-node/Http/Etag`
43
+ */
44
+ etag,
45
+ /**
46
+ * @since 1.0.0
47
+ *
48
+ * - Docs: [Http/FormData](https://effect-ts.github.io/platform/platform-node/Http/FormData.ts.html)
49
+ * - Module: `@effect/platform-node/Http/FormData`
50
+ */
51
+ formData,
52
+ /**
53
+ * @since 1.0.0
54
+ *
55
+ * - Docs: [Http/Headers](https://effect-ts.github.io/platform/platform/Http/Headers.ts.html)
56
+ * - Module: `@effect/platform/Http/Headers`
57
+ */
58
+ headers,
59
+ /**
60
+ * @since 1.0.0
61
+ *
62
+ * - Docs: [Http/Middleware](https://effect-ts.github.io/platform/platform/Http/Middleware.ts.html)
63
+ * - Module: `@effect/platform/Http/Middleware`
64
+ */
65
+ middleware,
66
+ /**
67
+ * @since 1.0.0
68
+ *
69
+ * - Docs: [Http/ServerRequest](https://effect-ts.github.io/platform/platform/Http/ServerRequest.ts.html)
70
+ * - Module: `@effect/platform/Http/ServerRequest`
71
+ */
72
+ request,
73
+ /**
74
+ * @since 1.0.0
75
+ *
76
+ * - Docs: [Http/ServerResponse](https://effect-ts.github.io/platform/platform-bun/Http/ServerResponse.ts.html)
77
+ * - Module: `@effect/platform-bun/Http/ServerResponse`
78
+ */
79
+ response,
80
+ /**
81
+ * @since 1.0.0
82
+ *
83
+ * - Docs: [Http/Router](https://effect-ts.github.io/platform/platform/Http/Router.ts.html)
84
+ * - Module: `@effect/platform/Http/Router`
85
+ */
86
+ router,
87
+ /**
88
+ * @since 1.0.0
89
+ *
90
+ * - Docs: [Http/Router](https://effect-ts.github.io/platform/platform-bun/Http/Server.ts.html)
91
+ * - Module: `@effect/platform-bun/Http/Server`
92
+ */
93
+ server,
94
+ /**
95
+ * @since 1.0.0
96
+ *
97
+ * - Docs: [Http/UrlParams](https://effect-ts.github.io/platform/platform/Http/UrlParams.ts.html)
98
+ * - Module: `@effect/platform/Http/UrlParams`
99
+ */
100
+ urlParams };
101
+ //# sourceMappingURL=HttpServer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpServer.d.ts","sourceRoot":"","sources":["./src/HttpServer.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,MAAM,MAAM,kCAAkC,CAAA;AAC1D,OAAO,KAAK,QAAQ,MAAM,0CAA0C,CAAA;AACpE,OAAO,KAAK,IAAI,MAAM,iCAAiC,CAAA;AACvD,OAAO,KAAK,QAAQ,MAAM,qCAAqC,CAAA;AAC/D,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,OAAO,MAAM,qCAAqC,CAAA;AAC9D,OAAO,KAAK,SAAS,MAAM,iCAAiC,CAAA;AAE5D,OAAO;AACL;;;;;GAKG;AACH,GAAG;AACH;;;;;GAKG;AACH,IAAI;AACJ;;;;;GAKG;AACH,KAAK;AACL;;;;;GAKG;AACH,IAAI;AACJ;;;;;GAKG;AACH,QAAQ;AACR;;;;;GAKG;AACH,OAAO;AACP;;;;;GAKG;AACH,UAAU;AACV;;;;;GAKG;AACH,OAAO;AACP;;;;;GAKG;AACH,QAAQ;AACR;;;;;GAKG;AACH,MAAM;AACN;;;;;GAKG;AACH,MAAM;AACN;;;;;GAKG;AACH,SAAS,EACV,CAAA"}
package/HttpServer.js ADDED
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.urlParams = exports.server = exports.router = exports.response = exports.request = exports.middleware = exports.headers = exports.formData = exports.etag = exports.error = exports.body = exports.app = void 0;
7
+ var server = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-bun/Http/Server"));
8
+ exports.server = server;
9
+ var response = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-bun/Http/ServerResponse"));
10
+ exports.response = response;
11
+ var etag = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/Http/Etag"));
12
+ exports.etag = etag;
13
+ var formData = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/Http/FormData"));
14
+ exports.formData = formData;
15
+ var app = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/App"));
16
+ exports.app = app;
17
+ var body = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/Body"));
18
+ exports.body = body;
19
+ var headers = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/Headers"));
20
+ exports.headers = headers;
21
+ var middleware = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/Middleware"));
22
+ exports.middleware = middleware;
23
+ var router = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/Router"));
24
+ exports.router = router;
25
+ var error = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/ServerError"));
26
+ exports.error = error;
27
+ var request = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/ServerRequest"));
28
+ exports.request = request;
29
+ var urlParams = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform/Http/UrlParams"));
30
+ exports.urlParams = urlParams;
31
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
32
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
33
+ //# sourceMappingURL=HttpServer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpServer.js","names":["server","_interopRequireWildcard","require","exports","response","etag","formData","app","body","headers","middleware","router","error","request","urlParams","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set"],"sources":["./src/HttpServer.ts"],"sourcesContent":[null],"mappings":";;;;;;AAGA,IAAAA,MAAA,gBAAAC,uBAAA,eAAAC,OAAA;AAA0DC,OAAA,CAAAH,MAAA,GAAAA,MAAA;AAC1D,IAAAI,QAAA,gBAAAH,uBAAA,eAAAC,OAAA;AAAoEC,OAAA,CAAAC,QAAA,GAAAA,QAAA;AACpE,IAAAC,IAAA,gBAAAJ,uBAAA,eAAAC,OAAA;AAAuDC,OAAA,CAAAE,IAAA,GAAAA,IAAA;AACvD,IAAAC,QAAA,gBAAAL,uBAAA,eAAAC,OAAA;AAA+DC,OAAA,CAAAG,QAAA,GAAAA,QAAA;AAC/D,IAAAC,GAAA,gBAAAN,uBAAA,eAAAC,OAAA;AAAgDC,OAAA,CAAAI,GAAA,GAAAA,GAAA;AAChD,IAAAC,IAAA,gBAAAP,uBAAA,eAAAC,OAAA;AAAkDC,OAAA,CAAAK,IAAA,GAAAA,IAAA;AAClD,IAAAC,OAAA,gBAAAR,uBAAA,eAAAC,OAAA;AAAwDC,OAAA,CAAAM,OAAA,GAAAA,OAAA;AACxD,IAAAC,UAAA,gBAAAT,uBAAA,eAAAC,OAAA;AAA8DC,OAAA,CAAAO,UAAA,GAAAA,UAAA;AAC9D,IAAAC,MAAA,gBAAAV,uBAAA,eAAAC,OAAA;AAAsDC,OAAA,CAAAQ,MAAA,GAAAA,MAAA;AACtD,IAAAC,KAAA,gBAAAX,uBAAA,eAAAC,OAAA;AAA0DC,OAAA,CAAAS,KAAA,GAAAA,KAAA;AAC1D,IAAAC,OAAA,gBAAAZ,uBAAA,eAAAC,OAAA;AAA8DC,OAAA,CAAAU,OAAA,GAAAA,OAAA;AAC9D,IAAAC,SAAA,gBAAAb,uBAAA,eAAAC,OAAA;AAA4DC,OAAA,CAAAW,SAAA,GAAAA,SAAA;AAAA,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAf,wBAAAmB,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @since 1.0.0
3
+ *
4
+ * Also includes exports from [`@effect/platform/KeyValueStore`](https://effect-ts.github.io/platform/platform/KeyValueStore.ts.html).
5
+ */
6
+ export * from "@effect/platform/KeyValueStore";
7
+ export {
8
+ /**
9
+ * @since 1.0.0
10
+ * @category layers
11
+ */
12
+ layerFileSystem } from "@effect/platform-node/KeyValueStore";
13
+ //# sourceMappingURL=KeyValueStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyValueStore.d.ts","sourceRoot":"","sources":["./src/KeyValueStore.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,gCAAgC,CAAA;AAE9C,OAAO;AACL;;;GAGG;AACH,eAAe,EAChB,MAAM,qCAAqC,CAAA"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _exportNames = {
7
+ layerFileSystem: true
8
+ };
9
+ Object.defineProperty(exports, "layerFileSystem", {
10
+ enumerable: true,
11
+ get: function () {
12
+ return _KeyValueStore2.layerFileSystem;
13
+ }
14
+ });
15
+ var _KeyValueStore = /*#__PURE__*/require("@effect/platform/KeyValueStore");
16
+ Object.keys(_KeyValueStore).forEach(function (key) {
17
+ if (key === "default" || key === "__esModule") return;
18
+ if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
19
+ if (key in exports && exports[key] === _KeyValueStore[key]) return;
20
+ Object.defineProperty(exports, key, {
21
+ enumerable: true,
22
+ get: function () {
23
+ return _KeyValueStore[key];
24
+ }
25
+ });
26
+ });
27
+ var _KeyValueStore2 = /*#__PURE__*/require("@effect/platform-node/KeyValueStore");
28
+ //# sourceMappingURL=KeyValueStore.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyValueStore.js","names":["_KeyValueStore","require","Object","keys","forEach","key","prototype","hasOwnProperty","call","_exportNames","exports","defineProperty","enumerable","get","_KeyValueStore2"],"sources":["./src/KeyValueStore.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;AAMA,IAAAA,cAAA,gBAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,cAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;EAAA,IAAAA,GAAA,IAAAK,OAAA,IAAAA,OAAA,CAAAL,GAAA,MAAAL,cAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAS,cAAA,CAAAD,OAAA,EAAAL,GAAA;IAAAO,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAb,cAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AAEA,IAAAS,eAAA,gBAAAb,OAAA"}
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023-present The Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/Path.d.ts ADDED
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ export {
5
+ /**
6
+ * @since 1.0.0
7
+ * @category layer
8
+ */
9
+ layer,
10
+ /**
11
+ * @since 1.0.0
12
+ * @category layer
13
+ */
14
+ layerPosix,
15
+ /**
16
+ * @since 1.0.0
17
+ * @category layer
18
+ */
19
+ layerWin32,
20
+ /**
21
+ * @since 1.0.0
22
+ * @category tag
23
+ */
24
+ Path } from "@effect/platform-node/Path";
25
+ //# sourceMappingURL=Path.d.ts.map
package/Path.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Path.d.ts","sourceRoot":"","sources":["./src/Path.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO;AACL;;;GAGG;AACH,KAAK;AACL;;;GAGG;AACH,UAAU;AACV;;;GAGG;AACH,UAAU;AACV;;;GAGG;AACH,IAAI,EACL,MAAM,4BAA4B,CAAA"}
package/Path.js ADDED
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Path", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Path.Path;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "layer", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _Path.layer;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "layerPosix", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _Path.layerPosix;
22
+ }
23
+ });
24
+ Object.defineProperty(exports, "layerWin32", {
25
+ enumerable: true,
26
+ get: function () {
27
+ return _Path.layerWin32;
28
+ }
29
+ });
30
+ var _Path = /*#__PURE__*/require("@effect/platform-node/Path");
31
+ //# sourceMappingURL=Path.js.map
package/Path.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Path.js","names":["_Path","require"],"sources":["./src/Path.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,IAAAA,KAAA,gBAAAC,OAAA"}
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ WIP.
2
+
3
+ Docs: https://effect-ts.github.io/platform
package/Runtime.d.ts ADDED
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ export type {
5
+ /**
6
+ * @category model
7
+ * @since 1.0.0
8
+ */
9
+ RunMain,
10
+ /**
11
+ * @category model
12
+ * @since 1.0.0
13
+ */
14
+ Teardown } from "@effect/platform/Runtime";
15
+ export {
16
+ /**
17
+ * @category teardown
18
+ * @since 1.0.0
19
+ */
20
+ defaultTeardown,
21
+ /**
22
+ * @since 1.0.0
23
+ * @category runtime
24
+ */
25
+ runMain } from "@effect/platform-node/Runtime";
26
+ //# sourceMappingURL=Runtime.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Runtime.d.ts","sourceRoot":"","sources":["./src/Runtime.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY;AACV;;;GAGG;AACH,OAAO;AACP;;;GAGG;AACH,QAAQ,EACT,MAAM,0BAA0B,CAAA;AAEjC,OAAO;AACL;;;GAGG;AACH,eAAe;AACf;;;GAGG;AACH,OAAO,EACR,MAAM,+BAA+B,CAAA"}
package/Runtime.js ADDED
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "defaultTeardown", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Runtime.defaultTeardown;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "runMain", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _Runtime.runMain;
16
+ }
17
+ });
18
+ var _Runtime = /*#__PURE__*/require("@effect/platform-node/Runtime");
19
+ //# sourceMappingURL=Runtime.js.map
package/Runtime.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Runtime.js","names":["_Runtime","require"],"sources":["./src/Runtime.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;AAiBA,IAAAA,QAAA,gBAAAC,OAAA"}
package/Sink.d.ts ADDED
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ export type {
5
+ /**
6
+ * @category model
7
+ * @since 1.0.0
8
+ */
9
+ FromWritableOptions } from "@effect/platform-node/Sink";
10
+ export {
11
+ /**
12
+ * @category constructor
13
+ * @since 1.0.0
14
+ */
15
+ fromWritable } from "@effect/platform-node/Sink";
16
+ //# sourceMappingURL=Sink.d.ts.map
package/Sink.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sink.d.ts","sourceRoot":"","sources":["./src/Sink.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY;AACV;;;GAGG;AACH,mBAAmB,EACpB,MAAM,4BAA4B,CAAA;AAEnC,OAAO;AACL;;;GAGG;AACH,YAAY,EACb,MAAM,4BAA4B,CAAA"}
package/Sink.js ADDED
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "fromWritable", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Sink.fromWritable;
10
+ }
11
+ });
12
+ var _Sink = /*#__PURE__*/require("@effect/platform-node/Sink");
13
+ //# sourceMappingURL=Sink.js.map
package/Sink.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Sink.js","names":["_Sink","require"],"sources":["./src/Sink.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;AAYA,IAAAA,KAAA,gBAAAC,OAAA"}
package/Stream.d.ts ADDED
@@ -0,0 +1,26 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ export type {
5
+ /**
6
+ * @category models
7
+ * @since 1.0.0
8
+ */
9
+ FromReadableOptions } from "@effect/platform-node/Stream";
10
+ export {
11
+ /**
12
+ * @category constructors
13
+ * @since 1.0.0
14
+ */
15
+ fromReadable,
16
+ /**
17
+ * @since 1.0.0
18
+ * @category conversions
19
+ */
20
+ toString,
21
+ /**
22
+ * @since 1.0.0
23
+ * @category conversions
24
+ */
25
+ toUint8Array } from "@effect/platform-node/Stream";
26
+ //# sourceMappingURL=Stream.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Stream.d.ts","sourceRoot":"","sources":["./src/Stream.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY;AACV;;;GAGG;AACH,mBAAmB,EACpB,MAAM,8BAA8B,CAAA;AAErC,OAAO;AACL;;;GAGG;AACH,YAAY;AACZ;;;GAGG;AACH,QAAQ;AACR;;;GAGG;AACH,YAAY,EACb,MAAM,8BAA8B,CAAA"}
package/Stream.js ADDED
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "fromReadable", {
7
+ enumerable: true,
8
+ get: function () {
9
+ return _Stream.fromReadable;
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "toString", {
13
+ enumerable: true,
14
+ get: function () {
15
+ return _Stream.toString;
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "toUint8Array", {
19
+ enumerable: true,
20
+ get: function () {
21
+ return _Stream.toUint8Array;
22
+ }
23
+ });
24
+ var _Stream = /*#__PURE__*/require("@effect/platform-node/Stream");
25
+ //# sourceMappingURL=Stream.js.map
package/Stream.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Stream.js","names":["_Stream","require"],"sources":["./src/Stream.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAYA,IAAAA,OAAA,gBAAAC,OAAA"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"server.d.ts","sourceRoot":"","sources":["../../src/internal/http/server.ts"],"names":[],"mappings":""}