@kitman-sh/cli 0.10.100 → 0.10.101
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/{chunk-1kww1jdz.js → chunk-30mfra3r.js} +1 -1
- package/dist/{chunk-wyh06par.js → chunk-4kxjvd6d.js} +138 -292
- package/dist/{chunk-p3kwtm82.js → chunk-5esfnamp.js} +2 -2
- package/dist/{chunk-1nw7sbtr.js → chunk-756n3pq8.js} +4 -4
- package/dist/{chunk-mjrr0wzp.js → chunk-9nrr1dwr.js} +177 -28
- package/dist/{chunk-cpx45jzk.js → chunk-afy705a7.js} +5 -5
- package/dist/{chunk-5z0cwmet.js → chunk-b1cn9zfa.js} +75 -28
- package/dist/{chunk-gs6qdy2k.js → chunk-c7ym0ce7.js} +2 -2
- package/dist/{chunk-ayfdkptb.js → chunk-che5w0y4.js} +60 -60
- package/dist/{chunk-tk85pw4z.js → chunk-e70qpgft.js} +9 -9
- package/dist/{chunk-6sanfepb.js → chunk-hv44tcjs.js} +6 -6
- package/dist/{chunk-wzkdjdb7.js → chunk-hxqxdy21.js} +1 -1
- package/dist/{chunk-mtz8f1hn.js → chunk-hzf25za9.js} +7 -7
- package/dist/{chunk-hcpjfshb.js → chunk-ne0vptcd.js} +6 -6
- package/dist/{chunk-1k3cvdbt.js → chunk-psz28edd.js} +4 -4
- package/dist/{chunk-9xj0djtp.js → chunk-q492wb19.js} +8 -8
- package/dist/{chunk-tqw2rkc9.js → chunk-qhyzesdb.js} +3 -3
- package/dist/{chunk-vatjyw59.js → chunk-r16msggg.js} +17 -17
- package/dist/{chunk-4c78jfqk.js → chunk-s27r6x3a.js} +5 -5
- package/dist/{chunk-qv9te9gr.js → chunk-tbrpndp2.js} +2 -2
- package/dist/{chunk-r3rap6hz.js → chunk-x75d47ez.js} +19 -19
- package/dist/{chunk-mk8vsaj7.js → chunk-xckn5gax.js} +1 -1
- package/dist/{chunk-cy7cy84h.js → chunk-xyfs9f2k.js} +10 -10
- package/dist/{chunk-0rf10v29.js → chunk-yjnrw9yb.js} +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
|
@@ -1331,11 +1331,11 @@ var Prototype = (options) => makePrimitiveProto({
|
|
|
1331
1331
|
});
|
|
1332
1332
|
|
|
1333
1333
|
// node_modules/.bun/effect@4.1.2/node_modules/effect/dist/Equivalence.js
|
|
1334
|
-
var
|
|
1334
|
+
var make14 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
|
|
1335
1335
|
var isStrictEquivalent = (x, y) => x === y;
|
|
1336
1336
|
var strictEqual = () => isStrictEquivalent;
|
|
1337
1337
|
function Tuple(elements) {
|
|
1338
|
-
return
|
|
1338
|
+
return make14((self, that) => {
|
|
1339
1339
|
if (self.length !== that.length) {
|
|
1340
1340
|
return false;
|
|
1341
1341
|
}
|
|
@@ -1348,7 +1348,7 @@ function Tuple(elements) {
|
|
|
1348
1348
|
});
|
|
1349
1349
|
}
|
|
1350
1350
|
function Array_(item) {
|
|
1351
|
-
return
|
|
1351
|
+
return make14((self, that) => {
|
|
1352
1352
|
if (self.length !== that.length)
|
|
1353
1353
|
return false;
|
|
1354
1354
|
for (let i = 0;i < self.length; i++) {
|
|
@@ -1566,7 +1566,7 @@ var ServiceProto = {
|
|
|
1566
1566
|
.../* @__PURE__ */ Prototype({
|
|
1567
1567
|
label: "Service",
|
|
1568
1568
|
evaluate(fiber) {
|
|
1569
|
-
return exitSucceed(
|
|
1569
|
+
return exitSucceed(get4(fiber.context, this));
|
|
1570
1570
|
}
|
|
1571
1571
|
}),
|
|
1572
1572
|
toJSON() {
|
|
@@ -1579,13 +1579,13 @@ var ServiceProto = {
|
|
|
1579
1579
|
return self;
|
|
1580
1580
|
},
|
|
1581
1581
|
context(self) {
|
|
1582
|
-
return
|
|
1582
|
+
return make15(this, self);
|
|
1583
1583
|
},
|
|
1584
1584
|
use(f) {
|
|
1585
|
-
return withFiber((fiber) => f(
|
|
1585
|
+
return withFiber((fiber) => f(get4(fiber.context, this)));
|
|
1586
1586
|
},
|
|
1587
1587
|
useSync(f) {
|
|
1588
|
-
return withFiber((fiber) => exitSucceed(f(
|
|
1588
|
+
return withFiber((fiber) => exitSucceed(f(get4(fiber.context, this))));
|
|
1589
1589
|
}
|
|
1590
1590
|
};
|
|
1591
1591
|
var cacheKeys = /* @__PURE__ */ new Set;
|
|
@@ -1683,7 +1683,7 @@ var isContext = (u) => hasProperty(u, TypeId3);
|
|
|
1683
1683
|
var isReference = (u) => !!u[ReferenceTypeId];
|
|
1684
1684
|
var empty3 = () => emptyContext2;
|
|
1685
1685
|
var emptyContext2 = /* @__PURE__ */ makeUnsafe4(/* @__PURE__ */ new Map);
|
|
1686
|
-
var
|
|
1686
|
+
var make15 = (key, service) => makeUnsafe4(new Map([[key.key, service]]));
|
|
1687
1687
|
var add = /* @__PURE__ */ dual(3, (self, key, service) => addUnsafe(self, key.key, service));
|
|
1688
1688
|
var addUnsafe = (self, key, service) => {
|
|
1689
1689
|
const impl = self;
|
|
@@ -1715,7 +1715,7 @@ var getUnsafe = /* @__PURE__ */ dual(2, (self, service) => {
|
|
|
1715
1715
|
}
|
|
1716
1716
|
return value;
|
|
1717
1717
|
});
|
|
1718
|
-
var
|
|
1718
|
+
var get4 = getUnsafe;
|
|
1719
1719
|
var defaultValueCacheKey = "~effect/Context/defaultValue";
|
|
1720
1720
|
var getDefaultValue = (ref) => {
|
|
1721
1721
|
if (defaultValueCacheKey in ref) {
|
|
@@ -2995,7 +2995,7 @@ class FiberImpl {
|
|
|
2995
2995
|
return this._dispatcher ??= this.cache.scheduler.makeDispatcher();
|
|
2996
2996
|
}
|
|
2997
2997
|
getRef(ref) {
|
|
2998
|
-
return
|
|
2998
|
+
return get4(this.context, ref);
|
|
2999
2999
|
}
|
|
3000
3000
|
addObserver(cb) {
|
|
3001
3001
|
if (this._exit) {
|
|
@@ -3023,7 +3023,7 @@ class FiberImpl {
|
|
|
3023
3023
|
}
|
|
3024
3024
|
let cause = causeInterrupt(fiberId);
|
|
3025
3025
|
if (this.cache.stackFrame) {
|
|
3026
|
-
cause = causeAnnotate(cause,
|
|
3026
|
+
cause = causeAnnotate(cause, make15(StackTraceKey, this.cache.stackFrame));
|
|
3027
3027
|
}
|
|
3028
3028
|
if (annotations) {
|
|
3029
3029
|
cause = causeAnnotate(cause, annotations);
|
|
@@ -3196,17 +3196,17 @@ class FiberImpl {
|
|
|
3196
3196
|
var makeFiberContextCache = (context) => {
|
|
3197
3197
|
const currentTracer = getOrUndefinedUnsafe(context, TracerKey);
|
|
3198
3198
|
return {
|
|
3199
|
-
scheduler:
|
|
3199
|
+
scheduler: get4(context, Scheduler),
|
|
3200
3200
|
tracer: currentTracer,
|
|
3201
3201
|
tracerContext: currentTracer ? currentTracer["context"] : undefined,
|
|
3202
|
-
tracerEnabled:
|
|
3202
|
+
tracerEnabled: get4(context, TracerEnabled),
|
|
3203
3203
|
span: getOrUndefinedUnsafe(context, ParentSpanKey),
|
|
3204
|
-
logLevel:
|
|
3205
|
-
minimumLogLevel:
|
|
3206
|
-
stackFrame:
|
|
3204
|
+
logLevel: get4(context, CurrentLogLevel),
|
|
3205
|
+
minimumLogLevel: get4(context, MinimumLogLevel),
|
|
3206
|
+
stackFrame: get4(context, CurrentStackFrame),
|
|
3207
3207
|
runtimeMetrics: getOrUndefinedUnsafe(context, FiberRuntimeMetricsKey),
|
|
3208
|
-
maxOpsBeforeYield:
|
|
3209
|
-
preventYield:
|
|
3208
|
+
maxOpsBeforeYield: get4(context, MaxOpsBeforeYield),
|
|
3209
|
+
preventYield: get4(context, PreventSchedulerYield)
|
|
3210
3210
|
};
|
|
3211
3211
|
};
|
|
3212
3212
|
var deferredInterruptCont = {
|
|
@@ -4703,10 +4703,10 @@ var noopSpan = (options) => Object.assign(Object.create(NoopSpanProto), options)
|
|
|
4703
4703
|
var filterDisablePropagation = (span) => {
|
|
4704
4704
|
if (!span)
|
|
4705
4705
|
return none();
|
|
4706
|
-
return
|
|
4706
|
+
return get4(span.annotations, DisablePropagation) ? span._tag === "Span" ? filterDisablePropagation(getOrUndefined(span.parent)) : none() : some(span);
|
|
4707
4707
|
};
|
|
4708
4708
|
var makeSpanUnsafe = (fiber, name, options) => {
|
|
4709
|
-
const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations &&
|
|
4709
|
+
const disablePropagation = !fiber.cache.tracerEnabled || options?.annotations && get4(options.annotations, DisablePropagation);
|
|
4710
4710
|
const parent = options?.parent !== undefined ? some(options.parent) : options?.root ? none() : filterDisablePropagation(fiber.cache.span);
|
|
4711
4711
|
let span;
|
|
4712
4712
|
if (disablePropagation) {
|
|
@@ -5120,7 +5120,7 @@ var DeferredImpl = function() {
|
|
|
5120
5120
|
};
|
|
5121
5121
|
DeferredImpl.prototype = DeferredProto;
|
|
5122
5122
|
var makeUnsafe5 = () => new DeferredImpl;
|
|
5123
|
-
var
|
|
5123
|
+
var make16 = () => sync(() => makeUnsafe5());
|
|
5124
5124
|
var _await = (self) => callback2((resume) => {
|
|
5125
5125
|
if (self.effect)
|
|
5126
5126
|
return resume(self.effect);
|
|
@@ -5268,9 +5268,9 @@ var build = (self) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap
|
|
|
5268
5268
|
var buildWithScope = /* @__PURE__ */ dual(2, (self, scope) => withFiber((fiber) => buildWithMemoMap(self, CurrentMemoMap.forkOrCreate(fiber.context), scope)));
|
|
5269
5269
|
var succeed5 = function() {
|
|
5270
5270
|
if (arguments.length === 1) {
|
|
5271
|
-
return (resource) => succeedContext(
|
|
5271
|
+
return (resource) => succeedContext(make15(arguments[0], resource));
|
|
5272
5272
|
}
|
|
5273
|
-
return succeedContext(
|
|
5273
|
+
return succeedContext(make15(arguments[0], arguments[1]));
|
|
5274
5274
|
};
|
|
5275
5275
|
var succeedContext = (context) => fromBuildUnsafe(constant(succeed2(context)));
|
|
5276
5276
|
var effect = function() {
|
|
@@ -5279,7 +5279,7 @@ var effect = function() {
|
|
|
5279
5279
|
}
|
|
5280
5280
|
return effectImpl(arguments[0], arguments[1]);
|
|
5281
5281
|
};
|
|
5282
|
-
var effectImpl = (service, effect) => effectContext(map7(effect, (value) =>
|
|
5282
|
+
var effectImpl = (service, effect) => effectContext(map7(effect, (value) => make15(service, value)));
|
|
5283
5283
|
var effectContext = (effect) => fromBuildMemo((_, scope) => provide(effect, scope));
|
|
5284
5284
|
var effectDiscard = (effect) => effectContext(as2(effect, empty3()));
|
|
5285
5285
|
var mergeAllEffect = (layers, memoMap, scope) => {
|
|
@@ -8883,7 +8883,7 @@ function recur(ast) {
|
|
|
8883
8883
|
const rest = ast.rest.map(recur);
|
|
8884
8884
|
const [head, ...tail] = rest;
|
|
8885
8885
|
const tailLength = tail.length;
|
|
8886
|
-
return
|
|
8886
|
+
return make14((a, b) => {
|
|
8887
8887
|
if (!Array.isArray(a) || !Array.isArray(b)) {
|
|
8888
8888
|
return false;
|
|
8889
8889
|
}
|
|
@@ -8918,7 +8918,7 @@ function recur(ast) {
|
|
|
8918
8918
|
}
|
|
8919
8919
|
const propertySignatures = ast.propertySignatures.map((ps) => recur(ps.type));
|
|
8920
8920
|
const indexSignatures = ast.indexSignatures.map((is) => recur(is.type));
|
|
8921
|
-
return
|
|
8921
|
+
return make14((a, b) => {
|
|
8922
8922
|
if (!isObject2(a) || !isObject2(b)) {
|
|
8923
8923
|
return false;
|
|
8924
8924
|
}
|
|
@@ -8956,7 +8956,7 @@ function recur(ast) {
|
|
|
8956
8956
|
const types = toType2(ast).types;
|
|
8957
8957
|
const index = getCandidateIndex(types);
|
|
8958
8958
|
const compiled = types.map((candidate, i) => [_is(candidate), recur(ast.types[i])]);
|
|
8959
|
-
return
|
|
8959
|
+
return make14((a, b) => {
|
|
8960
8960
|
const candidates = index(a, false);
|
|
8961
8961
|
for (let i = 0;i < candidates.length; i++) {
|
|
8962
8962
|
const [is, equivalence] = compiled[candidates[i]];
|
|
@@ -8969,7 +8969,7 @@ function recur(ast) {
|
|
|
8969
8969
|
}
|
|
8970
8970
|
case "Suspend": {
|
|
8971
8971
|
let equivalence;
|
|
8972
|
-
return
|
|
8972
|
+
return make14((a, b) => (equivalence ??= toEquivalence2(ast.thunk()))(a, b));
|
|
8973
8973
|
}
|
|
8974
8974
|
}
|
|
8975
8975
|
}
|
|
@@ -9070,7 +9070,7 @@ function isSchemaError(u) {
|
|
|
9070
9070
|
var TypeId12 = TypeId11;
|
|
9071
9071
|
function declareConstructor() {
|
|
9072
9072
|
return (typeParameters, run, annotations) => {
|
|
9073
|
-
return
|
|
9073
|
+
return make17(new Declaration(typeParameters.map(getAST), (typeParameters) => run(typeParameters.map((ast) => make17(ast))), annotations));
|
|
9074
9074
|
};
|
|
9075
9075
|
}
|
|
9076
9076
|
function declare(is, annotations) {
|
|
@@ -9178,27 +9178,27 @@ function encodeUnknownSync(schema, options) {
|
|
|
9178
9178
|
};
|
|
9179
9179
|
}
|
|
9180
9180
|
var encodeSync = encodeUnknownSync;
|
|
9181
|
-
var
|
|
9181
|
+
var make17 = make5;
|
|
9182
9182
|
function isSchema(u) {
|
|
9183
9183
|
return hasProperty(u, TypeId12) && u[TypeId12] === TypeId12;
|
|
9184
9184
|
}
|
|
9185
|
-
var optionalKey = /* @__PURE__ */ lambda((schema) =>
|
|
9185
|
+
var optionalKey = /* @__PURE__ */ lambda((schema) => make17(optionalKey2(schema.ast), {
|
|
9186
9186
|
schema
|
|
9187
9187
|
}));
|
|
9188
9188
|
var optional = /* @__PURE__ */ lambda((self) => {
|
|
9189
9189
|
const schema = UndefinedOr(self);
|
|
9190
|
-
return
|
|
9190
|
+
return make17(optional2(self.ast), {
|
|
9191
9191
|
schema
|
|
9192
9192
|
});
|
|
9193
9193
|
});
|
|
9194
|
-
var toType = /* @__PURE__ */ lambda((schema) =>
|
|
9194
|
+
var toType = /* @__PURE__ */ lambda((schema) => make17(toType2(schema.ast), {
|
|
9195
9195
|
schema
|
|
9196
9196
|
}));
|
|
9197
|
-
var toEncoded2 = /* @__PURE__ */ lambda((schema) =>
|
|
9197
|
+
var toEncoded2 = /* @__PURE__ */ lambda((schema) => make17(toEncoded(schema.ast), {
|
|
9198
9198
|
schema
|
|
9199
9199
|
}));
|
|
9200
9200
|
function Literal(literal) {
|
|
9201
|
-
const out =
|
|
9201
|
+
const out = make17(new Literal2(literal), {
|
|
9202
9202
|
literal,
|
|
9203
9203
|
transform(to) {
|
|
9204
9204
|
return out.pipe(decodeTo2(Literal(to), {
|
|
@@ -9209,16 +9209,16 @@ function Literal(literal) {
|
|
|
9209
9209
|
});
|
|
9210
9210
|
return out;
|
|
9211
9211
|
}
|
|
9212
|
-
var Never = /* @__PURE__ */
|
|
9213
|
-
var Unknown = /* @__PURE__ */
|
|
9214
|
-
var Null = /* @__PURE__ */
|
|
9215
|
-
var Undefined2 = /* @__PURE__ */
|
|
9216
|
-
var String4 = /* @__PURE__ */
|
|
9217
|
-
var Number5 = /* @__PURE__ */
|
|
9218
|
-
var Boolean2 = /* @__PURE__ */
|
|
9219
|
-
var Void = /* @__PURE__ */
|
|
9212
|
+
var Never = /* @__PURE__ */ make17(never3);
|
|
9213
|
+
var Unknown = /* @__PURE__ */ make17(unknown);
|
|
9214
|
+
var Null = /* @__PURE__ */ make17(null_);
|
|
9215
|
+
var Undefined2 = /* @__PURE__ */ make17(undefined_3);
|
|
9216
|
+
var String4 = /* @__PURE__ */ make17(string2);
|
|
9217
|
+
var Number5 = /* @__PURE__ */ make17(number2);
|
|
9218
|
+
var Boolean2 = /* @__PURE__ */ make17(boolean);
|
|
9219
|
+
var Void = /* @__PURE__ */ make17(void_4);
|
|
9220
9220
|
function makeStruct(ast, fields) {
|
|
9221
|
-
return
|
|
9221
|
+
return make17(ast, {
|
|
9222
9222
|
fields,
|
|
9223
9223
|
mapFields(f, options) {
|
|
9224
9224
|
const fields = f(this.fields);
|
|
@@ -9230,25 +9230,25 @@ function Struct(fields) {
|
|
|
9230
9230
|
return makeStruct(struct(fields, undefined), fields);
|
|
9231
9231
|
}
|
|
9232
9232
|
function Record(key, value) {
|
|
9233
|
-
return
|
|
9233
|
+
return make17(record(key.ast, value.ast), {
|
|
9234
9234
|
key,
|
|
9235
9235
|
value
|
|
9236
9236
|
});
|
|
9237
9237
|
}
|
|
9238
9238
|
function StructWithRest(schema, records) {
|
|
9239
|
-
return
|
|
9239
|
+
return make17(structWithRest(schema.ast, records.map(getAST)), {
|
|
9240
9240
|
schema,
|
|
9241
9241
|
records
|
|
9242
9242
|
});
|
|
9243
9243
|
}
|
|
9244
|
-
var ArraySchema = /* @__PURE__ */ lambda((schema) =>
|
|
9244
|
+
var ArraySchema = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [], [schema.ast]), {
|
|
9245
9245
|
value: schema
|
|
9246
9246
|
}));
|
|
9247
|
-
var NonEmptyArray = /* @__PURE__ */ lambda((schema) =>
|
|
9247
|
+
var NonEmptyArray = /* @__PURE__ */ lambda((schema) => make17(new Arrays(false, [schema.ast], [schema.ast]), {
|
|
9248
9248
|
value: schema
|
|
9249
9249
|
}));
|
|
9250
9250
|
function makeUnion(ast, members) {
|
|
9251
|
-
return
|
|
9251
|
+
return make17(ast, {
|
|
9252
9252
|
members,
|
|
9253
9253
|
mapMembers(f, options) {
|
|
9254
9254
|
const members = f(this.members);
|
|
@@ -9261,7 +9261,7 @@ function Union(members, options) {
|
|
|
9261
9261
|
}
|
|
9262
9262
|
function Literals(literals) {
|
|
9263
9263
|
const members = literals.map(Literal);
|
|
9264
|
-
return
|
|
9264
|
+
return make17(union(members, undefined, undefined), {
|
|
9265
9265
|
literals,
|
|
9266
9266
|
members,
|
|
9267
9267
|
mapMembers(f) {
|
|
@@ -9278,18 +9278,18 @@ function Literals(literals) {
|
|
|
9278
9278
|
var NullOr = /* @__PURE__ */ lambda((self) => Union([self, Null]));
|
|
9279
9279
|
var UndefinedOr = /* @__PURE__ */ lambda((self) => Union([self, Undefined2]));
|
|
9280
9280
|
function suspend4(f) {
|
|
9281
|
-
return
|
|
9281
|
+
return make17(new Suspend(() => f().ast));
|
|
9282
9282
|
}
|
|
9283
9283
|
function decodeTo2(to, transformation) {
|
|
9284
9284
|
return (from) => {
|
|
9285
|
-
return
|
|
9285
|
+
return make17(decodeTo(from.ast, to.ast, transformation ? makeTransformation(transformation) : passthrough3()), {
|
|
9286
9286
|
from,
|
|
9287
9287
|
to
|
|
9288
9288
|
});
|
|
9289
9289
|
};
|
|
9290
9290
|
}
|
|
9291
9291
|
function withConstructorDefault2(defaultValue) {
|
|
9292
|
-
return (schema) =>
|
|
9292
|
+
return (schema) => make17(withConstructorDefault(schema.ast, defaultValue), {
|
|
9293
9293
|
schema
|
|
9294
9294
|
});
|
|
9295
9295
|
}
|
|
@@ -9365,7 +9365,7 @@ function isBase64(annotations) {
|
|
|
9365
9365
|
...annotations
|
|
9366
9366
|
});
|
|
9367
9367
|
}
|
|
9368
|
-
var Finite = /* @__PURE__ */
|
|
9368
|
+
var Finite = /* @__PURE__ */ make17(finite);
|
|
9369
9369
|
function makeIsGreaterThan(options) {
|
|
9370
9370
|
const gt = isGreaterThan2(options.order);
|
|
9371
9371
|
const formatter = options.formatter ?? format;
|
|
@@ -9888,7 +9888,7 @@ function CauseReason(error, defect) {
|
|
|
9888
9888
|
}
|
|
9889
9889
|
}))
|
|
9890
9890
|
});
|
|
9891
|
-
return
|
|
9891
|
+
return make17(schema.ast, {
|
|
9892
9892
|
error,
|
|
9893
9893
|
defect
|
|
9894
9894
|
});
|
|
@@ -9925,7 +9925,7 @@ function Cause(error, defect) {
|
|
|
9925
9925
|
}) => failures
|
|
9926
9926
|
}))
|
|
9927
9927
|
});
|
|
9928
|
-
return
|
|
9928
|
+
return make17(schema.ast, {
|
|
9929
9929
|
error,
|
|
9930
9930
|
defect
|
|
9931
9931
|
});
|
|
@@ -9986,7 +9986,7 @@ function Exit(value, error, defect) {
|
|
|
9986
9986
|
}
|
|
9987
9987
|
}))
|
|
9988
9988
|
});
|
|
9989
|
-
return
|
|
9989
|
+
return make17(schema.ast, {
|
|
9990
9990
|
value,
|
|
9991
9991
|
error,
|
|
9992
9992
|
defect
|
|
@@ -10090,7 +10090,7 @@ function getClassSchemaFactory(from, identifier, annotations) {
|
|
|
10090
10090
|
const ClassTypeId = getClassTypeId(identifier);
|
|
10091
10091
|
const isClassValue = (input) => input instanceof self || hasProperty(input, ClassTypeId);
|
|
10092
10092
|
const transformation = getClassTransformation(self);
|
|
10093
|
-
const to =
|
|
10093
|
+
const to = make17(new Declaration([from.ast], () => (input, ast, options) => {
|
|
10094
10094
|
return isClassValue(input) ? succeed6(input) : fail7(new InvalidType(ast, input, options));
|
|
10095
10095
|
}, {
|
|
10096
10096
|
identifier,
|
|
@@ -10143,7 +10143,7 @@ function toEquivalence(schema) {
|
|
|
10143
10143
|
}
|
|
10144
10144
|
var toCodecJson = toCodecJson2;
|
|
10145
10145
|
var toCodecStringTree = toCodecStringTree2;
|
|
10146
|
-
var Json = /* @__PURE__ */
|
|
10146
|
+
var Json = /* @__PURE__ */ make17(/* @__PURE__ */ annotate(Json2, {
|
|
10147
10147
|
toCode: () => ({
|
|
10148
10148
|
runtime: "Schema.Json",
|
|
10149
10149
|
Type: "Schema.Json"
|
|
@@ -10160,4 +10160,4 @@ var encodePrettyJsonString = encodeEffect(fromJsonString(Json, { space: 2 }));
|
|
|
10160
10160
|
var decodeJsonStringSync = decodeUnknownSync(JsonFromString);
|
|
10161
10161
|
var encodeUnknownJsonStringSync = encodeSync(fromJsonString(Unknown));
|
|
10162
10162
|
|
|
10163
|
-
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString2, isNumber2, isBoolean2, isBigInt2, isSymbol2, isFunction2, isUndefined2, isNotUndefined, isNotNull, isNullish, isObjectOrArray, isObject2, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype,
|
|
10163
|
+
export { pipeArguments, dual, identity, constant, constTrue, constFalse, constVoid, pipe, flow, memoize, isString2, isNumber2, isBoolean2, isBigInt2, isSymbol2, isFunction2, isUndefined2, isNotUndefined, isNotNull, isNullish, isObjectOrArray, isObject2, hasProperty, isTagged, isUint8Array, symbol, hash, combine, number, string, structure, array, symbol2, equals, asEquivalence, symbolRedactable, redact, currentFiberTypeId, format, NodeInspectSymbol, toJson, BaseProto, Class, getStackTraceLimit, setStackTraceLimit, assignProperty, args, evaluate, PipeInspectableProto, isExit, causeFail, makePrimitive, exitSucceed, exitFailCause, exitFail, withFiber, Done, Prototype, make14, strictEqual, Tuple, String3, Number2, mapInput, none, some, isNone, isSome, match, getOrElse, orElse, fromNullishOr, fromUndefinedOr, getOrUndefined, liftThrowable, map4, flatMap, toArray, filter2, exists, Service2, makeUnsafe4, empty3, make15, add, getOrUndefined2, getOrUndefinedUnsafe, getUnsafe, get4, merge3, Reference, fromInputUnsafe, isFinite, zero, infinity, millis, seconds, minutes, toMillis, min, max, subtract, format2, normalize, succeed, fail3, try_, isResult, isFailure, isSuccess, map5, getOrElse2, getOrThrow, all2, allocate, fromIterable, isArrayNonEmpty, isReadonlyArrayNonEmpty, isCanonicalArrayIndex, getUnsafe2, sort, of, map6, makeEquivalence2, TaggedClass, Error2, TaggedError, encode, DisablePropagation, getCurrentFiber, fiberJoin, fiberInterrupt, succeed2, sync, suspend2, succeedNone, void_, callback2, asSome, andThen, flatMap2, map7, exitInterrupt, exitVoid, exitZipRight, scopeAddFinalizer, scope, onExitPrimitive, onExitUnsafe, uninterruptibleMask, fiberRunIn, makeLatchUnsafe, makeLatch, ClockRef, currentTimeMillis2, ConsoleRef, succeed3, failCause2, fail4, die, interrupt2, void_2, isSuccess2, isFailure2, hasInterrupts, asVoidAll, makeUnsafe5, make16, _await, fail5, interruptWith, isDone, isDoneUnsafe, succeed4, doneUnsafe, TracerTimingEnabled, Scope, makeUnsafe6, provide, addFinalizerExit, addFinalizer, forkUnsafe, close, build, buildWithScope, succeed5, effect, effectContext, effectDiscard, mergeAll, provide2, provideMerge, isCause, isFailReason, isDieReason, fromReasons, fail6, die2, makeFailReason, makeDieReason, hasInterruptsOnly, squash, findError, findErrorOption, hasInterrupts2, interruptors, pretty, isDone2, Done2, done, IllegalArgumentError, UnknownError, reasonAnnotations, Random, catchDone, isDoneCause, filterDone, doneExitFromCause, matchEffect, max2, during, min2, exponential, jittered, spaced, isEffect, all3, findFirst, forEach, whileLoop, promise, tryPromise, succeed6, suspend3, sync2, void_3, undefined_, callback3, never, gen, fail7, failSync, failCause3, die3, try_2, yieldNow, withFiber2, fromResult, fromNullishOr2, flatMap3, flatten, andThen2, tap2, result, option2, exit, map8, as, asSome2, asVoid, zipWith, catch_, catchTag, catchTags, catchReason, catchCause2, catchDefect, catchIf, catchCauseIf, mapError2, orDie, tapError2, tapCause, retry, retryOrElse, ignore, ignoreCause, orElseSucceed, timeout, timeoutOption, timeoutOrElse, delay, sleep, raceAllFirst, raceFirst, filter3, filterOrFail, when, matchCauseEffect, matchEffect2, context, contextWith, provide3, provideContext2, service, serviceOption, updateContext, updateService, provideService, scope2, scoped, scopedWith, acquireRelease, acquireUseRelease, addFinalizer2, ensuring2, onError, onExitPrimitive2, onExit, cached, interrupt3, interruptible, onInterrupt, uninterruptible, uninterruptibleMask2, forever, repeat, annotateCurrentSpan, makeSpanScoped, useSpan, withSpan, withParentSpan, forkChild, forkIn, forkScoped, forkDetach, runFork, runForkWith, runPromise, runPromiseWith, runSync, runSyncExitWith, fnUntraced, fn, clockWith, logWarning, logError, logInfo, annotateLogs, effectify, mapEager, flatMapEager, catchEager, encode2, decode, Pointer, makeFormatterStandardSchemaV1, passthrough, transformEffect, Transformation, transform, defaultParseOptions, unknown, getIndexSignatureKeys, applyToSelfOrLastLinkEncoding, decodeTo, toEncoded, decodeUnknownEffect, omit, map9, declare, SchemaError, is, decodeUnknownEffect2, decodeEffect, decodeUnknownExit, decodeUnknownOption, decodeOption, decodeSync, encodeEffect, make17, isSchema, optionalKey, optional, toType, Literal, Never, Unknown, Null, String4, Boolean2, Void, Struct, Record, StructWithRest, ArraySchema, NonEmptyArray, Union, Literals, NullOr, UndefinedOr, suspend4, decodeTo2, withDecodingDefaultKey, tag, TaggedStruct, makeFilter, isPattern, Finite, isGreaterThan, isGreaterThanOrEqualTo, isLessThanOrEqualTo, Int, isMinLength, isMaxLength, isMinProperties, isMaxProperties, isUnique, NonEmptyString, Defect, Date2, fromJsonString, FiniteFromString, Cause, Exit, Class2, Error3, TaggedError2, toEquivalence, toCodecJson, toCodecStringTree, Json, JsonObject, decodeJsonString, decodeJsonStringOption, encodeJsonStringSync, encodePrettyJsonString, decodeJsonStringSync, encodeUnknownJsonStringSync };
|