@learncard/render-method-plugin 4.0.4 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plugin.d.ts.map +1 -1
- package/dist/read.d.ts.map +1 -1
- package/dist/render-method-plugin.cjs.development.cjs +146 -119
- package/dist/render-method-plugin.cjs.development.cjs.map +3 -3
- package/dist/render-method-plugin.cjs.production.min.cjs +10 -10
- package/dist/render-method-plugin.cjs.production.min.cjs.map +3 -3
- package/dist/render-method-plugin.esm.js +146 -119
- package/dist/render-method-plugin.esm.js.map +3 -3
- package/package.json +8 -8
|
@@ -1365,10 +1365,10 @@ function $constructor(name, initializer3, params) {
|
|
|
1365
1365
|
let Definition = _Definition;
|
|
1366
1366
|
Object.defineProperty(Definition, "name", { value: name });
|
|
1367
1367
|
function _(def) {
|
|
1368
|
-
var
|
|
1368
|
+
var _a6;
|
|
1369
1369
|
const inst = params?.Parent ? new Definition() : this;
|
|
1370
1370
|
init(inst, def);
|
|
1371
|
-
(
|
|
1371
|
+
(_a6 = inst._zod).deferred ?? (_a6.deferred = []);
|
|
1372
1372
|
for (const fn of inst._zod.deferred) {
|
|
1373
1373
|
fn();
|
|
1374
1374
|
}
|
|
@@ -2034,8 +2034,8 @@ function explicitlyAborted(x, startIndex = 0) {
|
|
|
2034
2034
|
__name(explicitlyAborted, "explicitlyAborted");
|
|
2035
2035
|
function prefixIssues(path, issues) {
|
|
2036
2036
|
return issues.map((iss) => {
|
|
2037
|
-
var
|
|
2038
|
-
(
|
|
2037
|
+
var _a6;
|
|
2038
|
+
(_a6 = iss).path ?? (_a6.path = []);
|
|
2039
2039
|
iss.path.unshift(path);
|
|
2040
2040
|
return iss;
|
|
2041
2041
|
});
|
|
@@ -2238,7 +2238,7 @@ __name(formatError, "formatError");
|
|
|
2238
2238
|
function treeifyError(error51, mapper = (issue2) => issue2.message) {
|
|
2239
2239
|
const result = { errors: [] };
|
|
2240
2240
|
const processError = /* @__PURE__ */ __name((error52, path = []) => {
|
|
2241
|
-
var
|
|
2241
|
+
var _a6, _b;
|
|
2242
2242
|
for (const issue2 of error52.issues) {
|
|
2243
2243
|
if (issue2.code === "invalid_union" && issue2.errors.length) {
|
|
2244
2244
|
issue2.errors.map((issues) => processError({ issues }, [...path, ...issue2.path]));
|
|
@@ -2259,7 +2259,7 @@ function treeifyError(error51, mapper = (issue2) => issue2.message) {
|
|
|
2259
2259
|
const terminal = i === fullpath.length - 1;
|
|
2260
2260
|
if (typeof el === "string") {
|
|
2261
2261
|
curr.properties ?? (curr.properties = {});
|
|
2262
|
-
(
|
|
2262
|
+
(_a6 = curr.properties)[el] ?? (_a6[el] = { errors: [] });
|
|
2263
2263
|
curr = curr.properties[el];
|
|
2264
2264
|
} else {
|
|
2265
2265
|
curr.items ?? (curr.items = []);
|
|
@@ -2564,10 +2564,10 @@ var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
|
2564
2564
|
|
|
2565
2565
|
// ../../../node_modules/zod/v4/core/checks.js
|
|
2566
2566
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
2567
|
-
var
|
|
2567
|
+
var _a6;
|
|
2568
2568
|
inst._zod ?? (inst._zod = {});
|
|
2569
2569
|
inst._zod.def = def;
|
|
2570
|
-
(
|
|
2570
|
+
(_a6 = inst._zod).onattach ?? (_a6.onattach = []);
|
|
2571
2571
|
});
|
|
2572
2572
|
var numericOriginMap = {
|
|
2573
2573
|
number: "number",
|
|
@@ -2633,8 +2633,8 @@ var $ZodCheckGreaterThan = /* @__PURE__ */ $constructor("$ZodCheckGreaterThan",
|
|
|
2633
2633
|
var $ZodCheckMultipleOf = /* @__PURE__ */ $constructor("$ZodCheckMultipleOf", (inst, def) => {
|
|
2634
2634
|
$ZodCheck.init(inst, def);
|
|
2635
2635
|
inst._zod.onattach.push((inst2) => {
|
|
2636
|
-
var
|
|
2637
|
-
(
|
|
2636
|
+
var _a6;
|
|
2637
|
+
(_a6 = inst2._zod.bag).multipleOf ?? (_a6.multipleOf = def.value);
|
|
2638
2638
|
});
|
|
2639
2639
|
inst._zod.check = (payload) => {
|
|
2640
2640
|
if (typeof payload.value !== typeof def.value)
|
|
@@ -2767,9 +2767,9 @@ var $ZodCheckBigIntFormat = /* @__PURE__ */ $constructor("$ZodCheckBigIntFormat"
|
|
|
2767
2767
|
};
|
|
2768
2768
|
});
|
|
2769
2769
|
var $ZodCheckMaxSize = /* @__PURE__ */ $constructor("$ZodCheckMaxSize", (inst, def) => {
|
|
2770
|
-
var
|
|
2770
|
+
var _a6;
|
|
2771
2771
|
$ZodCheck.init(inst, def);
|
|
2772
|
-
(
|
|
2772
|
+
(_a6 = inst._zod.def).when ?? (_a6.when = (payload) => {
|
|
2773
2773
|
const val = payload.value;
|
|
2774
2774
|
return !nullish(val) && val.size !== void 0;
|
|
2775
2775
|
});
|
|
@@ -2795,9 +2795,9 @@ var $ZodCheckMaxSize = /* @__PURE__ */ $constructor("$ZodCheckMaxSize", (inst, d
|
|
|
2795
2795
|
};
|
|
2796
2796
|
});
|
|
2797
2797
|
var $ZodCheckMinSize = /* @__PURE__ */ $constructor("$ZodCheckMinSize", (inst, def) => {
|
|
2798
|
-
var
|
|
2798
|
+
var _a6;
|
|
2799
2799
|
$ZodCheck.init(inst, def);
|
|
2800
|
-
(
|
|
2800
|
+
(_a6 = inst._zod.def).when ?? (_a6.when = (payload) => {
|
|
2801
2801
|
const val = payload.value;
|
|
2802
2802
|
return !nullish(val) && val.size !== void 0;
|
|
2803
2803
|
});
|
|
@@ -2823,9 +2823,9 @@ var $ZodCheckMinSize = /* @__PURE__ */ $constructor("$ZodCheckMinSize", (inst, d
|
|
|
2823
2823
|
};
|
|
2824
2824
|
});
|
|
2825
2825
|
var $ZodCheckSizeEquals = /* @__PURE__ */ $constructor("$ZodCheckSizeEquals", (inst, def) => {
|
|
2826
|
-
var
|
|
2826
|
+
var _a6;
|
|
2827
2827
|
$ZodCheck.init(inst, def);
|
|
2828
|
-
(
|
|
2828
|
+
(_a6 = inst._zod.def).when ?? (_a6.when = (payload) => {
|
|
2829
2829
|
const val = payload.value;
|
|
2830
2830
|
return !nullish(val) && val.size !== void 0;
|
|
2831
2831
|
});
|
|
@@ -2853,9 +2853,9 @@ var $ZodCheckSizeEquals = /* @__PURE__ */ $constructor("$ZodCheckSizeEquals", (i
|
|
|
2853
2853
|
};
|
|
2854
2854
|
});
|
|
2855
2855
|
var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (inst, def) => {
|
|
2856
|
-
var
|
|
2856
|
+
var _a6;
|
|
2857
2857
|
$ZodCheck.init(inst, def);
|
|
2858
|
-
(
|
|
2858
|
+
(_a6 = inst._zod.def).when ?? (_a6.when = (payload) => {
|
|
2859
2859
|
const val = payload.value;
|
|
2860
2860
|
return !nullish(val) && val.length !== void 0;
|
|
2861
2861
|
});
|
|
@@ -2882,9 +2882,9 @@ var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (ins
|
|
|
2882
2882
|
};
|
|
2883
2883
|
});
|
|
2884
2884
|
var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (inst, def) => {
|
|
2885
|
-
var
|
|
2885
|
+
var _a6;
|
|
2886
2886
|
$ZodCheck.init(inst, def);
|
|
2887
|
-
(
|
|
2887
|
+
(_a6 = inst._zod.def).when ?? (_a6.when = (payload) => {
|
|
2888
2888
|
const val = payload.value;
|
|
2889
2889
|
return !nullish(val) && val.length !== void 0;
|
|
2890
2890
|
});
|
|
@@ -2911,9 +2911,9 @@ var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (ins
|
|
|
2911
2911
|
};
|
|
2912
2912
|
});
|
|
2913
2913
|
var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals", (inst, def) => {
|
|
2914
|
-
var
|
|
2914
|
+
var _a6;
|
|
2915
2915
|
$ZodCheck.init(inst, def);
|
|
2916
|
-
(
|
|
2916
|
+
(_a6 = inst._zod.def).when ?? (_a6.when = (payload) => {
|
|
2917
2917
|
const val = payload.value;
|
|
2918
2918
|
return !nullish(val) && val.length !== void 0;
|
|
2919
2919
|
});
|
|
@@ -2942,7 +2942,7 @@ var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals"
|
|
|
2942
2942
|
};
|
|
2943
2943
|
});
|
|
2944
2944
|
var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat", (inst, def) => {
|
|
2945
|
-
var
|
|
2945
|
+
var _a6, _b;
|
|
2946
2946
|
$ZodCheck.init(inst, def);
|
|
2947
2947
|
inst._zod.onattach.push((inst2) => {
|
|
2948
2948
|
const bag = inst2._zod.bag;
|
|
@@ -2953,7 +2953,7 @@ var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat"
|
|
|
2953
2953
|
}
|
|
2954
2954
|
});
|
|
2955
2955
|
if (def.pattern)
|
|
2956
|
-
(
|
|
2956
|
+
(_a6 = inst._zod).check ?? (_a6.check = (payload) => {
|
|
2957
2957
|
def.pattern.lastIndex = 0;
|
|
2958
2958
|
if (def.pattern.test(payload.value))
|
|
2959
2959
|
return;
|
|
@@ -3158,7 +3158,7 @@ var version = {
|
|
|
3158
3158
|
|
|
3159
3159
|
// ../../../node_modules/zod/v4/core/schemas.js
|
|
3160
3160
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
3161
|
-
var
|
|
3161
|
+
var _a6;
|
|
3162
3162
|
inst ?? (inst = {});
|
|
3163
3163
|
inst._zod.def = def;
|
|
3164
3164
|
inst._zod.bag = inst._zod.bag || {};
|
|
@@ -3173,7 +3173,7 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
|
3173
3173
|
}
|
|
3174
3174
|
}
|
|
3175
3175
|
if (checks.length === 0) {
|
|
3176
|
-
(
|
|
3176
|
+
(_a6 = inst._zod).deferred ?? (_a6.deferred = []);
|
|
3177
3177
|
inst._zod.deferred?.push(() => {
|
|
3178
3178
|
inst._zod.run = inst._zod.parse;
|
|
3179
3179
|
});
|
|
@@ -12564,7 +12564,7 @@ function initializeContext(params) {
|
|
|
12564
12564
|
}
|
|
12565
12565
|
__name(initializeContext, "initializeContext");
|
|
12566
12566
|
function process2(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
12567
|
-
var
|
|
12567
|
+
var _a6;
|
|
12568
12568
|
const def = schema._zod.def;
|
|
12569
12569
|
const seen = ctx.seen.get(schema);
|
|
12570
12570
|
if (seen) {
|
|
@@ -12612,7 +12612,7 @@ function process2(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
|
12612
12612
|
delete result.schema.default;
|
|
12613
12613
|
}
|
|
12614
12614
|
if (ctx.io === "input" && "_prefault" in result.schema)
|
|
12615
|
-
(
|
|
12615
|
+
(_a6 = result.schema).default ?? (_a6.default = result.schema._prefault);
|
|
12616
12616
|
delete result.schema._prefault;
|
|
12617
12617
|
const _result = ctx.seen.get(schema);
|
|
12618
12618
|
return _result.schema;
|
|
@@ -15763,9 +15763,8 @@ __name(date4, "date");
|
|
|
15763
15763
|
config(en_default());
|
|
15764
15764
|
|
|
15765
15765
|
// ../../../node_modules/js-base64/base64.mjs
|
|
15766
|
-
var version2 = "3.
|
|
15766
|
+
var version2 = "3.9.3";
|
|
15767
15767
|
var VERSION = version2;
|
|
15768
|
-
var _hasBuffer = typeof Buffer === "function";
|
|
15769
15768
|
var _TD = typeof TextDecoder === "function" ? new TextDecoder("utf-8", { ignoreBOM: true }) : void 0;
|
|
15770
15769
|
var _TE = typeof TextEncoder === "function" ? new TextEncoder() : void 0;
|
|
15771
15770
|
var b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
@@ -15791,8 +15790,8 @@ var btoaPolyfill = /* @__PURE__ */ __name((bin) => {
|
|
|
15791
15790
|
}
|
|
15792
15791
|
return pad ? asc.slice(0, pad - 3) + "===".substring(pad) : asc;
|
|
15793
15792
|
}, "btoaPolyfill");
|
|
15794
|
-
var _btoa = typeof btoa === "function" ? (bin) => btoa(bin) :
|
|
15795
|
-
var _fromUint8Array =
|
|
15793
|
+
var _btoa = typeof btoa === "function" ? (bin) => btoa(bin) : btoaPolyfill;
|
|
15794
|
+
var _fromUint8Array = typeof Uint8Array.prototype.toBase64 === "function" ? (u8a) => u8a.toBase64() : (u8a) => {
|
|
15796
15795
|
const maxargs = 4096;
|
|
15797
15796
|
let strs = [];
|
|
15798
15797
|
for (let i = 0, l = u8a.length; i < l; i += maxargs) {
|
|
@@ -15810,9 +15809,9 @@ var cb_utob = /* @__PURE__ */ __name((c) => {
|
|
|
15810
15809
|
return _fromCC(240 | cc >>> 18 & 7) + _fromCC(128 | cc >>> 12 & 63) + _fromCC(128 | cc >>> 6 & 63) + _fromCC(128 | cc & 63);
|
|
15811
15810
|
}
|
|
15812
15811
|
}, "cb_utob");
|
|
15813
|
-
var re_utob = /[\uD800-\uDBFF][\uDC00-\
|
|
15812
|
+
var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\x00-\x7F]/g;
|
|
15814
15813
|
var utob = /* @__PURE__ */ __name((u) => u.replace(re_utob, cb_utob), "utob");
|
|
15815
|
-
var _encode2 =
|
|
15814
|
+
var _encode2 = _TE ? (s) => _fromUint8Array(_TE.encode(s)) : (s) => _btoa(utob(s));
|
|
15816
15815
|
var encode3 = /* @__PURE__ */ __name((src, urlsafe = false) => urlsafe ? _mkUriSafe(_encode2(src)) : _encode2(src), "encode");
|
|
15817
15816
|
var encodeURI = /* @__PURE__ */ __name((src) => encode3(src, true), "encodeURI");
|
|
15818
15817
|
var re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g;
|
|
@@ -15847,10 +15846,10 @@ var atobPolyfill = /* @__PURE__ */ __name((asc) => {
|
|
|
15847
15846
|
}
|
|
15848
15847
|
return binArray.join("");
|
|
15849
15848
|
}, "atobPolyfill");
|
|
15850
|
-
var _atob = typeof atob === "function" ? (asc) => atob(_tidyB64(asc)) :
|
|
15851
|
-
var _toUint8Array =
|
|
15849
|
+
var _atob = typeof atob === "function" ? (asc) => atob(_tidyB64(asc)) : atobPolyfill;
|
|
15850
|
+
var _toUint8Array = typeof Uint8Array.fromBase64 === "function" ? (a) => Uint8Array.fromBase64(a) : (a) => _U8Afrom(_atob(a).split("").map((c) => c.charCodeAt(0)));
|
|
15852
15851
|
var toUint8Array = /* @__PURE__ */ __name((a) => _toUint8Array(_unURI(a)), "toUint8Array");
|
|
15853
|
-
var _decode2 =
|
|
15852
|
+
var _decode2 = _TD ? (a) => _TD.decode(_toUint8Array(a)) : (a) => btou(_atob(a));
|
|
15854
15853
|
var _unURI = /* @__PURE__ */ __name((a) => _tidyB64(a.replace(/[-_]/g, (m0) => m0 == "-" ? "+" : "/")), "_unURI");
|
|
15855
15854
|
var decode3 = /* @__PURE__ */ __name((src) => _decode2(_unURI(src)), "decode");
|
|
15856
15855
|
var isValid = /* @__PURE__ */ __name((src) => {
|
|
@@ -15962,7 +15961,7 @@ var __toESM = /* @__PURE__ */ __name((mod, isNodeMode, target) => (target = mod
|
|
|
15962
15961
|
var require_types_cjs_development = __commonJS({
|
|
15963
15962
|
"../learn-card-types/dist/types.cjs.development.cjs"(exports, module2) {
|
|
15964
15963
|
"use strict";
|
|
15965
|
-
var
|
|
15964
|
+
var _a7, _b, _c, _d, _e, _f, _g;
|
|
15966
15965
|
var __defProp22 = Object.defineProperty;
|
|
15967
15966
|
var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
|
|
15968
15967
|
var __getOwnPropNames22 = Object.getOwnPropertyNames;
|
|
@@ -16791,7 +16790,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
16791
16790
|
util: /* @__PURE__ */ __name2(() => util_exports2, "util"),
|
|
16792
16791
|
version: /* @__PURE__ */ __name2(() => version3, "version")
|
|
16793
16792
|
});
|
|
16794
|
-
var
|
|
16793
|
+
var _a6;
|
|
16795
16794
|
var NEVER2 = /* @__PURE__ */ Object.freeze({
|
|
16796
16795
|
status: "aborted"
|
|
16797
16796
|
});
|
|
@@ -16861,18 +16860,18 @@ var require_types_cjs_development = __commonJS({
|
|
|
16861
16860
|
__name2($constructor2, "$constructor");
|
|
16862
16861
|
__name22($constructor2, "$constructor");
|
|
16863
16862
|
var $brand2 = /* @__PURE__ */ Symbol("zod_brand");
|
|
16864
|
-
var $ZodAsyncError2 = (
|
|
16863
|
+
var $ZodAsyncError2 = (_a7 = class extends Error {
|
|
16865
16864
|
constructor() {
|
|
16866
16865
|
super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`);
|
|
16867
16866
|
}
|
|
16868
|
-
}, __name(
|
|
16867
|
+
}, __name(_a7, "$ZodAsyncError"), __name2(_a7, "$ZodAsyncError"), __name22(_a7, "$ZodAsyncError"), _a7);
|
|
16869
16868
|
var $ZodEncodeError2 = (_b = class extends Error {
|
|
16870
16869
|
constructor(name) {
|
|
16871
16870
|
super(`Encountered unidirectional transform during encode: ${name}`);
|
|
16872
16871
|
this.name = "ZodEncodeError";
|
|
16873
16872
|
}
|
|
16874
16873
|
}, __name(_b, "$ZodEncodeError"), __name2(_b, "$ZodEncodeError"), __name22(_b, "$ZodEncodeError"), _b);
|
|
16875
|
-
(
|
|
16874
|
+
(_a6 = globalThis).__zod_globalConfig ?? (_a6.__zod_globalConfig = {});
|
|
16876
16875
|
var globalConfig2 = globalThis.__zod_globalConfig;
|
|
16877
16876
|
function config2(newConfig) {
|
|
16878
16877
|
if (newConfig)
|
|
@@ -31392,7 +31391,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31392
31391
|
var ZodFirstPartyTypeKind2;
|
|
31393
31392
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind22) {
|
|
31394
31393
|
})(ZodFirstPartyTypeKind2 || (ZodFirstPartyTypeKind2 = {}));
|
|
31395
|
-
var
|
|
31394
|
+
var z3 = {
|
|
31396
31395
|
...schemas_exports22,
|
|
31397
31396
|
...checks_exports22,
|
|
31398
31397
|
iso: iso_exports2
|
|
@@ -31508,7 +31507,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31508
31507
|
function convertBaseSchema2(schema, ctx) {
|
|
31509
31508
|
if (schema.not !== void 0) {
|
|
31510
31509
|
if (typeof schema.not === "object" && Object.keys(schema.not).length === 0) {
|
|
31511
|
-
return
|
|
31510
|
+
return z3.never();
|
|
31512
31511
|
}
|
|
31513
31512
|
throw new Error("not is not supported in Zod (except { not: {} } for never)");
|
|
31514
31513
|
}
|
|
@@ -31530,7 +31529,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31530
31529
|
return ctx.refs.get(refPath);
|
|
31531
31530
|
}
|
|
31532
31531
|
if (ctx.processing.has(refPath)) {
|
|
31533
|
-
return
|
|
31532
|
+
return z3.lazy(() => {
|
|
31534
31533
|
if (!ctx.refs.has(refPath)) {
|
|
31535
31534
|
throw new Error(`Circular reference not resolved: ${refPath}`);
|
|
31536
31535
|
}
|
|
@@ -31547,25 +31546,25 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31547
31546
|
if (schema.enum !== void 0) {
|
|
31548
31547
|
const enumValues = schema.enum;
|
|
31549
31548
|
if (ctx.version === "openapi-3.0" && schema.nullable === true && enumValues.length === 1 && enumValues[0] === null) {
|
|
31550
|
-
return
|
|
31549
|
+
return z3.null();
|
|
31551
31550
|
}
|
|
31552
31551
|
if (enumValues.length === 0) {
|
|
31553
|
-
return
|
|
31552
|
+
return z3.never();
|
|
31554
31553
|
}
|
|
31555
31554
|
if (enumValues.length === 1) {
|
|
31556
|
-
return
|
|
31555
|
+
return z3.literal(enumValues[0]);
|
|
31557
31556
|
}
|
|
31558
31557
|
if (enumValues.every((v) => typeof v === "string")) {
|
|
31559
|
-
return
|
|
31558
|
+
return z3.enum(enumValues);
|
|
31560
31559
|
}
|
|
31561
|
-
const literalSchemas = enumValues.map((v) =>
|
|
31560
|
+
const literalSchemas = enumValues.map((v) => z3.literal(v));
|
|
31562
31561
|
if (literalSchemas.length < 2) {
|
|
31563
31562
|
return literalSchemas[0];
|
|
31564
31563
|
}
|
|
31565
|
-
return
|
|
31564
|
+
return z3.union([literalSchemas[0], literalSchemas[1], ...literalSchemas.slice(2)]);
|
|
31566
31565
|
}
|
|
31567
31566
|
if (schema.const !== void 0) {
|
|
31568
|
-
return
|
|
31567
|
+
return z3.literal(schema.const);
|
|
31569
31568
|
}
|
|
31570
31569
|
const type = schema.type;
|
|
31571
31570
|
if (Array.isArray(type)) {
|
|
@@ -31574,68 +31573,68 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31574
31573
|
return convertBaseSchema2(typeSchema, ctx);
|
|
31575
31574
|
});
|
|
31576
31575
|
if (typeSchemas.length === 0) {
|
|
31577
|
-
return
|
|
31576
|
+
return z3.never();
|
|
31578
31577
|
}
|
|
31579
31578
|
if (typeSchemas.length === 1) {
|
|
31580
31579
|
return typeSchemas[0];
|
|
31581
31580
|
}
|
|
31582
|
-
return
|
|
31581
|
+
return z3.union(typeSchemas);
|
|
31583
31582
|
}
|
|
31584
31583
|
if (!type) {
|
|
31585
|
-
return
|
|
31584
|
+
return z3.any();
|
|
31586
31585
|
}
|
|
31587
31586
|
let zodSchema;
|
|
31588
31587
|
switch (type) {
|
|
31589
31588
|
case "string": {
|
|
31590
|
-
let stringSchema =
|
|
31589
|
+
let stringSchema = z3.string();
|
|
31591
31590
|
if (schema.format) {
|
|
31592
31591
|
const format = schema.format;
|
|
31593
31592
|
if (format === "email") {
|
|
31594
|
-
stringSchema = stringSchema.check(
|
|
31593
|
+
stringSchema = stringSchema.check(z3.email());
|
|
31595
31594
|
} else if (format === "uri" || format === "uri-reference") {
|
|
31596
|
-
stringSchema = stringSchema.check(
|
|
31595
|
+
stringSchema = stringSchema.check(z3.url());
|
|
31597
31596
|
} else if (format === "uuid" || format === "guid") {
|
|
31598
|
-
stringSchema = stringSchema.check(
|
|
31597
|
+
stringSchema = stringSchema.check(z3.uuid());
|
|
31599
31598
|
} else if (format === "date-time") {
|
|
31600
|
-
stringSchema = stringSchema.check(
|
|
31599
|
+
stringSchema = stringSchema.check(z3.iso.datetime());
|
|
31601
31600
|
} else if (format === "date") {
|
|
31602
|
-
stringSchema = stringSchema.check(
|
|
31601
|
+
stringSchema = stringSchema.check(z3.iso.date());
|
|
31603
31602
|
} else if (format === "time") {
|
|
31604
|
-
stringSchema = stringSchema.check(
|
|
31603
|
+
stringSchema = stringSchema.check(z3.iso.time());
|
|
31605
31604
|
} else if (format === "duration") {
|
|
31606
|
-
stringSchema = stringSchema.check(
|
|
31605
|
+
stringSchema = stringSchema.check(z3.iso.duration());
|
|
31607
31606
|
} else if (format === "ipv4") {
|
|
31608
|
-
stringSchema = stringSchema.check(
|
|
31607
|
+
stringSchema = stringSchema.check(z3.ipv4());
|
|
31609
31608
|
} else if (format === "ipv6") {
|
|
31610
|
-
stringSchema = stringSchema.check(
|
|
31609
|
+
stringSchema = stringSchema.check(z3.ipv6());
|
|
31611
31610
|
} else if (format === "mac") {
|
|
31612
|
-
stringSchema = stringSchema.check(
|
|
31611
|
+
stringSchema = stringSchema.check(z3.mac());
|
|
31613
31612
|
} else if (format === "cidr") {
|
|
31614
|
-
stringSchema = stringSchema.check(
|
|
31613
|
+
stringSchema = stringSchema.check(z3.cidrv4());
|
|
31615
31614
|
} else if (format === "cidr-v6") {
|
|
31616
|
-
stringSchema = stringSchema.check(
|
|
31615
|
+
stringSchema = stringSchema.check(z3.cidrv6());
|
|
31617
31616
|
} else if (format === "base64") {
|
|
31618
|
-
stringSchema = stringSchema.check(
|
|
31617
|
+
stringSchema = stringSchema.check(z3.base64());
|
|
31619
31618
|
} else if (format === "base64url") {
|
|
31620
|
-
stringSchema = stringSchema.check(
|
|
31619
|
+
stringSchema = stringSchema.check(z3.base64url());
|
|
31621
31620
|
} else if (format === "e164") {
|
|
31622
|
-
stringSchema = stringSchema.check(
|
|
31621
|
+
stringSchema = stringSchema.check(z3.e164());
|
|
31623
31622
|
} else if (format === "jwt") {
|
|
31624
|
-
stringSchema = stringSchema.check(
|
|
31623
|
+
stringSchema = stringSchema.check(z3.jwt());
|
|
31625
31624
|
} else if (format === "emoji") {
|
|
31626
|
-
stringSchema = stringSchema.check(
|
|
31625
|
+
stringSchema = stringSchema.check(z3.emoji());
|
|
31627
31626
|
} else if (format === "nanoid") {
|
|
31628
|
-
stringSchema = stringSchema.check(
|
|
31627
|
+
stringSchema = stringSchema.check(z3.nanoid());
|
|
31629
31628
|
} else if (format === "cuid") {
|
|
31630
|
-
stringSchema = stringSchema.check(
|
|
31629
|
+
stringSchema = stringSchema.check(z3.cuid());
|
|
31631
31630
|
} else if (format === "cuid2") {
|
|
31632
|
-
stringSchema = stringSchema.check(
|
|
31631
|
+
stringSchema = stringSchema.check(z3.cuid2());
|
|
31633
31632
|
} else if (format === "ulid") {
|
|
31634
|
-
stringSchema = stringSchema.check(
|
|
31633
|
+
stringSchema = stringSchema.check(z3.ulid());
|
|
31635
31634
|
} else if (format === "xid") {
|
|
31636
|
-
stringSchema = stringSchema.check(
|
|
31635
|
+
stringSchema = stringSchema.check(z3.xid());
|
|
31637
31636
|
} else if (format === "ksuid") {
|
|
31638
|
-
stringSchema = stringSchema.check(
|
|
31637
|
+
stringSchema = stringSchema.check(z3.ksuid());
|
|
31639
31638
|
}
|
|
31640
31639
|
}
|
|
31641
31640
|
if (typeof schema.minLength === "number") {
|
|
@@ -31652,7 +31651,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31652
31651
|
}
|
|
31653
31652
|
case "number":
|
|
31654
31653
|
case "integer": {
|
|
31655
|
-
let numberSchema = type === "integer" ?
|
|
31654
|
+
let numberSchema = type === "integer" ? z3.number().int() : z3.number();
|
|
31656
31655
|
if (typeof schema.minimum === "number") {
|
|
31657
31656
|
numberSchema = numberSchema.min(schema.minimum);
|
|
31658
31657
|
}
|
|
@@ -31676,11 +31675,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31676
31675
|
break;
|
|
31677
31676
|
}
|
|
31678
31677
|
case "boolean": {
|
|
31679
|
-
zodSchema =
|
|
31678
|
+
zodSchema = z3.boolean();
|
|
31680
31679
|
break;
|
|
31681
31680
|
}
|
|
31682
31681
|
case "null": {
|
|
31683
|
-
zodSchema =
|
|
31682
|
+
zodSchema = z3.null();
|
|
31684
31683
|
break;
|
|
31685
31684
|
}
|
|
31686
31685
|
case "object": {
|
|
@@ -31693,14 +31692,14 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31693
31692
|
}
|
|
31694
31693
|
if (schema.propertyNames) {
|
|
31695
31694
|
const keySchema = convertSchema2(schema.propertyNames, ctx);
|
|
31696
|
-
const valueSchema = schema.additionalProperties && typeof schema.additionalProperties === "object" ? convertSchema2(schema.additionalProperties, ctx) :
|
|
31695
|
+
const valueSchema = schema.additionalProperties && typeof schema.additionalProperties === "object" ? convertSchema2(schema.additionalProperties, ctx) : z3.any();
|
|
31697
31696
|
if (Object.keys(shape).length === 0) {
|
|
31698
|
-
zodSchema =
|
|
31697
|
+
zodSchema = z3.record(keySchema, valueSchema);
|
|
31699
31698
|
break;
|
|
31700
31699
|
}
|
|
31701
|
-
const objectSchema2 =
|
|
31702
|
-
const recordSchema =
|
|
31703
|
-
zodSchema =
|
|
31700
|
+
const objectSchema2 = z3.object(shape).passthrough();
|
|
31701
|
+
const recordSchema = z3.looseRecord(keySchema, valueSchema);
|
|
31702
|
+
zodSchema = z3.intersection(objectSchema2, recordSchema);
|
|
31704
31703
|
break;
|
|
31705
31704
|
}
|
|
31706
31705
|
if (schema.patternProperties) {
|
|
@@ -31709,28 +31708,28 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31709
31708
|
const looseRecords = [];
|
|
31710
31709
|
for (const pattern of patternKeys) {
|
|
31711
31710
|
const patternValue = convertSchema2(patternProps[pattern], ctx);
|
|
31712
|
-
const keySchema =
|
|
31713
|
-
looseRecords.push(
|
|
31711
|
+
const keySchema = z3.string().regex(new RegExp(pattern));
|
|
31712
|
+
looseRecords.push(z3.looseRecord(keySchema, patternValue));
|
|
31714
31713
|
}
|
|
31715
31714
|
const schemasToIntersect = [];
|
|
31716
31715
|
if (Object.keys(shape).length > 0) {
|
|
31717
|
-
schemasToIntersect.push(
|
|
31716
|
+
schemasToIntersect.push(z3.object(shape).passthrough());
|
|
31718
31717
|
}
|
|
31719
31718
|
schemasToIntersect.push(...looseRecords);
|
|
31720
31719
|
if (schemasToIntersect.length === 0) {
|
|
31721
|
-
zodSchema =
|
|
31720
|
+
zodSchema = z3.object({}).passthrough();
|
|
31722
31721
|
} else if (schemasToIntersect.length === 1) {
|
|
31723
31722
|
zodSchema = schemasToIntersect[0];
|
|
31724
31723
|
} else {
|
|
31725
|
-
let result =
|
|
31724
|
+
let result = z3.intersection(schemasToIntersect[0], schemasToIntersect[1]);
|
|
31726
31725
|
for (let i = 2; i < schemasToIntersect.length; i++) {
|
|
31727
|
-
result =
|
|
31726
|
+
result = z3.intersection(result, schemasToIntersect[i]);
|
|
31728
31727
|
}
|
|
31729
31728
|
zodSchema = result;
|
|
31730
31729
|
}
|
|
31731
31730
|
break;
|
|
31732
31731
|
}
|
|
31733
|
-
const objectSchema =
|
|
31732
|
+
const objectSchema = z3.object(shape);
|
|
31734
31733
|
if (schema.additionalProperties === false) {
|
|
31735
31734
|
zodSchema = objectSchema.strict();
|
|
31736
31735
|
} else if (typeof schema.additionalProperties === "object") {
|
|
@@ -31747,33 +31746,33 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31747
31746
|
const tupleItems = prefixItems.map((item) => convertSchema2(item, ctx));
|
|
31748
31747
|
const rest = items && typeof items === "object" && !Array.isArray(items) ? convertSchema2(items, ctx) : void 0;
|
|
31749
31748
|
if (rest) {
|
|
31750
|
-
zodSchema =
|
|
31749
|
+
zodSchema = z3.tuple(tupleItems).rest(rest);
|
|
31751
31750
|
} else {
|
|
31752
|
-
zodSchema =
|
|
31751
|
+
zodSchema = z3.tuple(tupleItems);
|
|
31753
31752
|
}
|
|
31754
31753
|
if (typeof schema.minItems === "number") {
|
|
31755
|
-
zodSchema = zodSchema.check(
|
|
31754
|
+
zodSchema = zodSchema.check(z3.minLength(schema.minItems));
|
|
31756
31755
|
}
|
|
31757
31756
|
if (typeof schema.maxItems === "number") {
|
|
31758
|
-
zodSchema = zodSchema.check(
|
|
31757
|
+
zodSchema = zodSchema.check(z3.maxLength(schema.maxItems));
|
|
31759
31758
|
}
|
|
31760
31759
|
} else if (Array.isArray(items)) {
|
|
31761
31760
|
const tupleItems = items.map((item) => convertSchema2(item, ctx));
|
|
31762
31761
|
const rest = schema.additionalItems && typeof schema.additionalItems === "object" ? convertSchema2(schema.additionalItems, ctx) : void 0;
|
|
31763
31762
|
if (rest) {
|
|
31764
|
-
zodSchema =
|
|
31763
|
+
zodSchema = z3.tuple(tupleItems).rest(rest);
|
|
31765
31764
|
} else {
|
|
31766
|
-
zodSchema =
|
|
31765
|
+
zodSchema = z3.tuple(tupleItems);
|
|
31767
31766
|
}
|
|
31768
31767
|
if (typeof schema.minItems === "number") {
|
|
31769
|
-
zodSchema = zodSchema.check(
|
|
31768
|
+
zodSchema = zodSchema.check(z3.minLength(schema.minItems));
|
|
31770
31769
|
}
|
|
31771
31770
|
if (typeof schema.maxItems === "number") {
|
|
31772
|
-
zodSchema = zodSchema.check(
|
|
31771
|
+
zodSchema = zodSchema.check(z3.maxLength(schema.maxItems));
|
|
31773
31772
|
}
|
|
31774
31773
|
} else if (items !== void 0) {
|
|
31775
31774
|
const element = convertSchema2(items, ctx);
|
|
31776
|
-
let arraySchema =
|
|
31775
|
+
let arraySchema = z3.array(element);
|
|
31777
31776
|
if (typeof schema.minItems === "number") {
|
|
31778
31777
|
arraySchema = arraySchema.min(schema.minItems);
|
|
31779
31778
|
}
|
|
@@ -31782,7 +31781,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31782
31781
|
}
|
|
31783
31782
|
zodSchema = arraySchema;
|
|
31784
31783
|
} else {
|
|
31785
|
-
zodSchema =
|
|
31784
|
+
zodSchema = z3.array(z3.any());
|
|
31786
31785
|
}
|
|
31787
31786
|
break;
|
|
31788
31787
|
}
|
|
@@ -31796,37 +31795,37 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31796
31795
|
__name22(convertBaseSchema2, "convertBaseSchema");
|
|
31797
31796
|
function convertSchema2(schema, ctx) {
|
|
31798
31797
|
if (typeof schema === "boolean") {
|
|
31799
|
-
return schema ?
|
|
31798
|
+
return schema ? z3.any() : z3.never();
|
|
31800
31799
|
}
|
|
31801
31800
|
let baseSchema = convertBaseSchema2(schema, ctx);
|
|
31802
31801
|
const hasExplicitType = schema.type || schema.enum !== void 0 || schema.const !== void 0;
|
|
31803
31802
|
if (schema.anyOf && Array.isArray(schema.anyOf)) {
|
|
31804
31803
|
const options = schema.anyOf.map((s) => convertSchema2(s, ctx));
|
|
31805
|
-
const anyOfUnion =
|
|
31806
|
-
baseSchema = hasExplicitType ?
|
|
31804
|
+
const anyOfUnion = z3.union(options);
|
|
31805
|
+
baseSchema = hasExplicitType ? z3.intersection(baseSchema, anyOfUnion) : anyOfUnion;
|
|
31807
31806
|
}
|
|
31808
31807
|
if (schema.oneOf && Array.isArray(schema.oneOf)) {
|
|
31809
31808
|
const options = schema.oneOf.map((s) => convertSchema2(s, ctx));
|
|
31810
|
-
const oneOfUnion =
|
|
31811
|
-
baseSchema = hasExplicitType ?
|
|
31809
|
+
const oneOfUnion = z3.xor(options);
|
|
31810
|
+
baseSchema = hasExplicitType ? z3.intersection(baseSchema, oneOfUnion) : oneOfUnion;
|
|
31812
31811
|
}
|
|
31813
31812
|
if (schema.allOf && Array.isArray(schema.allOf)) {
|
|
31814
31813
|
if (schema.allOf.length === 0) {
|
|
31815
|
-
baseSchema = hasExplicitType ? baseSchema :
|
|
31814
|
+
baseSchema = hasExplicitType ? baseSchema : z3.any();
|
|
31816
31815
|
} else {
|
|
31817
31816
|
let result = hasExplicitType ? baseSchema : convertSchema2(schema.allOf[0], ctx);
|
|
31818
31817
|
const startIdx = hasExplicitType ? 0 : 1;
|
|
31819
31818
|
for (let i = startIdx; i < schema.allOf.length; i++) {
|
|
31820
|
-
result =
|
|
31819
|
+
result = z3.intersection(result, convertSchema2(schema.allOf[i], ctx));
|
|
31821
31820
|
}
|
|
31822
31821
|
baseSchema = result;
|
|
31823
31822
|
}
|
|
31824
31823
|
}
|
|
31825
31824
|
if (schema.nullable === true && ctx.version === "openapi-3.0") {
|
|
31826
|
-
baseSchema =
|
|
31825
|
+
baseSchema = z3.nullable(baseSchema);
|
|
31827
31826
|
}
|
|
31828
31827
|
if (schema.readOnly === true) {
|
|
31829
|
-
baseSchema =
|
|
31828
|
+
baseSchema = z3.readonly(baseSchema);
|
|
31830
31829
|
}
|
|
31831
31830
|
if (schema.default !== void 0) {
|
|
31832
31831
|
baseSchema = baseSchema.default(schema.default);
|
|
@@ -31862,7 +31861,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
31862
31861
|
__name22(convertSchema2, "convertSchema");
|
|
31863
31862
|
function fromJSONSchema2(schema, params) {
|
|
31864
31863
|
if (typeof schema === "boolean") {
|
|
31865
|
-
return schema ?
|
|
31864
|
+
return schema ? z3.any() : z3.never();
|
|
31866
31865
|
}
|
|
31867
31866
|
let normalized;
|
|
31868
31867
|
try {
|
|
@@ -32593,7 +32592,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
32593
32592
|
did: LCNProfileValidator2.shape.did
|
|
32594
32593
|
});
|
|
32595
32594
|
var LCNConnectionProfileValidator2 = LCNAuthedProfileValidator2.extend({
|
|
32596
|
-
email: LCNProfileValidator2.shape.email
|
|
32595
|
+
email: LCNProfileValidator2.shape.email,
|
|
32596
|
+
connectedAt: external_exports2.iso.datetime().optional().describe("When the viewer and this profile became connected.")
|
|
32597
32597
|
});
|
|
32598
32598
|
var LCNVisibleProfileValidator2 = external_exports2.union([
|
|
32599
32599
|
LCNConnectionProfileValidator2.strict(),
|
|
@@ -34300,6 +34300,32 @@ var ImageWithLoadingStateValdator = external_exports.object({
|
|
|
34300
34300
|
loading: external_exports.union([ImageResizingValidator, ImageUploadingValidator]).optional()
|
|
34301
34301
|
});
|
|
34302
34302
|
var import_types3 = __toESM(require_dist());
|
|
34303
|
+
var _a4;
|
|
34304
|
+
var EnvironmentConfigurationError = (_a4 = class extends Error {
|
|
34305
|
+
constructor(message) {
|
|
34306
|
+
super(message);
|
|
34307
|
+
this.name = "EnvironmentConfigurationError";
|
|
34308
|
+
}
|
|
34309
|
+
}, __name(_a4, "EnvironmentConfigurationError"), __name2(_a4, "EnvironmentConfigurationError"), _a4);
|
|
34310
|
+
var requiredEnvironmentString = external_exports.string().trim().min(1, "Required but missing");
|
|
34311
|
+
var optionalEnvironmentString = external_exports.preprocess(
|
|
34312
|
+
(value) => value === "" ? void 0 : value,
|
|
34313
|
+
requiredEnvironmentString.optional()
|
|
34314
|
+
);
|
|
34315
|
+
var optionalEnvironmentUrl = external_exports.preprocess(
|
|
34316
|
+
(value) => value === "" ? void 0 : value,
|
|
34317
|
+
external_exports.url("Expected a valid URL").optional()
|
|
34318
|
+
);
|
|
34319
|
+
var environmentBoolean = external_exports.enum(["true", "false", "1", "0"]).transform((value) => value === "true" || value === "1");
|
|
34320
|
+
var optionalEnvironmentBoolean = external_exports.preprocess(
|
|
34321
|
+
(value) => value === "" || value === void 0 ? void 0 : value,
|
|
34322
|
+
environmentBoolean.optional()
|
|
34323
|
+
);
|
|
34324
|
+
var environmentPort = external_exports.coerce.number().int().min(1).max(65535);
|
|
34325
|
+
var optionalEnvironmentPort = external_exports.preprocess(
|
|
34326
|
+
(value) => value === "" || value === void 0 ? void 0 : value,
|
|
34327
|
+
environmentPort.optional()
|
|
34328
|
+
);
|
|
34303
34329
|
var unwrapBoostCredential = /* @__PURE__ */ __name2((vc) => {
|
|
34304
34330
|
if (vc?.type?.includes("CertifiedBoostCredential") && vc?.boostCredential) {
|
|
34305
34331
|
return vc.boostCredential;
|
|
@@ -34973,7 +34999,8 @@ var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
|
|
|
34973
34999
|
did: LCNProfileValidator.shape.did
|
|
34974
35000
|
});
|
|
34975
35001
|
var LCNConnectionProfileValidator = LCNAuthedProfileValidator.extend({
|
|
34976
|
-
email: LCNProfileValidator.shape.email
|
|
35002
|
+
email: LCNProfileValidator.shape.email,
|
|
35003
|
+
connectedAt: external_exports.iso.datetime().optional().describe("When the viewer and this profile became connected.")
|
|
34977
35004
|
});
|
|
34978
35005
|
var LCNVisibleProfileValidator = external_exports.union([
|
|
34979
35006
|
LCNConnectionProfileValidator.strict(),
|
|
@@ -36265,14 +36292,14 @@ var CredentialActivityStatsValidator = external_exports.object({
|
|
|
36265
36292
|
failed: external_exports.number(),
|
|
36266
36293
|
claimRate: external_exports.number()
|
|
36267
36294
|
});
|
|
36268
|
-
var
|
|
36269
|
-
var AuthSessionError = (
|
|
36295
|
+
var _a5;
|
|
36296
|
+
var AuthSessionError = (_a5 = class extends Error {
|
|
36270
36297
|
constructor(message, reason) {
|
|
36271
36298
|
super(message);
|
|
36272
36299
|
this.reason = reason;
|
|
36273
36300
|
this.name = "AuthSessionError";
|
|
36274
36301
|
}
|
|
36275
|
-
}, __name(
|
|
36302
|
+
}, __name(_a5, "AuthSessionError"), __name3(_a5, "AuthSessionError"), _a5);
|
|
36276
36303
|
var BITSTRING_STATUS_PURPOSES = ["revocation", "suspension"];
|
|
36277
36304
|
var BitstringStatusPurposeValidator = external_exports.enum(BITSTRING_STATUS_PURPOSES);
|
|
36278
36305
|
var BitstringStatusListEntryValidator = external_exports.object({
|