@cmmd-center/forge 0.9.5 → 0.9.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 (37) hide show
  1. package/dist/{BunHttpServer-BgNCpQzV.mjs → BunHttpServer-C_855q3m.mjs} +6 -6
  2. package/dist/{BunHttpServer-DOAuw4Iq.cjs → BunHttpServer-Dxx0kzQc.cjs} +6 -6
  3. package/dist/{BunPTY-D-Klry5N.mjs → BunPTY-B7ThejfA.mjs} +3 -3
  4. package/dist/{BunPTY-2icf7sRj.cjs → BunPTY-BjHFZATJ.cjs} +3 -3
  5. package/dist/{BunServices-ChM4mYH9.mjs → BunServices-BFygTrvx.mjs} +3 -3
  6. package/dist/{BunServices-CiNXNzHD.cjs → BunServices-U1VBnEJS.cjs} +3 -3
  7. package/dist/{Cache-XSj5g7uG.cjs → Cache-BRhFH80U.cjs} +3 -3
  8. package/dist/{Cache-Cm78WiyU.mjs → Cache-CHvh_vWI.mjs} +3 -3
  9. package/dist/{Config-DMA9WqtC.cjs → Config-BHRBB8XM.cjs} +2 -2
  10. package/dist/{Config-DrOyN3WS.mjs → Config-To1VEqlB.mjs} +2 -2
  11. package/dist/{HttpServer-aJkhz6yu.cjs → HttpServer-BTcgkY38.cjs} +123 -4
  12. package/dist/{HttpServer-ByyNdEXm.mjs → HttpServer-DV-x5DVo.mjs} +118 -4
  13. package/dist/{NodeHttpServer-D_ismXpd.cjs → NodeHttpServer-D6YVHsL8.cjs} +7 -7
  14. package/dist/{NodeHttpServer-C_wePPV0.mjs → NodeHttpServer-DgD75IAg.mjs} +7 -7
  15. package/dist/{NodePTY-cb7HIasY.cjs → NodePTY-Bd9mvI6U.cjs} +4 -4
  16. package/dist/{NodePTY-BMUFdM93.mjs → NodePTY-RnitYPTs.mjs} +4 -4
  17. package/dist/{NodeServices-BAl07hlH.cjs → NodeServices-BcQL_53W.cjs} +1 -1
  18. package/dist/{NodeServices-BISZRY3e.cjs → NodeServices-BjmXNhpe.cjs} +3 -3
  19. package/dist/{NodeServices-Bqqy4DuH.mjs → NodeServices-Da5rUDDE.mjs} +3 -3
  20. package/dist/{NodeSqliteClient-SsUCk9mA.cjs → NodeSqliteClient-CG_mPdVp.cjs} +6 -6
  21. package/dist/{NodeSqliteClient-OdI1TawL.mjs → NodeSqliteClient-CcLD4Zvr.mjs} +6 -6
  22. package/dist/{NodeTerminal-B9u7fFYa.cjs → NodeTerminal-D86oor5_.cjs} +3 -3
  23. package/dist/{NodeTerminal-_XekCzf-.mjs → NodeTerminal-Ke6chk0A.mjs} +3 -3
  24. package/dist/{PTY-U3JQnLXS.cjs → PTY-BB84iC10.cjs} +2 -2
  25. package/dist/{PTY-CBkE5akF.mjs → PTY-X-4Tv31s.mjs} +2 -2
  26. package/dist/{Path-Bwl3ltR5.mjs → Path-DJTwK58E.mjs} +2 -2
  27. package/dist/{Path-CsbBuCFB.cjs → Path-qpublmG3.cjs} +2 -2
  28. package/dist/{Schema-CTXk8IgN.mjs → Schema-CKuz8TX8.mjs} +61 -6
  29. package/dist/{Schema-Bij_WAra.cjs → Schema-DaFukK_y.cjs} +72 -5
  30. package/dist/{SqlError-C2mi8_tp.cjs → SqlError-CsWFS-OU.cjs} +3 -3
  31. package/dist/{SqlError-1c-3v7GY.mjs → SqlError-DhK0hV8S.mjs} +3 -3
  32. package/dist/{SqliteClient-CdAhI4lb.cjs → SqliteClient-BpjZWL6O.cjs} +5 -5
  33. package/dist/{SqliteClient-aoOb51gB.mjs → SqliteClient-CA7vjiUj.mjs} +5 -5
  34. package/dist/bin.cjs +261 -56
  35. package/dist/bin.mjs +284 -80
  36. package/dist/{open-FIgTDosf.mjs → open-D8mGyWmt.mjs} +3 -3
  37. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { $r as scope, Ba as _await, Da as addFinalizer, Ea as Scope, Ei as void_$1, Ic as getUnsafe, Ja as makeUnsafe$1, Jn as fiber, Jr as runForkWith, Js as seconds, Kn as fail, Mr as onExit, Oa as addFinalizerExit, On as cached, Qn as flatMap, Qr as runSync, Rc as makeUnsafe, Rr as promise, Sa as succeed$2, Sr as map, Ur as raceFirst, Va as doneUnsafe, Wc as fromNullishOr, Yl as flow, Za as fail$1, _i as tryPromise, ai as succeed, ba as provide, do as done, ei as scoped, fa as effect, gi as timeoutOrElse, io as void_, ja as forkUnsafe, ki as withFiber, kn as callback, li as sync, mr as isEffect, nr as fnUntraced, oc as isReadonlyArrayNonEmpty, ro as succeed$1, vi as try_, vl as Class, xa as provideMerge, ya as mergeAll } from "./Schema-CTXk8IgN.mjs";
4
- import { B as pipeThroughChannel, C as fromChannel, _t as fromTransform, qt as runIn, rt as unwrap, tt as toReadableStreamWith, v as fail$2, xt as makeUnsafe$2 } from "./Path-Bwl3ltR5.mjs";
5
- import { $ as raw, A as TypeId$2, At as toSetCookieHeaders, Bt as join, C as toPersisted, Ct as fromInput$1, D as SocketCloseError, E as Socket, F as HttpServerError, H as layer$3, Ht as runtime, I as RequestParseError, K as layer$2, N as isCloseEvent, O as SocketError, Ot as isEmpty, P as ClientAbort, Tt as fromInput, V as RequestInit, Vt as make$4, c as scopeTransferToStream, dt as TypeId$1, ft as inspect, h as TypeId, j as defaultCloseCodeIsError, kt as parseHeader, l as toHandled, n as layerTestClient, o as HttpPlatform, p as HttpServerRequest, q as layerWeak, r as make$3, s as make$2, t as HttpServer, x as makeChannel, y as MultipartError } from "./HttpServer-ByyNdEXm.mjs";
6
- import { h as unwrap$1 } from "./Config-DrOyN3WS.mjs";
7
- import { layer as layer$5, t as layer$4 } from "./BunServices-ChM4mYH9.mjs";
3
+ import { $a as fail$1, Aa as addFinalizerExit, An as cached, Bc as makeUnsafe, Br as promise, Ca as provideMerge, Gr as raceFirst, Ha as _await, Jn as fail, Kc as fromNullishOr, Na as forkUnsafe, Oa as Scope, Oi as void_$1, Pr as onExit, Rc as getUnsafe, Sa as provide, Ua as doneUnsafe, Xa as makeUnsafe$1, Xn as fiber, Xr as runForkWith, Xs as seconds, Zl as flow, ao as succeed$1, bi as try_, bl as Class, cc as isReadonlyArrayNonEmpty, di as sync, ei as runSync, er as flatMap, gr as isEffect, ir as fnUntraced, ji as withFiber, jn as callback, ka as addFinalizer, ma as effect, ni as scoped, oo as void_, po as done, si as succeed, ti as scope, vi as timeoutOrElse, wa as succeed$2, wr as map, xa as mergeAll, yi as tryPromise } from "./Schema-CKuz8TX8.mjs";
4
+ import { B as pipeThroughChannel, C as fromChannel, _t as fromTransform, qt as runIn, rt as unwrap, tt as toReadableStreamWith, v as fail$2, xt as makeUnsafe$2 } from "./Path-DJTwK58E.mjs";
5
+ import { At as parseHeader, D as Socket, Et as fromInput, F as ClientAbort, H as RequestInit, Ht as make$4, I as HttpServerError, J as layerWeak, L as RequestParseError, M as defaultCloseCodeIsError, O as SocketCloseError, P as isCloseEvent, S as makeChannel, U as layer$3, Ut as runtime, Vt as join, b as MultipartError, c as scopeTransferToStream, et as raw, ft as TypeId$1, h as TypeId, j as TypeId$2, jt as toSetCookieHeaders, k as SocketError, kt as isEmpty, l as toHandled, n as layerTestClient, o as HttpPlatform, p as HttpServerRequest, pt as inspect, q as layer$2, r as make$3, s as make$2, t as HttpServer, w as toPersisted, wt as fromInput$1 } from "./HttpServer-DV-x5DVo.mjs";
6
+ import { h as unwrap$1 } from "./Config-To1VEqlB.mjs";
7
+ import { layer as layer$5, t as layer$4 } from "./BunServices-BFygTrvx.mjs";
8
8
  //#region ../../node_modules/.bun/@effect+platform-bun@4.0.0-beta.45+4dcb167d4624bd06/node_modules/@effect/platform-bun/dist/BunHttpPlatform.js
9
9
  /**
10
10
  * @since 1.0.0
@@ -366,4 +366,4 @@ const removeHost = (url) => {
366
366
  //#endregion
367
367
  export { layer, layerConfig, layerHttpServices, layerServer, layerTest, make };
368
368
 
369
- //# sourceMappingURL=BunHttpServer-BgNCpQzV.mjs.map
369
+ //# sourceMappingURL=BunHttpServer-C_855q3m.mjs.map
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  require("./chunk-BhaIgcZK.cjs");
4
- const require_Schema = require("./Schema-Bij_WAra.cjs");
5
- const require_Path = require("./Path-CsbBuCFB.cjs");
6
- const require_HttpServer = require("./HttpServer-aJkhz6yu.cjs");
7
- const require_Config = require("./Config-DMA9WqtC.cjs");
8
- const require_BunServices = require("./BunServices-CiNXNzHD.cjs");
4
+ const require_Schema = require("./Schema-DaFukK_y.cjs");
5
+ const require_Path = require("./Path-qpublmG3.cjs");
6
+ const require_HttpServer = require("./HttpServer-BTcgkY38.cjs");
7
+ const require_Config = require("./Config-BHRBB8XM.cjs");
8
+ const require_BunServices = require("./BunServices-U1VBnEJS.cjs");
9
9
  //#region ../../node_modules/.bun/@effect+platform-bun@4.0.0-beta.45+4dcb167d4624bd06/node_modules/@effect/platform-bun/dist/BunHttpPlatform.js
10
10
  /**
11
11
  * @since 1.0.0
@@ -372,4 +372,4 @@ exports.layerServer = layerServer;
372
372
  exports.layerTest = layerTest;
373
373
  exports.make = make;
374
374
 
375
- //# sourceMappingURL=BunHttpServer-DOAuw4Iq.cjs.map
375
+ //# sourceMappingURL=BunHttpServer-Dxx0kzQc.cjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { Hn as die, fa as effect, lr as gen, vi as try_ } from "./Schema-CTXk8IgN.mjs";
4
- import { n as PtySpawnError, t as PtyAdapter } from "./PTY-CBkE5akF.mjs";
3
+ import { Wn as die, bi as try_, dr as gen, ma as effect } from "./Schema-CKuz8TX8.mjs";
4
+ import { n as PtySpawnError, t as PtyAdapter } from "./PTY-X-4Tv31s.mjs";
5
5
  //#region src/terminal/Layers/BunPTY.ts
6
6
  var BunPtyProcess = class {
7
7
  dataListeners = /* @__PURE__ */ new Set();
@@ -95,4 +95,4 @@ const layer = effect(PtyAdapter, gen(function* () {
95
95
  //#endregion
96
96
  export { layer };
97
97
 
98
- //# sourceMappingURL=BunPTY-D-Klry5N.mjs.map
98
+ //# sourceMappingURL=BunPTY-B7ThejfA.mjs.map
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  require("./chunk-BhaIgcZK.cjs");
4
- const require_Schema = require("./Schema-Bij_WAra.cjs");
5
- const require_PTY = require("./PTY-U3JQnLXS.cjs");
4
+ const require_Schema = require("./Schema-DaFukK_y.cjs");
5
+ const require_PTY = require("./PTY-BB84iC10.cjs");
6
6
  //#region src/terminal/Layers/BunPTY.ts
7
7
  var BunPtyProcess = class {
8
8
  dataListeners = /* @__PURE__ */ new Set();
@@ -96,4 +96,4 @@ const layer = require_Schema.effect(require_PTY.PtyAdapter, require_Schema.gen(f
96
96
  //#endregion
97
97
  exports.layer = layer;
98
98
 
99
- //# sourceMappingURL=BunPTY-2icf7sRj.cjs.map
99
+ //# sourceMappingURL=BunPTY-BjHFZATJ.cjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { xa as provideMerge, ya as mergeAll } from "./Schema-CTXk8IgN.mjs";
4
- import { d as layer$9, i as layer$7, s as layer$6, t as layer$8, u as layer$5 } from "./NodeTerminal-_XekCzf-.mjs";
3
+ import { Ca as provideMerge, xa as mergeAll } from "./Schema-CKuz8TX8.mjs";
4
+ import { d as layer$9, i as layer$7, s as layer$6, t as layer$8, u as layer$5 } from "./NodeTerminal-Ke6chk0A.mjs";
5
5
  //#region ../../node_modules/.bun/@effect+platform-bun@4.0.0-beta.45+4dcb167d4624bd06/node_modules/@effect/platform-bun/dist/BunFileSystem.js
6
6
  /**
7
7
  * @since 1.0.0
@@ -46,4 +46,4 @@ const layer = /* @__PURE__ */ layer$9.pipe(/* @__PURE__ */ provideMerge(/* @__PU
46
46
  //#endregion
47
47
  export { layer, layer$4 as t };
48
48
 
49
- //# sourceMappingURL=BunServices-ChM4mYH9.mjs.map
49
+ //# sourceMappingURL=BunServices-BFygTrvx.mjs.map
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  require("./chunk-BhaIgcZK.cjs");
4
- const require_Schema = require("./Schema-Bij_WAra.cjs");
5
- const require_NodeTerminal = require("./NodeTerminal-B9u7fFYa.cjs");
4
+ const require_Schema = require("./Schema-DaFukK_y.cjs");
5
+ const require_NodeTerminal = require("./NodeTerminal-D86oor5_.cjs");
6
6
  //#region ../../node_modules/.bun/@effect+platform-bun@4.0.0-beta.45+4dcb167d4624bd06/node_modules/@effect/platform-bun/dist/BunFileSystem.js
7
7
  /**
8
8
  * @since 1.0.0
@@ -51,4 +51,4 @@ const layer = /* @__PURE__ */ require_NodeTerminal.layer$4.pipe(/* @__PURE__ */
51
51
  exports.layer = layer;
52
52
  exports.layer$1 = layer$4;
53
53
 
54
- //# sourceMappingURL=BunServices-CiNXNzHD.cjs.map
54
+ //# sourceMappingURL=BunServices-U1VBnEJS.cjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const require_Schema = require("./Schema-Bij_WAra.cjs");
4
- const require_Path = require("./Path-CsbBuCFB.cjs");
3
+ const require_Schema = require("./Schema-DaFukK_y.cjs");
4
+ const require_Path = require("./Path-qpublmG3.cjs");
5
5
  //#region ../../node_modules/.bun/effect@4.0.0-beta.45/node_modules/effect/dist/Cache.js
6
6
  /**
7
7
  * @since 4.0.0
@@ -579,4 +579,4 @@ Object.defineProperty(exports, "set", {
579
579
  }
580
580
  });
581
581
 
582
- //# sourceMappingURL=Cache-XSj5g7uG.cjs.map
582
+ //# sourceMappingURL=Cache-BRhFH80U.cjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { Ba as _await, Bo as contextWith, Bs as fromInputUnsafe, Cc as failVoid, Hs as isFinite, Io as asSome, Ja as makeUnsafe, Jl as dual, Oc as succeed$1, Oo as ClockRef, Ts as void_, Us as isZero, Va as doneUnsafe, Vs as infinity, Xc as isSome, Xs as toMillis, Yc as isNone, ds as onExit, gl as withFiber, pl as exitSucceed, sl as PipeInspectableProto, vs as succeed, ws as updateContext, xs as sync, yc as filterMap, ys as succeedNone, zc as merge } from "./Schema-CTXk8IgN.mjs";
4
- import { ct as remove, lt as set$1, ot as get$1, st as make$1, ut as size } from "./Path-Bwl3ltR5.mjs";
3
+ import { Ac as succeed$1, Ao as ClockRef, Cs as sync, Ds as void_, Es as updateContext, Gs as isZero, Ha as _await, Ho as contextWith, Hs as fromInputUnsafe, Qc as isSome, Qs as toMillis, Ro as asSome, Tc as failVoid, Ua as doneUnsafe, Us as infinity, Vc as merge, Ws as isFinite, Xa as makeUnsafe, Xl as dual, Zc as isNone, bs as succeed, hl as exitSucceed, ll as PipeInspectableProto, ps as onExit, vl as withFiber, xc as filterMap, xs as succeedNone } from "./Schema-CKuz8TX8.mjs";
4
+ import { ct as remove, lt as set$1, ot as get$1, st as make$1, ut as size } from "./Path-DJTwK58E.mjs";
5
5
  //#region ../../node_modules/.bun/effect@4.0.0-beta.45/node_modules/effect/dist/Cache.js
6
6
  /**
7
7
  * @since 4.0.0
@@ -538,4 +538,4 @@ const keys = (self) => withFiber((fiber) => {
538
538
  //#endregion
539
539
  export { make as a, keys as i, getOption as n, makeWith as o, invalidate as r, set as s, get as t };
540
540
 
541
- //# sourceMappingURL=Cache-Cm78WiyU.mjs.map
541
+ //# sourceMappingURL=Cache-CHvh_vWI.mjs.map
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const require_Schema = require("./Schema-Bij_WAra.cjs");
3
+ const require_Schema = require("./Schema-DaFukK_y.cjs");
4
4
  //#region ../../node_modules/.bun/effect@4.0.0-beta.45/node_modules/effect/dist/ConfigProvider.js
5
5
  /**
6
6
  * Provides the data source layer for the `Config` module. A `ConfigProvider`
@@ -1257,4 +1257,4 @@ Object.defineProperty(exports, "withDefault", {
1257
1257
  }
1258
1258
  });
1259
1259
 
1260
- //# sourceMappingURL=Config-DMA9WqtC.cjs.map
1260
+ //# sourceMappingURL=Config-BHRBB8XM.cjs.map
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { $c as none, $n as flatMapEager, C as Record$1, Et as toCodecStringTree, Gt as splitKeyValue, I as Union, Jl as dual, K as decodeTo, Kn as fail$1, Kt as transform, Ln as catch_, Ml as hasProperty, Mt as _is, Nt as decodeUnknownEffect, Qn as flatMap, Sr as map$1, Tr as mapErrorEager, Ut as toEncoded, Xc as isSome, Yc as isNone, ai as succeed$1, bn as all$1, cl as YieldableProto, el as some, gc as map$2, gt as isSchemaError, h as Literals, it as isBetween, j as URL, jt as SchemaError, kc as Reference, nr as fnUntraced, p as Int, r as Boolean$1, sl as PipeInspectableProto, tn as Pointer, w as String$1, x as Number$1 } from "./Schema-CTXk8IgN.mjs";
3
+ import { C as Record$1, Dr as mapErrorEager, Dt as toCodecStringTree, I as Union, Jn as fail$1, Kt as splitKeyValue, Mt as SchemaError, Nt as _is, Pl as hasProperty, Pt as decodeUnknownEffect, Qc as isSome, Sn as all$1, Wt as toEncoded, Xl as dual, Zc as isNone, _t as isSchemaError, at as isBetween, er as flatMap, h as Literals, ir as fnUntraced, j as URL, jc as Reference, ll as PipeInspectableProto, nl as some, nn as Pointer, p as Int, q as decodeTo, qt as transform, r as Boolean$1, si as succeed$1, tl as none, tr as flatMapEager, ul as YieldableProto, vc as map$2, w as String$1, wr as map$1, x as Number$1, zn as catch_ } from "./Schema-CKuz8TX8.mjs";
4
4
  //#region ../../node_modules/.bun/effect@4.0.0-beta.45/node_modules/effect/dist/ConfigProvider.js
5
5
  /**
6
6
  * Provides the data source layer for the `Config` module. A `ConfigProvider`
@@ -1151,4 +1151,4 @@ function url(name) {
1151
1151
  //#endregion
1152
1152
  export { withDefault as _, all as a, logLevel as c, option as d, port as f, url as g, unwrap as h, TrueValues as i, map as l, string as m, FalseValues as n, boolean as o, schema as p, Record as r, int as s, Boolean as t, number as u };
1153
1153
 
1154
- //# sourceMappingURL=Config-DrOyN3WS.mjs.map
1154
+ //# sourceMappingURL=Config-To1VEqlB.mjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const require_Schema = require("./Schema-Bij_WAra.cjs");
4
- const require_Path = require("./Path-CsbBuCFB.cjs");
3
+ const require_Schema = require("./Schema-DaFukK_y.cjs");
4
+ const require_Path = require("./Path-qpublmG3.cjs");
5
5
  //#region ../../node_modules/.bun/effect@4.0.0-beta.45/node_modules/effect/dist/UndefinedOr.js
6
6
  /**
7
7
  * @since 4.0.0
@@ -976,6 +976,11 @@ const CurrentRedactedNames = /* @__PURE__ */ require_Schema.Reference("effect/He
976
976
  * @since 4.0.0
977
977
  */
978
978
  const TypeId$11 = "~effect/http/UrlParams";
979
+ /**
980
+ * @since 4.0.0
981
+ * @category Guards
982
+ */
983
+ const isUrlParams = (u) => require_Schema.hasProperty(u, TypeId$11);
979
984
  const Proto$4 = {
980
985
  ...require_Schema.PipeInspectableProto,
981
986
  [TypeId$11]: TypeId$11,
@@ -1036,6 +1041,25 @@ const Equivalence = /* @__PURE__ */ require_Schema.make$8((a, b) => arrayEquival
1036
1041
  const arrayEquivalence = /* @__PURE__ */ require_Schema.makeEquivalence(/* @__PURE__ */ require_Schema.makeEquivalence$2([/* @__PURE__ */ require_Schema.strictEqual(), /* @__PURE__ */ require_Schema.strictEqual()]));
1037
1042
  /**
1038
1043
  * @since 4.0.0
1044
+ * @category schemas
1045
+ */
1046
+ const UrlParamsSchema = /* @__PURE__ */ require_Schema.declare(isUrlParams, {
1047
+ typeConstructor: { _tag: "effect/http/UrlParams" },
1048
+ generation: {
1049
+ runtime: `UrlParams.UrlParamsSchema`,
1050
+ Type: `UrlParams.UrlParams`,
1051
+ Encoded: `typeof UrlParams.UrlParamsSchema["Encoded"]`,
1052
+ importDeclaration: `import * as UrlParams from "effect/unstable/http/UrlParams"`
1053
+ },
1054
+ expected: "UrlParams",
1055
+ toEquivalence: () => Equivalence,
1056
+ toCodec: () => require_Schema.link()(require_Schema.ArraySchema(require_Schema.Tuple([require_Schema.String, require_Schema.String])), require_Schema.transform({
1057
+ decode: make$9,
1058
+ encode: (self) => self.params
1059
+ }))
1060
+ });
1061
+ /**
1062
+ * @since 4.0.0
1039
1063
  * @category constructors
1040
1064
  */
1041
1065
  const empty$3 = /* @__PURE__ */ make$9([]);
@@ -1079,7 +1103,80 @@ const makeUrl = (url, params, hash) => {
1079
1103
  const baseUrl = () => {
1080
1104
  if ("location" in globalThis && globalThis.location !== void 0 && globalThis.location.origin !== void 0 && globalThis.location.pathname !== void 0) return location.origin + location.pathname;
1081
1105
  };
1082
- require_Schema.String, require_Schema.String, require_Schema.String;
1106
+ /**
1107
+ * Builds a `Record` containing all the key-value pairs in the given `UrlParams`
1108
+ * as `string` (if only one value for a key) or a `NonEmptyArray<string>`
1109
+ * (when more than one value for a key)
1110
+ *
1111
+ * **Example**
1112
+ *
1113
+ * ```ts
1114
+ * import { UrlParams } from "effect/unstable/http"
1115
+ * import * as assert from "node:assert"
1116
+ *
1117
+ * const urlParams = UrlParams.fromInput({
1118
+ * a: 1,
1119
+ * b: true,
1120
+ * c: "string",
1121
+ * e: [1, 2, 3]
1122
+ * })
1123
+ * const result = UrlParams.toRecord(urlParams)
1124
+ *
1125
+ * assert.deepStrictEqual(
1126
+ * result,
1127
+ * { "a": "1", "b": "true", "c": "string", "e": ["1", "2", "3"] }
1128
+ * )
1129
+ * ```
1130
+ *
1131
+ * @since 4.0.0
1132
+ * @category conversions
1133
+ */
1134
+ const toRecord = (self) => {
1135
+ const out = {};
1136
+ for (const [k, value] of self.params) {
1137
+ const curr = out[k];
1138
+ if (curr === void 0) out[k] = value;
1139
+ else if (typeof curr === "string") out[k] = [curr, value];
1140
+ else curr.push(value);
1141
+ }
1142
+ return out;
1143
+ };
1144
+ /**
1145
+ * @since 4.0.0
1146
+ * @category conversions
1147
+ */
1148
+ const toReadonlyRecord = toRecord;
1149
+ /**
1150
+ * Extract schema from all key-value pairs in the given `UrlParams`.
1151
+ *
1152
+ * **Example**
1153
+ *
1154
+ * ```ts
1155
+ * import { Schema } from "effect"
1156
+ * import { UrlParams } from "effect/unstable/http"
1157
+ *
1158
+ * const toStruct = UrlParams.schemaRecord.pipe(
1159
+ * Schema.decodeTo(Schema.Struct({
1160
+ * some: Schema.String,
1161
+ * number: Schema.FiniteFromString
1162
+ * }))
1163
+ * )
1164
+ *
1165
+ * console.log(
1166
+ * Schema.decodeSync(toStruct)(UrlParams.fromInput({
1167
+ * some: "value",
1168
+ * number: 42
1169
+ * }))
1170
+ * )
1171
+ * ```
1172
+ *
1173
+ * @since 4.0.0
1174
+ * @category schema
1175
+ */
1176
+ const schemaRecord = /* @__PURE__ */ UrlParamsSchema.pipe(/* @__PURE__ */ require_Schema.decodeTo(/* @__PURE__ */ require_Schema.Record(require_Schema.String, /* @__PURE__ */ require_Schema.Union([require_Schema.String, /* @__PURE__ */ require_Schema.NonEmptyArray(require_Schema.String)])), /* @__PURE__ */ require_Schema.transform({
1177
+ decode: toReadonlyRecord,
1178
+ encode: fromInput
1179
+ })));
1083
1180
  //#endregion
1084
1181
  //#region ../../node_modules/.bun/effect@4.0.0-beta.45/node_modules/effect/dist/unstable/http/HttpBody.js
1085
1182
  /**
@@ -1611,6 +1708,14 @@ const schemaBodyJson$1 = (schema, options) => {
1611
1708
  };
1612
1709
  /**
1613
1710
  * @since 4.0.0
1711
+ * @category schema
1712
+ */
1713
+ const schemaBodyUrlParams$1 = (schema, options) => {
1714
+ const decode = schemaRecord.pipe(require_Schema.decodeTo(schema), require_Schema.annotate({ options }), require_Schema.decodeEffect);
1715
+ return (self) => require_Schema.flatMap(self.urlParamsBody, decode);
1716
+ };
1717
+ /**
1718
+ * @since 4.0.0
1614
1719
  * @category References
1615
1720
  */
1616
1721
  const MaxBodySize = /* @__PURE__ */ require_Schema.Reference("effect/http/HttpIncomingMessage/MaxBodySize", { defaultValue: () => void 0 });
@@ -4019,6 +4124,14 @@ const schemaBodyJson = (schema, options) => {
4019
4124
  const parse = schemaBodyJson$1(schema, options);
4020
4125
  return require_Schema.flatMap(HttpServerRequest.asEffect(), parse);
4021
4126
  };
4127
+ /**
4128
+ * @since 4.0.0
4129
+ * @category schema
4130
+ */
4131
+ const schemaBodyUrlParams = (schema, options) => {
4132
+ const parse = schemaBodyUrlParams$1(schema, options);
4133
+ return require_Schema.flatMap(HttpServerRequest.asEffect(), parse);
4134
+ };
4022
4135
  require_Schema.Class$2;
4023
4136
  require_Schema.Class$2;
4024
4137
  require_Schema.Class$2;
@@ -4871,6 +4984,12 @@ Object.defineProperty(exports, "schemaBodyJson$1", {
4871
4984
  return schemaBodyJson$1;
4872
4985
  }
4873
4986
  });
4987
+ Object.defineProperty(exports, "schemaBodyUrlParams", {
4988
+ enumerable: true,
4989
+ get: function() {
4990
+ return schemaBodyUrlParams;
4991
+ }
4992
+ });
4874
4993
  Object.defineProperty(exports, "schemaHeaders", {
4875
4994
  enumerable: true,
4876
4995
  get: function() {
@@ -4998,4 +5117,4 @@ Object.defineProperty(exports, "withLoggerDisabled", {
4998
5117
  }
4999
5118
  });
5000
5119
 
5001
- //# sourceMappingURL=HttpServer-aJkhz6yu.cjs.map
5120
+ //# sourceMappingURL=HttpServer-BTcgkY38.cjs.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { $c as none, $i as isDoneCause, $n as flatMapEager, Aa as closeUnsafe, Ac as Service, Ai as withLogSpan, Al as symbol$2, An as catchCause, As as ParentSpan, Ba as _await, Bl as or, Bs as fromInputUnsafe, Ci as uninterruptibleMask, Cl as redact$1, Cn as annotateLogs, Co as makeDieReason, Cr as mapEager, Dc as map$3, Dl as array, Dr as matchCauseEffect, Ds as DisablePropagation, E as TaggedErrorClass, Ea as Scope, Ei as void_, El as symbol$1, Fn as catchTag, Fs as has, Ga as into, Gl as constUndefined, Gn as exit, Hn as die, Hs as isFinite, I as Union, Ic as getUnsafe$1, Is as toPredicate, Ja as makeUnsafe$2, Jc as getOrUndefined, Jl as dual, Jr as runForkWith, Js as seconds, Kc as getOrElse, Ki as isSchedule, Kn as fail$1, Kr as retry, Ml as hasProperty, Mn as catchFilter, Ms as externalSpan, Na as makeUnsafe$3, Nc as get$2, Nr as onExitPrimitive, Oc as succeed, On as cached, Or as matchCauseEffectEager, Pa as provide, Pr as onInterrupt, Ps as compose, Pt as encodeUnknownEffect, Qa as failCause$1, Qc as match, Ql as pipeArguments, Qn as flatMap, Qr as runSync, Ra as TracerEnabled, Rn as context, Rr as promise, Sa as succeed$2, Sc as fail, Si as uninterruptible, So as isTimeoutError, Sr as map$1, Tc as isFailure$1, Ti as useSpan, Tt as toCodecJson, U as decodeEffect, Ul as constFalse, Ur as raceFirst, Va as doneUnsafe, Vr as provideService, Wc as fromNullishOr, Wl as constTrue, Wn as ensuring, Wr as repeat, Xc as isSome, Xl as identity, Yl as flow, Za as fail$2, Zs as toSeconds, _c as set$3, _i as tryPromise, _l as BaseProto, _n as acquireRelease, _o as hasInterrupts, ai as succeed$1, an as stringOrRedacted, ao as Done, c as Defect, ca as TaggedError, ci as suspend, do as done, el as some, eo as isFailure, fa as effect, fr as interrupt, gc as map$2, gi as timeoutOrElse, gt as isSchemaError, h as Literals, hc as makeEquivalence, ho as fromReasons, hr as log, ia as Clock, ic as fromIterable$1, il as strictEqual, jc as add, ji as withParentSpan, ka as close, kc as Reference, ki as withFiber, kl as structure, lc as makeEquivalence$1, li as sync, lr as gen, ma as effectDiscard, mc as isEmptyRecord, mr as isEffect, nr as fnUntraced, oc as isReadonlyArrayNonEmpty, po as filterInterruptors, ps as reportCauseUnsafe, q as decodeUnknownEffect, qi as passthrough, ql as constant, qn as failCause, qr as runFork, rl as make$14, rn as make$13, sa as Error$1, sl as PipeInspectableProto, so as StackTrace, ti as scopedWith, u as ErrorClass, us as makeSpanUnsafe, vc as empty$6, vi as try_, vl as Class, vo as hasInterruptsOnly, w as String$1, wi as updateContext, wl as symbolRedactable, wr as mapError, wt as tag, x as Number$1, xa as provideMerge, xc as makeEquivalence$2, xl as format, xn as andThen, xo as isNoSuchElementError, xt as optional, yl as NodeInspectSymbol, zc as merge$1, zn as contextWith } from "./Schema-CTXk8IgN.mjs";
4
- import { Bt as make$15, C as fromChannel, H as run, Ht as makeUnsafe$4, K as runForEach, Kt as interruptAll, O as fromReadableStream, R as onExit, Vt as set$4, Wt as getCurrent, X as suspend$1, _ as ensuring$1, _t as fromTransform, et as toReadableStreamEffect, gt as fromPull, i as FileSystem, o as Size, t as Path, v as fail$3, yt as runFold } from "./Path-Bwl3ltR5.mjs";
3
+ import { $a as fail$2, $s as toSeconds, A as Tuple, Ac as succeed, An as cached, Ar as matchCauseEffectEager, B as annotate, Ba as TracerEnabled, Bn as context, Br as promise, C as Record, Ca as provideMerge, Cc as makeEquivalence$2, Cl as format, Cn as andThen, Co as isNoSuchElementError, Dc as isFailure$1, Di as useSpan, E as TaggedErrorClass, Ei as updateContext, El as symbolRedactable, Er as mapError, Et as toCodecJson, Fa as makeUnsafe$3, Fc as get$2, Fr as onExitPrimitive, Ft as encodeUnknownEffect, Gl as constFalse, Gr as raceFirst, H as declare, Ha as _await, Hl as or, Hs as fromInputUnsafe, I as Union, Ia as provide, Ir as onInterrupt, Is as compose, J as decodeUnknownEffect, Jc as getOrElse, Ji as isSchedule, Jn as fail$1, Jr as retry, Kc as fromNullishOr, Kl as constTrue, Kn as ensuring, Kr as repeat, Ln as catchTag, Ls as has, Ma as closeUnsafe, Mc as Service, Mi as withLogSpan, Ml as symbol$2, Mn as catchCause, Ms as ParentSpan, Nc as add, Ni as withParentSpan, Oa as Scope, Oi as void_, Ol as symbol$1, Pl as hasProperty, Pn as catchFilter, Ps as externalSpan, Qc as isSome, Ql as identity, Rc as getUnsafe$1, Rs as toPredicate, St as optional, Ti as uninterruptibleMask, Tl as redact$1, Tn as annotateLogs, To as makeDieReason, Tr as mapEager, Tt as tag, Ua as doneUnsafe, Ur as provideService, Vc as merge$1, Vn as contextWith, W as decodeEffect, Wn as die, Ws as isFinite, Xa as makeUnsafe$2, Xc as getOrUndefined, Xl as dual, Xr as runForkWith, Xs as seconds, Yi as passthrough, Yl as constant, Yn as failCause, Yr as runFork, Zl as flow, _ as NonEmptyArray, _c as makeEquivalence, _o as fromReasons, _r as log, _t as isSchemaError, al as make$14, bc as empty$6, bi as try_, bl as Class, bo as hasInterruptsOnly, c as Defect, cc as isReadonlyArrayNonEmpty, dc as makeEquivalence$1, di as sync, dr as gen, ei as runSync, el as match, eo as failCause$1, er as flatMap, eu as pipeArguments, fs as makeSpanUnsafe, ga as effectDiscard, gc as isEmptyRecord, gr as isEffect, h as Literals, ho as filterInterruptors, hs as reportCauseUnsafe, in as make$13, ir as fnUntraced, ja as close, jc as Reference, ji as withFiber, jl as structure, kc as map$3, kl as array, kr as matchCauseEffect, ks as DisablePropagation, la as Error$1, ll as PipeInspectableProto, lo as StackTrace, ma as effect, mr as interrupt, n as ArraySchema, nl as some, no as isFailure, oa as Clock, oc as fromIterable$1, ol as strictEqual, on as stringOrRedacted, po as done, q as decodeTo, qa as into, ql as constUndefined, qn as exit, qt as transform, ri as scopedWith, si as succeed$1, so as Done, ta as isDoneCause, tl as none, tr as flatMapEager, u as ErrorClass, ua as TaggedError, ui as suspend, vc as map$2, vi as timeoutOrElse, vt as link, w as String$1, wa as succeed$2, wc as fail, wi as uninterruptible, wo as isTimeoutError, wr as map$1, x as Number$1, xl as NodeInspectSymbol, yc as set$3, yi as tryPromise, yl as BaseProto, yn as acquireRelease, yo as hasInterrupts } from "./Schema-CKuz8TX8.mjs";
4
+ import { Bt as make$15, C as fromChannel, H as run, Ht as makeUnsafe$4, K as runForEach, Kt as interruptAll, O as fromReadableStream, R as onExit, Vt as set$4, Wt as getCurrent, X as suspend$1, _ as ensuring$1, _t as fromTransform, et as toReadableStreamEffect, gt as fromPull, i as FileSystem, o as Size, t as Path, v as fail$3, yt as runFold } from "./Path-DJTwK58E.mjs";
5
5
  //#region ../../node_modules/.bun/effect@4.0.0-beta.45/node_modules/effect/dist/UndefinedOr.js
6
6
  /**
7
7
  * @since 4.0.0
@@ -974,6 +974,11 @@ const CurrentRedactedNames = /* @__PURE__ */ Reference("effect/Headers/CurrentRe
974
974
  * @since 4.0.0
975
975
  */
976
976
  const TypeId$11 = "~effect/http/UrlParams";
977
+ /**
978
+ * @since 4.0.0
979
+ * @category Guards
980
+ */
981
+ const isUrlParams = (u) => hasProperty(u, TypeId$11);
977
982
  const Proto$4 = {
978
983
  ...PipeInspectableProto,
979
984
  [TypeId$11]: TypeId$11,
@@ -1034,6 +1039,25 @@ const Equivalence = /* @__PURE__ */ make$14((a, b) => arrayEquivalence(a.params,
1034
1039
  const arrayEquivalence = /* @__PURE__ */ makeEquivalence$1(/* @__PURE__ */ makeEquivalence$2([/* @__PURE__ */ strictEqual(), /* @__PURE__ */ strictEqual()]));
1035
1040
  /**
1036
1041
  * @since 4.0.0
1042
+ * @category schemas
1043
+ */
1044
+ const UrlParamsSchema = /* @__PURE__ */ declare(isUrlParams, {
1045
+ typeConstructor: { _tag: "effect/http/UrlParams" },
1046
+ generation: {
1047
+ runtime: `UrlParams.UrlParamsSchema`,
1048
+ Type: `UrlParams.UrlParams`,
1049
+ Encoded: `typeof UrlParams.UrlParamsSchema["Encoded"]`,
1050
+ importDeclaration: `import * as UrlParams from "effect/unstable/http/UrlParams"`
1051
+ },
1052
+ expected: "UrlParams",
1053
+ toEquivalence: () => Equivalence,
1054
+ toCodec: () => link()(ArraySchema(Tuple([String$1, String$1])), transform({
1055
+ decode: make$9,
1056
+ encode: (self) => self.params
1057
+ }))
1058
+ });
1059
+ /**
1060
+ * @since 4.0.0
1037
1061
  * @category constructors
1038
1062
  */
1039
1063
  const empty$3 = /* @__PURE__ */ make$9([]);
@@ -1077,6 +1101,80 @@ const makeUrl = (url, params, hash) => {
1077
1101
  const baseUrl = () => {
1078
1102
  if ("location" in globalThis && globalThis.location !== void 0 && globalThis.location.origin !== void 0 && globalThis.location.pathname !== void 0) return location.origin + location.pathname;
1079
1103
  };
1104
+ /**
1105
+ * Builds a `Record` containing all the key-value pairs in the given `UrlParams`
1106
+ * as `string` (if only one value for a key) or a `NonEmptyArray<string>`
1107
+ * (when more than one value for a key)
1108
+ *
1109
+ * **Example**
1110
+ *
1111
+ * ```ts
1112
+ * import { UrlParams } from "effect/unstable/http"
1113
+ * import * as assert from "node:assert"
1114
+ *
1115
+ * const urlParams = UrlParams.fromInput({
1116
+ * a: 1,
1117
+ * b: true,
1118
+ * c: "string",
1119
+ * e: [1, 2, 3]
1120
+ * })
1121
+ * const result = UrlParams.toRecord(urlParams)
1122
+ *
1123
+ * assert.deepStrictEqual(
1124
+ * result,
1125
+ * { "a": "1", "b": "true", "c": "string", "e": ["1", "2", "3"] }
1126
+ * )
1127
+ * ```
1128
+ *
1129
+ * @since 4.0.0
1130
+ * @category conversions
1131
+ */
1132
+ const toRecord = (self) => {
1133
+ const out = {};
1134
+ for (const [k, value] of self.params) {
1135
+ const curr = out[k];
1136
+ if (curr === void 0) out[k] = value;
1137
+ else if (typeof curr === "string") out[k] = [curr, value];
1138
+ else curr.push(value);
1139
+ }
1140
+ return out;
1141
+ };
1142
+ /**
1143
+ * @since 4.0.0
1144
+ * @category conversions
1145
+ */
1146
+ const toReadonlyRecord = toRecord;
1147
+ /**
1148
+ * Extract schema from all key-value pairs in the given `UrlParams`.
1149
+ *
1150
+ * **Example**
1151
+ *
1152
+ * ```ts
1153
+ * import { Schema } from "effect"
1154
+ * import { UrlParams } from "effect/unstable/http"
1155
+ *
1156
+ * const toStruct = UrlParams.schemaRecord.pipe(
1157
+ * Schema.decodeTo(Schema.Struct({
1158
+ * some: Schema.String,
1159
+ * number: Schema.FiniteFromString
1160
+ * }))
1161
+ * )
1162
+ *
1163
+ * console.log(
1164
+ * Schema.decodeSync(toStruct)(UrlParams.fromInput({
1165
+ * some: "value",
1166
+ * number: 42
1167
+ * }))
1168
+ * )
1169
+ * ```
1170
+ *
1171
+ * @since 4.0.0
1172
+ * @category schema
1173
+ */
1174
+ const schemaRecord = /* @__PURE__ */ UrlParamsSchema.pipe(/* @__PURE__ */ decodeTo(/* @__PURE__ */ Record(String$1, /* @__PURE__ */ Union([String$1, /* @__PURE__ */ NonEmptyArray(String$1)])), /* @__PURE__ */ transform({
1175
+ decode: toReadonlyRecord,
1176
+ encode: fromInput
1177
+ })));
1080
1178
  //#endregion
1081
1179
  //#region ../../node_modules/.bun/effect@4.0.0-beta.45/node_modules/effect/dist/unstable/http/HttpBody.js
1082
1180
  /**
@@ -1608,6 +1706,14 @@ const schemaBodyJson$1 = (schema, options) => {
1608
1706
  };
1609
1707
  /**
1610
1708
  * @since 4.0.0
1709
+ * @category schema
1710
+ */
1711
+ const schemaBodyUrlParams$1 = (schema, options) => {
1712
+ const decode = schemaRecord.pipe(decodeTo(schema), annotate({ options }), decodeEffect);
1713
+ return (self) => flatMap(self.urlParamsBody, decode);
1714
+ };
1715
+ /**
1716
+ * @since 4.0.0
1611
1717
  * @category References
1612
1718
  */
1613
1719
  const MaxBodySize = /* @__PURE__ */ Reference("effect/http/HttpIncomingMessage/MaxBodySize", { defaultValue: () => void 0 });
@@ -4016,6 +4122,14 @@ const schemaBodyJson = (schema, options) => {
4016
4122
  };
4017
4123
  /**
4018
4124
  * @since 4.0.0
4125
+ * @category schema
4126
+ */
4127
+ const schemaBodyUrlParams = (schema, options) => {
4128
+ const parse = schemaBodyUrlParams$1(schema, options);
4129
+ return flatMap(HttpServerRequest.asEffect(), parse);
4130
+ };
4131
+ /**
4132
+ * @since 4.0.0
4019
4133
  * @category conversions
4020
4134
  */
4021
4135
  const toURL = (self) => {
@@ -4407,6 +4521,6 @@ const makeTestClient = /* @__PURE__ */ gen(function* () {
4407
4521
  */
4408
4522
  const layerTestClient = /* @__PURE__ */ effect(HttpClient)(makeTestClient);
4409
4523
  //#endregion
4410
- export { raw as $, TypeId$2 as A, toSetCookieHeaders as At, causeResponse as B, join as Bt, toPersisted as C, fromInput as Ct, SocketCloseError as D, merge as Dt, Socket as E, fromRecordUnsafe as Et, HttpServerError as F, makeUnsafe as Ft, retryTransient as G, layer$1 as H, runtime as Ht, RequestParseError as I, modify$1 as It, symbol as J, layer$2 as K, ResponseError as L, set$2 as Lt, fromWebSocket as M, getAndSet as Mt, isCloseEvent as N, getUnsafe as Nt, SocketError as O, isEmpty as Ot, ClientAbort as P, make$11 as Pt, jsonUnsafe as Q, RouteNotFound as R, update as Rt, makeConfig as S, jsonUnsafe$1 as St, make$3 as T, fromInput$1 as Tt, HttpClient as U, RequestInit as V, make$12 as Vt, filterStatusOk as W, file as X, empty as Y, isHttpServerResponse as Z, schemaHeaders as _, get as _t, withLogAddress as a, stream as at, TypeId$1 as b, HttpClientErrorSchema as bt, scopeTransferToStream as c, filterStatusOk$1 as ct, logger as d, TypeId$7 as dt, redirect as et, withLoggerDisabled as f, inspect as ft, schemaBodyJson as g, bodyJson as gt, TypeId as h, bearerToken as ht, serve as i, setHeader as it, defaultCloseCodeIsError as j, get$1 as jt, SocketErrorReason as k, parseHeader as kt, toHandled as l, matchStatus as lt, ParsedSearchParams as m, acceptJson as mt, layerTestClient as n, setCookie as nt, HttpPlatform as o, text as ot, HttpServerRequest as p, schemaBodyJson$1 as pt, layerWeak as q, make as r, setCookies as rt, make$1 as s, uint8Array as st, HttpServer as t, schemaJson as tt, cors as u, MaxBodySize as ut, toURL as v, post as vt, decodeField as w, empty$4 as wt, makeChannel as x, isHttpClientError as xt, MultipartError as y, setBody$1 as yt, ServeError as z, updateAndGet as zt };
4524
+ export { jsonUnsafe as $, SocketErrorReason as A, parseHeader as At, ServeError as B, updateAndGet as Bt, makeConfig as C, jsonUnsafe$1 as Ct, Socket as D, fromRecordUnsafe as Dt, make$3 as E, fromInput$1 as Et, ClientAbort as F, make$11 as Ft, filterStatusOk as G, RequestInit as H, make$12 as Ht, HttpServerError as I, makeUnsafe as It, layerWeak as J, retryTransient as K, RequestParseError as L, modify$1 as Lt, defaultCloseCodeIsError as M, get$1 as Mt, fromWebSocket as N, getAndSet as Nt, SocketCloseError as O, merge as Ot, isCloseEvent as P, getUnsafe as Pt, isHttpServerResponse as Q, ResponseError as R, set$2 as Rt, makeChannel as S, isHttpClientError as St, decodeField as T, empty$4 as Tt, layer$1 as U, runtime as Ut, causeResponse as V, join as Vt, HttpClient as W, empty as X, symbol as Y, file as Z, schemaBodyUrlParams as _, bodyJson as _t, withLogAddress as a, setHeader as at, MultipartError as b, setBody$1 as bt, scopeTransferToStream as c, uint8Array as ct, logger as d, MaxBodySize as dt, raw as et, withLoggerDisabled as f, TypeId$7 as ft, schemaBodyJson as g, bearerToken as gt, TypeId as h, acceptJson as ht, serve as i, setCookies as it, TypeId$2 as j, toSetCookieHeaders as jt, SocketError as k, isEmpty as kt, toHandled as l, filterStatusOk$1 as lt, ParsedSearchParams as m, schemaBodyJson$1 as mt, layerTestClient as n, schemaJson as nt, HttpPlatform as o, stream as ot, HttpServerRequest as p, inspect as pt, layer$2 as q, make as r, setCookie as rt, make$1 as s, text as st, HttpServer as t, redirect as tt, cors as u, matchStatus as ut, schemaHeaders as v, get as vt, toPersisted as w, fromInput as wt, TypeId$1 as x, HttpClientErrorSchema as xt, toURL as y, post as yt, RouteNotFound as z, update as zt };
4411
4525
 
4412
- //# sourceMappingURL=HttpServer-ByyNdEXm.mjs.map
4526
+ //# sourceMappingURL=HttpServer-DV-x5DVo.mjs.map
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const require_chunk = require("./chunk-BhaIgcZK.cjs");
4
- const require_Schema = require("./Schema-Bij_WAra.cjs");
5
- const require_Path = require("./Path-CsbBuCFB.cjs");
6
- const require_NodeTerminal = require("./NodeTerminal-B9u7fFYa.cjs");
7
- const require_NodeServices = require("./NodeServices-BISZRY3e.cjs");
8
- const require_HttpServer = require("./HttpServer-aJkhz6yu.cjs");
9
- const require_Config = require("./Config-DMA9WqtC.cjs");
4
+ const require_Schema = require("./Schema-DaFukK_y.cjs");
5
+ const require_Path = require("./Path-qpublmG3.cjs");
6
+ const require_NodeTerminal = require("./NodeTerminal-D86oor5_.cjs");
7
+ const require_NodeServices = require("./NodeServices-BjmXNhpe.cjs");
8
+ const require_HttpServer = require("./HttpServer-BTcgkY38.cjs");
9
+ const require_Config = require("./Config-BHRBB8XM.cjs");
10
10
  const require_Mime = require("./Mime-CyHbecis.cjs");
11
11
  let node_stream = require("node:stream");
12
12
  let node_fs = require("node:fs");
@@ -4114,4 +4114,4 @@ exports.make = make;
4114
4114
  exports.makeHandler = makeHandler;
4115
4115
  exports.makeUpgradeHandler = makeUpgradeHandler;
4116
4116
 
4117
- //# sourceMappingURL=NodeHttpServer-D_ismXpd.cjs.map
4117
+ //# sourceMappingURL=NodeHttpServer-D6YVHsL8.cjs.map
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { i as __require, o as __toESM, t as __commonJSMin } from "./chunk-C5ckVeoz.mjs";
4
- import { $r as scope, Da as addFinalizer, Dr as matchCauseEffect, Ei as void_, Hn as die, Jr as runForkWith, Js as seconds, Kn as fail, Oa as addFinalizerExit, On as cached, Pa as provide$1, Qn as flatMap, Qr as runSync, Rc as makeUnsafe, Sa as succeed$1, Sr as map, Wc as fromNullishOr, Yl as flow, Zl as pipe, _i as tryPromise, _n as acquireRelease, ai as succeed, ba as provide, ci as suspend, di as tapCause, fa as effect, ga as fresh, gi as timeoutOrElse, ja as forkUnsafe, ki as withFiber, kn as callback, li as sync, lo as combine, nr as fnUntraced, pr as interruptible, qn as failCause, uo as die$1, vi as try_, vl as Class, xa as provideMerge, ya as mergeAll } from "./Schema-CTXk8IgN.mjs";
5
- import { Ht as makeUnsafe$1, M as map$1, q as runForEachArray, qt as runIn, rt as unwrap, z as orDie } from "./Path-Bwl3ltR5.mjs";
6
- import { f as fromReadable, h as toUint8Array, m as toString, p as toArrayBuffer } from "./NodeTerminal-_XekCzf-.mjs";
7
- import { n as layer$3, r as layer$2 } from "./NodeServices-Bqqy4DuH.mjs";
8
- import { $ as raw, At as toSetCookieHeaders, B as causeResponse, C as toPersisted, Ct as fromInput$1, Dt as merge, Et as fromRecordUnsafe, F as HttpServerError, H as layer$5, I as RequestParseError, K as layer$4, L as ResponseError, M as fromWebSocket, Ot as isEmpty, P as ClientAbort, S as makeConfig, T as make$4, Tt as fromInput, V as RequestInit, b as TypeId$1, dt as TypeId, ft as inspect, h as TypeId$2, kt as parseHeader, l as toHandled, n as layerTestClient, o as HttpPlatform, p as HttpServerRequest, q as layerWeak, r as make$5, s as make$3, t as HttpServer, ut as MaxBodySize, w as decodeField, y as MultipartError, z as ServeError } from "./HttpServer-ByyNdEXm.mjs";
9
- import { h as unwrap$1 } from "./Config-DrOyN3WS.mjs";
4
+ import { $l as pipe, Aa as addFinalizerExit, An as cached, Bc as makeUnsafe, Ca as provideMerge, Ia as provide$1, Jn as fail, Kc as fromNullishOr, Na as forkUnsafe, Oi as void_, Sa as provide, Wn as die, Xr as runForkWith, Xs as seconds, Yn as failCause, Zl as flow, bi as try_, bl as Class, di as sync, do as combine, ei as runSync, er as flatMap, fo as die$1, hr as interruptible, ir as fnUntraced, ji as withFiber, jn as callback, ka as addFinalizer, kr as matchCauseEffect, ma as effect, pi as tapCause, si as succeed, ti as scope, ui as suspend, va as fresh, vi as timeoutOrElse, wa as succeed$1, wr as map, xa as mergeAll, yi as tryPromise, yn as acquireRelease } from "./Schema-CKuz8TX8.mjs";
5
+ import { Ht as makeUnsafe$1, M as map$1, q as runForEachArray, qt as runIn, rt as unwrap, z as orDie } from "./Path-DJTwK58E.mjs";
6
+ import { f as fromReadable, h as toUint8Array, m as toString, p as toArrayBuffer } from "./NodeTerminal-Ke6chk0A.mjs";
7
+ import { n as layer$3, r as layer$2 } from "./NodeServices-Da5rUDDE.mjs";
8
+ import { At as parseHeader, B as ServeError, C as makeConfig, Dt as fromRecordUnsafe, E as make$4, Et as fromInput, F as ClientAbort, H as RequestInit, I as HttpServerError, J as layerWeak, L as RequestParseError, N as fromWebSocket, Ot as merge, R as ResponseError, T as decodeField, U as layer$5, V as causeResponse, b as MultipartError, dt as MaxBodySize, et as raw, ft as TypeId, h as TypeId$2, jt as toSetCookieHeaders, kt as isEmpty, l as toHandled, n as layerTestClient, o as HttpPlatform, p as HttpServerRequest, pt as inspect, q as layer$4, r as make$5, s as make$3, t as HttpServer, w as toPersisted, wt as fromInput$1, x as TypeId$1 } from "./HttpServer-DV-x5DVo.mjs";
9
+ import { h as unwrap$1 } from "./Config-To1VEqlB.mjs";
10
10
  import { t as Mime_default } from "./Mime-BITO-E1U.mjs";
11
11
  import { Duplex, Readable } from "node:stream";
12
12
  import * as Fs from "node:fs";
@@ -4104,4 +4104,4 @@ const handleCause = (nodeResponse, originalResponse) => (originalCause) => flatM
4104
4104
  //#endregion
4105
4105
  export { layer, layerConfig, layerHttpServices, layerServer, layerTest, make, makeHandler, makeUpgradeHandler };
4106
4106
 
4107
- //# sourceMappingURL=NodeHttpServer-C_wePPV0.mjs.map
4107
+ //# sourceMappingURL=NodeHttpServer-DgD75IAg.mjs.map