@cmmd-center/forge 0.10.13 → 0.10.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BunHttpServer-CjwNydcy.cjs → BunHttpServer-BhE7Szci.cjs} +6 -6
- package/dist/{BunHttpServer-GM72b26K.mjs → BunHttpServer-VI75aqJw.mjs} +6 -6
- package/dist/{BunPTY-B4Ra6mph.cjs → BunPTY-86ttlTi6.cjs} +3 -3
- package/dist/{BunPTY-C_ONQ8rt.mjs → BunPTY-oVISucl_.mjs} +3 -3
- package/dist/{BunServices-CUeOgVUt.cjs → BunServices-BwE9KexF.cjs} +3 -3
- package/dist/{BunServices-B-6JkR0Q.mjs → BunServices-D0JTDujL.mjs} +3 -3
- package/dist/{Cache-D56wNKiH.cjs → Cache-CWlxNDbC.cjs} +6 -6
- package/dist/{Cache-da-A9JAa.mjs → Cache-p0X77SKw.mjs} +3 -3
- package/dist/{Config-D0zF6ChD.mjs → Config-AqUR_lhX.mjs} +2 -2
- package/dist/{Config-e5bi-5Ut.cjs → Config-CkEzdD9L.cjs} +2 -2
- package/dist/{HttpServer-B-QOc7bR.cjs → HttpServer-DGoLR-kU.cjs} +4 -4
- package/dist/{HttpServer-HhjqDZlB.mjs → HttpServer-DNGCTTdk.mjs} +3 -3
- package/dist/{NodeHttpServer-Cy1XvkSE.cjs → NodeHttpServer-BPjxt_DT.cjs} +7 -7
- package/dist/{NodeHttpServer-DmEyd0J4.mjs → NodeHttpServer-Dw7ivXfX.mjs} +7 -7
- package/dist/{NodePTY-DU_KoZdd.mjs → NodePTY-CVH2yNYl.mjs} +4 -4
- package/dist/{NodePTY-wATyTf3M.cjs → NodePTY-Cps0jsDA.cjs} +4 -4
- package/dist/{NodeServices-DeNLW36O.mjs → NodeServices-CBNXOYLG.mjs} +3 -3
- package/dist/{NodeServices-pfwgkiUu.cjs → NodeServices-Cw6SxEbl.cjs} +3 -3
- package/dist/{NodeServices-BqfcuvmN.cjs → NodeServices-Ddr-tYRu.cjs} +1 -1
- package/dist/{NodeSqliteClient-PZ6NN2gq.cjs → NodeSqliteClient-CmxPzcBf.cjs} +7 -7
- package/dist/{NodeSqliteClient-BqUcml1B.mjs → NodeSqliteClient-DGInbxQ3.mjs} +6 -6
- package/dist/{NodeTerminal-DfKMT-mE.cjs → NodeTerminal-5iWbO0B2.cjs} +6 -6
- package/dist/{NodeTerminal-DBDxXuu0.mjs → NodeTerminal-BEGtoMSS.mjs} +3 -3
- package/dist/{PTY-DB-DmqyE.cjs → PTY-BxYDiW3h.cjs} +2 -2
- package/dist/{PTY-DdjcAGrF.mjs → PTY-rIPf52QR.mjs} +2 -2
- package/dist/{Path-CHDjKLrB.cjs → Path-Be7zSwar.cjs} +281 -54
- package/dist/{Path-B0vKGzx2.mjs → Path-C6Zb2WHp.mjs} +271 -58
- package/dist/{Schema-BK7-mN_J.mjs → Schema-CJyk7ah1.mjs} +65 -3
- package/dist/{Schema-Cf_uEUQU.cjs → Schema-dLi7Qssy.cjs} +76 -2
- package/dist/{SqlError-Du_dEWbw.cjs → SqlError-Bt0Bcd5C.cjs} +4 -4
- package/dist/{SqlError-LFObCDir.mjs → SqlError-cyJT2IRY.mjs} +3 -3
- package/dist/{SqliteClient-D4Srj6O8.cjs → SqliteClient-B08FzZM4.cjs} +6 -6
- package/dist/{SqliteClient-DdItRZUr.mjs → SqliteClient-CIsITMoQ.mjs} +5 -5
- package/dist/bin.cjs +313 -152
- package/dist/bin.mjs +426 -265
- package/dist/client/assets/{DiffPanel-DGiCJd76.js → DiffPanel-CniKcSxk.js} +3 -3
- package/dist/client/assets/{DiffPanel.logic-Dd5YF6k3.js → DiffPanel.logic-UU4xEJJO.js} +2 -2
- package/dist/client/assets/{DiffPanelShell-C-nlQxal.js → DiffPanelShell-BpK-LVcn.js} +119 -119
- package/dist/client/assets/{DiffWorkerPoolProvider-CfmtkBLg.js → DiffWorkerPoolProvider-B6dAKEIU.js} +9 -9
- package/dist/client/assets/{PullRequestCodePanel-xkECqRzW.js → PullRequestCodePanel-DHZ0dDeb.js} +3 -3
- package/dist/client/assets/{Virtualizer-CVyQexgp.js → Virtualizer-BaXfuCj_.js} +2 -2
- package/dist/client/assets/{index-CUmbThfW.css → index-BMcOaHS_.css} +1 -1
- package/dist/client/assets/{index-BD9iZwyM.js → index-CpaFL0BH.js} +59 -59
- package/dist/client/index.html +5 -5
- package/dist/forge-build.json +1 -1
- package/package.json +1 -1
|
@@ -8461,6 +8461,13 @@ const uninterruptibleMask$1 = (f) => withFiber$1((fiber) => {
|
|
|
8461
8461
|
return f(interruptible$1);
|
|
8462
8462
|
});
|
|
8463
8463
|
/** @internal */
|
|
8464
|
+
const interruptibleMask$1 = (f) => withFiber$1((fiber) => {
|
|
8465
|
+
if (fiber.interruptible) return f(identity);
|
|
8466
|
+
fiber.interruptible = true;
|
|
8467
|
+
fiber._stack.push(setInterruptibleFalse);
|
|
8468
|
+
return f(uninterruptible$1);
|
|
8469
|
+
});
|
|
8470
|
+
/** @internal */
|
|
8464
8471
|
const all$1 = (arg, options) => {
|
|
8465
8472
|
if (isIterable(arg)) return options?.mode === "result" ? forEach$1(arg, result$1, options) : forEach$1(arg, identity, options);
|
|
8466
8473
|
else if (options?.discard) return options.mode === "result" ? forEach$1(Object.values(arg), result$1, options) : forEach$1(Object.values(arg), identity, options);
|
|
@@ -9017,7 +9024,15 @@ var IllegalArgumentError$1 = class extends TaggedError$1("IllegalArgumentError")
|
|
|
9017
9024
|
super({ message });
|
|
9018
9025
|
}
|
|
9019
9026
|
};
|
|
9020
|
-
|
|
9027
|
+
/** @internal */
|
|
9028
|
+
const ExceededCapacityErrorTypeId$1 = "~effect/Cause/ExceededCapacityError";
|
|
9029
|
+
/** @internal */
|
|
9030
|
+
var ExceededCapacityError$1 = class extends TaggedError$1("ExceededCapacityError") {
|
|
9031
|
+
[ExceededCapacityErrorTypeId$1] = ExceededCapacityErrorTypeId$1;
|
|
9032
|
+
constructor(message) {
|
|
9033
|
+
super({ message });
|
|
9034
|
+
}
|
|
9035
|
+
};
|
|
9021
9036
|
/** @internal */
|
|
9022
9037
|
const AsyncFiberErrorTypeId$1 = "~effect/Cause/AsyncFiberError";
|
|
9023
9038
|
/** @internal */
|
|
@@ -9873,6 +9888,22 @@ const isTimeoutError = isTimeoutError$1;
|
|
|
9873
9888
|
*/
|
|
9874
9889
|
const IllegalArgumentError = IllegalArgumentError$1;
|
|
9875
9890
|
/**
|
|
9891
|
+
* Constructs an {@link ExceededCapacityError} with an optional message.
|
|
9892
|
+
*
|
|
9893
|
+
* **Example** (creating an ExceededCapacityError)
|
|
9894
|
+
*
|
|
9895
|
+
* ```ts
|
|
9896
|
+
* import { Cause } from "effect"
|
|
9897
|
+
*
|
|
9898
|
+
* const error = new Cause.ExceededCapacityError("Queue full")
|
|
9899
|
+
* console.log(error.message) // "Queue full"
|
|
9900
|
+
* ```
|
|
9901
|
+
*
|
|
9902
|
+
* @category constructors
|
|
9903
|
+
* @since 4.0.0
|
|
9904
|
+
*/
|
|
9905
|
+
const ExceededCapacityError = ExceededCapacityError$1;
|
|
9906
|
+
/**
|
|
9876
9907
|
* Constructs an {@link UnknownError}. The first argument is the original
|
|
9877
9908
|
* cause (stored in `Error.cause`); the second is an optional human-readable
|
|
9878
9909
|
* message.
|
|
@@ -17383,6 +17414,37 @@ const uninterruptible = uninterruptible$1;
|
|
|
17383
17414
|
*/
|
|
17384
17415
|
const uninterruptibleMask = uninterruptibleMask$1;
|
|
17385
17416
|
/**
|
|
17417
|
+
* This function behaves like {@link interruptible}, but it also provides a
|
|
17418
|
+
* `restore` function. This function can be used to restore the interruptibility
|
|
17419
|
+
* of any specific region of code.
|
|
17420
|
+
*
|
|
17421
|
+
* @example
|
|
17422
|
+
* ```ts
|
|
17423
|
+
* import { Console, Effect } from "effect"
|
|
17424
|
+
*
|
|
17425
|
+
* const program = Effect.interruptibleMask((restore) =>
|
|
17426
|
+
* Effect.gen(function*() {
|
|
17427
|
+
* yield* Console.log("Interruptible phase...")
|
|
17428
|
+
* yield* Effect.sleep("1 second")
|
|
17429
|
+
*
|
|
17430
|
+
* // Make this part uninterruptible
|
|
17431
|
+
* yield* restore(
|
|
17432
|
+
* Effect.gen(function*() {
|
|
17433
|
+
* yield* Console.log("Uninterruptible phase...")
|
|
17434
|
+
* yield* Effect.sleep("2 seconds")
|
|
17435
|
+
* })
|
|
17436
|
+
* )
|
|
17437
|
+
*
|
|
17438
|
+
* yield* Console.log("Back to interruptible")
|
|
17439
|
+
* })
|
|
17440
|
+
* )
|
|
17441
|
+
* ```
|
|
17442
|
+
*
|
|
17443
|
+
* @since 2.0.0
|
|
17444
|
+
* @category Interruption
|
|
17445
|
+
*/
|
|
17446
|
+
const interruptibleMask = interruptibleMask$1;
|
|
17447
|
+
/**
|
|
17386
17448
|
* Repeats this effect forever (until the first error).
|
|
17387
17449
|
*
|
|
17388
17450
|
* @example
|
|
@@ -28067,6 +28129,6 @@ function onSerializerEnsureArray(ast) {
|
|
|
28067
28129
|
}
|
|
28068
28130
|
}
|
|
28069
28131
|
//#endregion
|
|
28070
|
-
export { encodeEffect as $,
|
|
28132
|
+
export { encodeEffect as $, make$9 as $a, fromUndefinedOr as $c, spaced as $i, constUndefined as $l, filterMapOrFail as $n, fiberAwait as $o, runPromise as $r, min$2 as $s, stringifyJson as $t, Tuple as A, Scope as Aa, fail$6 as Ac, void_$1 as Ai, formatJson as Al, cached as An, makeDieReason as Ao, match$1 as Ar, uninterruptibleMask$1 as As, withConstructorDefault as At, annotate as B, CurrentLogSpans as Ba, empty$6 as Bc, counter as Bi, hasProperty as Bl, catch_ as Bn, addFinalizer$2 as Bo, orDie as Br, make$10 as Bs, head as Bt, Record as C, mergeAll as Ca, makeEquivalence$3 as Cc, tx as Ci, isEffect$1 as Cl, andThen as Cn, hasDies$1 as Co, logInfo as Cr, sleep$1 as Cs, optionalKey as Ct, TaggedStruct as D, succeedContext as Da, filterMap$2 as Dc, uninterruptibleMask as Di, NodeInspectSymbol as Dl, as as Dn, interruptors as Do, mapEager as Dr, suspend$2 as Ds, toCodecStringTree as Dt, TaggedErrorClass as E, succeed$1 as Ea, empty$5 as Ec, uninterruptible as Ei, Class$2 as El, annotateSpans as En, interrupt$2 as Eo, map as Er, succeedNone$1 as Es, toCodecJson as Et, UndefinedOr as F, forkUnsafe as Fa, map$6 as Fc, withParentSpan as Fi, array as Fl, catchFilter as Fn, ClockRef as Fo, onError as Fr, MinimumTraceLevel as Fs, encodeUnknownEffect$1 as Ft, decodeExit as G, done as Ga, make$12 as Gc, withAttributes as Gi, isObject as Gl, die as Gn, causePretty as Go, provideService as Gr, format$3 as Gs, Transformation as Gt, declare as H, TracerEnabled as Ha, getOption as Hc, snapshotUnsafe as Hi, isNotNullish as Hl, contextWith as Hn, as$1 as Ho, promise as Hr, has as Hs, size as Ht, Union as I, make$8 as Ia, succeed$5 as Ic, withSpan as Ii, hash as Il, catchIf as In, ConsoleRef as Io, onExit as Ir, NativeSpan as Is, assign as It, decodeUnknownEffect as J, failCause$1 as Ja, mutate$2 as Jc, exponential as Ji, or as Jl, exit as Jn, defaultLogger as Jo, repeat as Jr, infinity as Js, transformOrFail as Jt, decodeSync as K, doneUnsafe as Ka, makeUnsafe$5 as Kc, addDelay as Ki, isTagged as Kl, effectify as Kn, consolePretty as Ko, race as Kr, fromInput as Ks, splitKeyValue as Kt, Unknown as L, makeUnsafe$3 as La, Reference as Lc, withTracerEnabled as Li, structure as Ll, catchReason as Ln, CurrentLoggers$1 as Lo, onExitPrimitive as Lr, ParentSpan as Ls, append as Lt, URLFromString as M, addFinalizerExit as Ma, getOrThrow as Mc, whileLoop as Mi, symbolRedactable as Ml, callback as Mn, pretty as Mo, matchCauseEffectEager as Mr, void_$3 as Ms, SchemaError as Mt, Uint8Array$1 as N, close as Na, isFailure$3 as Nc, withFiber as Ni, equals$2 as Nl, catchCause as Nn, prettyErrors as No, matchEffect as Nr, CurrentErrorReporters as Ns, _is as Nt, TemplateLiteral as O, sync$1 as Oa, headUnsafe as Oc, updateContext as Oi, toJson as Ol, asSome as On, isNoSuchElementError as Oo, mapError as Or, sync$2 as Os, toJsonSchemaDocument as Ot, Undefined as P, closeUnsafe as Pa, isSuccess$3 as Pc, withLogSpan as Pi, symbol$2 as Pl, catchDefect as Pn, squash as Po, never$1 as Pr, DisablePropagation as Ps, decodeUnknownEffect$1 as Pt, encode as Q, isDone as Qa, fromNullishOr$3 as Qc, recurs as Qi, constTrue as Ql, filter as Qn, exitZipRight as Qo, runForkWith as Qr, millis as Qs, passthrough$1 as Qt, UnknownFromJsonString as R, provide$3 as Ra, Service as Rc, yieldNow as Ri, symbol$3 as Rl, catchTag as Rn, LogLevelOrder as Ro, onInterrupt as Rr, Tracer as Rs, drop as Rt, Option as S, merge as Sa, isEmptyRecord as Sc, try_ as Si, identifier as Sl, all as Sn, fromReasons as So, logFatal as Sr, scopeAddFinalizerExit as Ss, optional as St, Struct as T, provideMerge as Ta, set$1 as Tc, undefined_$1 as Ti, BaseProto as Tl, annotateLogs as Tn, hasInterruptsOnly as To, makeSpanScoped as Tr, succeed$4 as Ts, tag as Tt, decode as U, TracerTimingEnabled as Ua, getOrUndefined as Uc, timer as Ui, isNotUndefined as Ul, currentSpan as Un, asSome$1 as Uo, provide as Ur, toPredicate as Us, toArray as Ut, brand as V, MinimumLogLevel as Va, get$1 as Vc, gauge as Vi, isNotNull as Vl, context as Vn, andThen$1 as Vo, orElseSucceed as Vr, compose as Vs, isEmpty as Vt, decodeEffect as W, _await as Wa, getUnsafe$2 as Wc, update as Wi, isNullish as Wl, delay as Wn, callback$1 as Wo, provideContext as Wr, days as Ws, toEncoded$1 as Wt, decodeUnknownOption as X, into as Xa, flatMap$4 as Xc, isSchedule as Xi, compose$2 as Xl, failCause as Xn, exitInterrupt as Xo, retry as Xr, isZero$1 as Xs, onSome as Xt, decodeUnknownExit as Y, interruptWith as Ya, firstSomeOf as Yc, forever$1 as Yi, cast as Yl, fail$1 as Yn, endSpan as Yo, result as Yr, isFinite$1 as Ys, forbidden as Yt, decodeUnknownSync as Z, isDeferred as Za, flatten$2 as Zc, passthrough$2 as Zi, constFalse as Zl, fiber as Zn, exitVoid as Zo, runFork as Zr, max$2 as Zs, parseJson as Zt, NonEmptyArray as _, effectContext as _a, makeEquivalence$2 as _c, tapErrorTag as _i, causeFail as _l, toUtc as _n, die$2 as _o, interruptibleMask as _r, makeSpanUnsafe as _s, isSchemaError as _t, DateTimeUtc as a, Random as aa, zero$1 as ac, scopedWith as ai, map$7 as al, value as an, interrupt$1 as ao, fnUntraced as ar, fiberJoin as as, isBetween as at, pipe as au, NullOr as b, fresh as ba, reverse as bc, timeoutOrElse as bi, exitFailCause as bl, acquireUseRelease as bn, filterInterruptors as bo, logDebug as br, reportCauseUnsafe as bs, makeFilter as bt, Defect as c, Clock as ca, ensure as cc, sleep as ci, some as cl, add as cn, match$3 as co, forkChild as cr, flatMap$2 as cs, isGreaterThanOrEqualTo as ct, Exit as d, Error$2 as da, fromIterable as dc, succeedSome as di, make$14 as dl, isGreaterThanOrEqualTo$1 as dn, Done as do, forkScoped as dr, forkDetach$1 as ds, isMaxLength as dt, catchDone as ea, minutes as ec, runPromiseExitWith as ei, getOrElse$1 as el, transformOrFail$1 as en, makeUnsafe$4 as eo, filterOrFail as er, fiberAwaitAll as es, encodeSync as et, constVoid as eu, Finite as f, TaggedError as fa, isArray as fc, suspend$1 as fi, strictEqual as fl, make$6 as fn, ExceededCapacityError as fo, gen as fr, getCurrentFiber as fs, isMaxProperties as ft, Never as g, effect as ga, lastNonEmpty as gc, tapError as gi, YieldableProto as gl, toEpochMillis as gn, combine as go, interruptible as gr, makeLatchUnsafe as gs, isSchema as gt, Literals as h, buildWithMemoMap as ha, last as hc, tapCause as hi, PipeInspectableProto as hl, toDate as hn, UnknownError as ho, interrupt as hr, makeLatch as hs, isPattern as ht, Class as i, matchEffect$1 as ia, toSeconds as ic, scoped as ii, isSome as il, make$5 as in, failCause$2 as io, fn as ir, fiberInterruptAs as is, is as it, identity as iu, URL$1 as j, addFinalizer$1 as ja, failVoid as jc, when as ji, redact as jl, cachedWithTTL as jn, map$2 as jo, matchCauseEffect as jr, updateContext$1 as js, withDecodingDefault as jt, Trim as k, unwrap as ka, makeEquivalence$4 as kc, useSpan as ki, format$4 as kl, asVoid as kn, isTimeoutError as ko, mapErrorEager as kr, tracerLogger as ks, toType as kt, Duration as l, currentTimeMillis as la, filter$2 as lc, succeed as li, Number$5 as ll, distance as ln, succeed$3 as lo, forkDetach as lr, fnUntraced$1 as ls, isInt as lt, Literal as m, build as ma, isReadonlyArrayNonEmpty as mc, tap as mi, EffectProto as ml, now as mn, StackTrace as mo, ignoreCause as mr, loggerMake as ms, isNonEmpty as mt, ArraySchema as n, filterDone as na, times as nc, runSync as ni, getOrUndefined$1 as nl, Pointer as nn, die$1 as no, flatMapEager as nr, fiberInterruptAll as ns, encodeUnknownExit as nt, dual as nu, DateTimeUtcFromString as o, clamp$1 as oa, allocate as oc, service as oi, match$7 as ol, stringOrRedacted as on, isFailure$1 as oo, forEach as or, fiberJoinAll as os, isFinite as ot, pipeArguments as ou, Int as p, CurrentMemoMap as pa, isArrayNonEmpty as pc, sync as pi, Done$1 as pl, makeUnsafe$1 as pn, NoSuchElementError as po, ignore as pr, isLogLevelGreaterThan as ps, isMinLength as pt, decodeTo as q, fail$2 as qa, merge$1 as qc, both as qi, isUndefined as ql, ensuring as qn, contextWith$1 as qo, raceFirst as qr, fromInputUnsafe as qs, transform as qt, Boolean as r, isDoneCause as ra, toMillis as rc, scope as ri, isNone as rl, makeFormatterDefault as rn, fail$3 as ro, flatten as rr, fiberInterruptAllAs as rs, fromJsonString as rt, flow as ru, DateValid as s, parse as sa, empty$3 as sc, serviceOption as si, none as sl, encodeBase64Url$1 as sn, isSuccess$1 as so, forever as sr, fiberRunIn as ss, isGreaterThan as st, Any as t, doneExitFromCause as ta, seconds as tc, runPromiseWith as ti, getOrNull as tl, InvalidValue as tn, succeed$2 as to, flatMap as tr, fiberInterrupt as ts, encodeUnknownEffect as tt, constant as tu, ErrorClass as u, Class$1 as ua, flatMapNullishOr as uc, succeedNone as ui, make$13 as ul, formatIso as un, void_$2 as uo, forkIn as ur, forever$2 as us, isLessThanOrEqualTo as ut, NonEmptyString as v, effectDiscard as va, map$4 as vc, timeout as vi, evaluate as vl, Transaction as vn, done$1 as vo, isEffect as vr, onExit$1 as vs, link as vt, String$1 as w, provide$2 as wa, map$5 as wc, txRetry as wi, withFiber$1 as wl, annotateCurrentSpan as wn, hasInterrupts$1 as wo, logWarning as wr, structuredMessage as ws, suspend as wt, Number$1 as x, launch as xa, sort as xc, tryPromise as xi, exitSucceed as xl, addFinalizer as xn, findError$1 as xo, logError as xr, scope$1 as xs, mutable as xt, Null as y, empty$1 as ya, of$1 as yc, timeoutOption as yi, exitFail as yl, acquireRelease as yn, fail$4 as yo, log as yr, onExitPrimitive$1 as ys, make as yt, Void as z, CurrentLogAnnotations as za, add$2 as zc, zipWith as zi, compose$1 as zl, catchTags as zn, LogToStderr$1 as zo, option as zr, externalSpan as zs, empty as zt };
|
|
28071
28133
|
|
|
28072
|
-
//# sourceMappingURL=Schema-
|
|
28134
|
+
//# sourceMappingURL=Schema-CJyk7ah1.mjs.map
|
|
@@ -8461,6 +8461,13 @@ const uninterruptibleMask$1 = (f) => withFiber$1((fiber) => {
|
|
|
8461
8461
|
return f(interruptible$1);
|
|
8462
8462
|
});
|
|
8463
8463
|
/** @internal */
|
|
8464
|
+
const interruptibleMask$1 = (f) => withFiber$1((fiber) => {
|
|
8465
|
+
if (fiber.interruptible) return f(identity);
|
|
8466
|
+
fiber.interruptible = true;
|
|
8467
|
+
fiber._stack.push(setInterruptibleFalse);
|
|
8468
|
+
return f(uninterruptible$1);
|
|
8469
|
+
});
|
|
8470
|
+
/** @internal */
|
|
8464
8471
|
const all$1 = (arg, options) => {
|
|
8465
8472
|
if (isIterable(arg)) return options?.mode === "result" ? forEach$1(arg, result$1, options) : forEach$1(arg, identity, options);
|
|
8466
8473
|
else if (options?.discard) return options.mode === "result" ? forEach$1(Object.values(arg), result$1, options) : forEach$1(Object.values(arg), identity, options);
|
|
@@ -9017,7 +9024,15 @@ var IllegalArgumentError$1 = class extends TaggedError$1("IllegalArgumentError")
|
|
|
9017
9024
|
super({ message });
|
|
9018
9025
|
}
|
|
9019
9026
|
};
|
|
9020
|
-
|
|
9027
|
+
/** @internal */
|
|
9028
|
+
const ExceededCapacityErrorTypeId$1 = "~effect/Cause/ExceededCapacityError";
|
|
9029
|
+
/** @internal */
|
|
9030
|
+
var ExceededCapacityError$1 = class extends TaggedError$1("ExceededCapacityError") {
|
|
9031
|
+
[ExceededCapacityErrorTypeId$1] = ExceededCapacityErrorTypeId$1;
|
|
9032
|
+
constructor(message) {
|
|
9033
|
+
super({ message });
|
|
9034
|
+
}
|
|
9035
|
+
};
|
|
9021
9036
|
/** @internal */
|
|
9022
9037
|
const AsyncFiberErrorTypeId$1 = "~effect/Cause/AsyncFiberError";
|
|
9023
9038
|
/** @internal */
|
|
@@ -9873,6 +9888,22 @@ const isTimeoutError = isTimeoutError$1;
|
|
|
9873
9888
|
*/
|
|
9874
9889
|
const IllegalArgumentError = IllegalArgumentError$1;
|
|
9875
9890
|
/**
|
|
9891
|
+
* Constructs an {@link ExceededCapacityError} with an optional message.
|
|
9892
|
+
*
|
|
9893
|
+
* **Example** (creating an ExceededCapacityError)
|
|
9894
|
+
*
|
|
9895
|
+
* ```ts
|
|
9896
|
+
* import { Cause } from "effect"
|
|
9897
|
+
*
|
|
9898
|
+
* const error = new Cause.ExceededCapacityError("Queue full")
|
|
9899
|
+
* console.log(error.message) // "Queue full"
|
|
9900
|
+
* ```
|
|
9901
|
+
*
|
|
9902
|
+
* @category constructors
|
|
9903
|
+
* @since 4.0.0
|
|
9904
|
+
*/
|
|
9905
|
+
const ExceededCapacityError = ExceededCapacityError$1;
|
|
9906
|
+
/**
|
|
9876
9907
|
* Constructs an {@link UnknownError}. The first argument is the original
|
|
9877
9908
|
* cause (stored in `Error.cause`); the second is an optional human-readable
|
|
9878
9909
|
* message.
|
|
@@ -17383,6 +17414,37 @@ const uninterruptible = uninterruptible$1;
|
|
|
17383
17414
|
*/
|
|
17384
17415
|
const uninterruptibleMask = uninterruptibleMask$1;
|
|
17385
17416
|
/**
|
|
17417
|
+
* This function behaves like {@link interruptible}, but it also provides a
|
|
17418
|
+
* `restore` function. This function can be used to restore the interruptibility
|
|
17419
|
+
* of any specific region of code.
|
|
17420
|
+
*
|
|
17421
|
+
* @example
|
|
17422
|
+
* ```ts
|
|
17423
|
+
* import { Console, Effect } from "effect"
|
|
17424
|
+
*
|
|
17425
|
+
* const program = Effect.interruptibleMask((restore) =>
|
|
17426
|
+
* Effect.gen(function*() {
|
|
17427
|
+
* yield* Console.log("Interruptible phase...")
|
|
17428
|
+
* yield* Effect.sleep("1 second")
|
|
17429
|
+
*
|
|
17430
|
+
* // Make this part uninterruptible
|
|
17431
|
+
* yield* restore(
|
|
17432
|
+
* Effect.gen(function*() {
|
|
17433
|
+
* yield* Console.log("Uninterruptible phase...")
|
|
17434
|
+
* yield* Effect.sleep("2 seconds")
|
|
17435
|
+
* })
|
|
17436
|
+
* )
|
|
17437
|
+
*
|
|
17438
|
+
* yield* Console.log("Back to interruptible")
|
|
17439
|
+
* })
|
|
17440
|
+
* )
|
|
17441
|
+
* ```
|
|
17442
|
+
*
|
|
17443
|
+
* @since 2.0.0
|
|
17444
|
+
* @category Interruption
|
|
17445
|
+
*/
|
|
17446
|
+
const interruptibleMask = interruptibleMask$1;
|
|
17447
|
+
/**
|
|
17386
17448
|
* Repeats this effect forever (until the first error).
|
|
17387
17449
|
*
|
|
17388
17450
|
* @example
|
|
@@ -28223,6 +28285,12 @@ Object.defineProperty(exports, "ErrorClass", {
|
|
|
28223
28285
|
return ErrorClass;
|
|
28224
28286
|
}
|
|
28225
28287
|
});
|
|
28288
|
+
Object.defineProperty(exports, "ExceededCapacityError", {
|
|
28289
|
+
enumerable: true,
|
|
28290
|
+
get: function() {
|
|
28291
|
+
return ExceededCapacityError;
|
|
28292
|
+
}
|
|
28293
|
+
});
|
|
28226
28294
|
Object.defineProperty(exports, "Exit", {
|
|
28227
28295
|
enumerable: true,
|
|
28228
28296
|
get: function() {
|
|
@@ -29819,6 +29887,12 @@ Object.defineProperty(exports, "interruptible", {
|
|
|
29819
29887
|
return interruptible;
|
|
29820
29888
|
}
|
|
29821
29889
|
});
|
|
29890
|
+
Object.defineProperty(exports, "interruptibleMask", {
|
|
29891
|
+
enumerable: true,
|
|
29892
|
+
get: function() {
|
|
29893
|
+
return interruptibleMask;
|
|
29894
|
+
}
|
|
29895
|
+
});
|
|
29822
29896
|
Object.defineProperty(exports, "interruptors", {
|
|
29823
29897
|
enumerable: true,
|
|
29824
29898
|
get: function() {
|
|
@@ -31332,4 +31406,4 @@ Object.defineProperty(exports, "zipWith", {
|
|
|
31332
31406
|
}
|
|
31333
31407
|
});
|
|
31334
31408
|
|
|
31335
|
-
//# sourceMappingURL=Schema-
|
|
31409
|
+
//# sourceMappingURL=Schema-dLi7Qssy.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const require_Schema = require("./Schema-
|
|
4
|
-
const require_Path = require("./Path-
|
|
3
|
+
const require_Schema = require("./Schema-dLi7Qssy.cjs");
|
|
4
|
+
const require_Path = require("./Path-Be7zSwar.cjs");
|
|
5
5
|
//#region ../../node_modules/.bun/effect@4.0.0-beta.51/node_modules/effect/dist/unstable/reactivity/Reactivity.js
|
|
6
6
|
/**
|
|
7
7
|
* @since 4.0.0
|
|
@@ -55,7 +55,7 @@ const make$2 = /* @__PURE__ */ require_Schema.sync(() => {
|
|
|
55
55
|
const query = (keys, effect) => require_Schema.gen(function* () {
|
|
56
56
|
const services = yield* require_Schema.context();
|
|
57
57
|
const scope = require_Schema.get(services, require_Schema.Scope);
|
|
58
|
-
const results = yield* require_Path.make$
|
|
58
|
+
const results = yield* require_Path.make$6();
|
|
59
59
|
const runFork = require_Schema.flow(require_Schema.runForkWith(services), require_Path.runIn(scope));
|
|
60
60
|
let running = false;
|
|
61
61
|
let pending = false;
|
|
@@ -1170,4 +1170,4 @@ Object.defineProperty(exports, "makeCompilerSqlite", {
|
|
|
1170
1170
|
}
|
|
1171
1171
|
});
|
|
1172
1172
|
|
|
1173
|
-
//# sourceMappingURL=SqlError-
|
|
1173
|
+
//# sourceMappingURL=SqlError-Bt0Bcd5C.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { Aa as
|
|
4
|
-
import {
|
|
3
|
+
import { $l as constUndefined, Aa as Scope, Ai as void_, Bl as hasProperty, Br as orDie, Di as uninterruptibleMask, E as TaggedErrorClass, Er as map, Gr as provideService, Hc as getOption, Hn as contextWith, I as Union, Ia as make$3, Il as hash, Ir as onExit, Jc as mutate, Jn as exit, Lc as Reference, Ls as ParentSpan, Na as close, Ni as withFiber, Qr as runForkWith, Ra as provide, Rc as Service, Sl as identifier$1, St as optional, Tr as makeSpanScoped, Ua as TracerTimingEnabled, Vc as get, Vn as context, Wr as provideContext, Yo as endSpan, _s as makeSpanUnsafe, ar as fnUntraced, c as Defect, ca as Clock, fi as suspend, fr as gen, ga as effect, ii as scoped, ja as addFinalizer, ki as useSpan, li as succeed, mi as tap, ml as EffectProto, ol as match, pi as sync, qn as ensuring, ru as flow, si as serviceOption, so as isSuccess, tr as flatMap, vl as evaluate, w as String$1, zc as add } from "./Schema-CJyk7ah1.mjs";
|
|
4
|
+
import { At as make$4, E as fromQueue, Nt as offerUnsafe, Zt as runIn, kt as failCauseUnsafe, rt as unwrap } from "./Path-C6Zb2WHp.mjs";
|
|
5
5
|
//#region ../../node_modules/.bun/effect@4.0.0-beta.51/node_modules/effect/dist/unstable/reactivity/Reactivity.js
|
|
6
6
|
/**
|
|
7
7
|
* @since 4.0.0
|
|
@@ -1037,4 +1037,4 @@ const classifySqliteError = (cause, { message, operation } = {}) => {
|
|
|
1037
1037
|
//#endregion
|
|
1038
1038
|
export { layer as S, defaultEscape as _, DeadlockError as a, makeCompiler as b, SqlError as c, UnknownError as d, classifySqliteError as f, custom as g, make as h, ConstraintError as i, SqlSyntaxError as l, SqlClient as m, AuthorizationError as n, LockTimeoutError as o, SafeIntegers as p, ConnectionError as r, SerializationError as s, AuthenticationError as t, StatementTimeoutError as u, defaultTransforms as v, makeCompilerSqlite as x, fragment as y };
|
|
1039
1039
|
|
|
1040
|
-
//# sourceMappingURL=SqlError-
|
|
1040
|
+
//# sourceMappingURL=SqlError-cyJT2IRY.mjs.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
require("./chunk-BhaIgcZK.cjs");
|
|
4
|
-
const require_Schema = require("./Schema-
|
|
5
|
-
const require_Path = require("./Path-
|
|
6
|
-
const require_Config = require("./Config-
|
|
7
|
-
const require_SqlError = require("./SqlError-
|
|
4
|
+
const require_Schema = require("./Schema-dLi7Qssy.cjs");
|
|
5
|
+
const require_Path = require("./Path-Be7zSwar.cjs");
|
|
6
|
+
const require_Config = require("./Config-CkEzdD9L.cjs");
|
|
7
|
+
const require_SqlError = require("./SqlError-Bt0Bcd5C.cjs");
|
|
8
8
|
let bun_sqlite = require("bun:sqlite");
|
|
9
9
|
//#region ../../node_modules/.bun/@effect+sql-sqlite-bun@4.0.0-beta.51+01a8f9cec8f1c5e8/node_modules/@effect/sql-sqlite-bun/dist/SqliteClient.js
|
|
10
10
|
/**
|
|
@@ -86,7 +86,7 @@ const make = (options) => require_Schema.gen(function* () {
|
|
|
86
86
|
})
|
|
87
87
|
});
|
|
88
88
|
});
|
|
89
|
-
const semaphore = yield* require_Path.make$
|
|
89
|
+
const semaphore = yield* require_Path.make$5(1);
|
|
90
90
|
const connection = yield* makeConnection;
|
|
91
91
|
const acquirer = semaphore.withPermits(1)(require_Schema.succeed(connection));
|
|
92
92
|
const transactionAcquirer = require_Schema.uninterruptibleMask((restore) => {
|
|
@@ -124,4 +124,4 @@ exports.layer = layer;
|
|
|
124
124
|
exports.layerConfig = layerConfig;
|
|
125
125
|
exports.make = make;
|
|
126
126
|
|
|
127
|
-
//# sourceMappingURL=SqliteClient-
|
|
127
|
+
//# sourceMappingURL=SqliteClient-B08FzZM4.cjs.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { Aa as
|
|
4
|
-
import {
|
|
5
|
-
import { h as unwrap } from "./Config-
|
|
6
|
-
import { S as layer$1, c as SqlError, f as classifySqliteError, h as make$3, m as SqlClient, p as SafeIntegers, v as defaultTransforms, x as makeCompilerSqlite } from "./SqlError-
|
|
3
|
+
import { Aa as Scope, Di as uninterruptibleMask, Dn as as, Er as map, Gc as make$1, Ni as withFiber, Rc as Service, Si as try_, Vc as get, Wc as getUnsafe, Yn as fail, _a as effectContext, fr as gen, iu as identity, ja as addFinalizer$1, li as succeed, mi as tap, pi as sync, tr as flatMap, wa as provide, xn as addFinalizer, zc as add } from "./Schema-CJyk7ah1.mjs";
|
|
4
|
+
import { Ct as make$2, Jt as getCurrent, p as die } from "./Path-C6Zb2WHp.mjs";
|
|
5
|
+
import { h as unwrap } from "./Config-AqUR_lhX.mjs";
|
|
6
|
+
import { S as layer$1, c as SqlError, f as classifySqliteError, h as make$3, m as SqlClient, p as SafeIntegers, v as defaultTransforms, x as makeCompilerSqlite } from "./SqlError-cyJT2IRY.mjs";
|
|
7
7
|
import { Database } from "bun:sqlite";
|
|
8
8
|
//#region ../../node_modules/.bun/@effect+sql-sqlite-bun@4.0.0-beta.51+01a8f9cec8f1c5e8/node_modules/@effect/sql-sqlite-bun/dist/SqliteClient.js
|
|
9
9
|
/**
|
|
@@ -118,4 +118,4 @@ const layer = (config) => effectContext(map(make(config), (client) => make$1(Sql
|
|
|
118
118
|
//#endregion
|
|
119
119
|
export { SqliteClient, TypeId, layer, layerConfig, make };
|
|
120
120
|
|
|
121
|
-
//# sourceMappingURL=SqliteClient-
|
|
121
|
+
//# sourceMappingURL=SqliteClient-CIsITMoQ.mjs.map
|