canvas-parent-mcp 2.0.0 → 2.1.1
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/.claude-plugin/marketplace.json +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/dist/bundle.js +1026 -382
- package/dist/index.js +1 -1
- package/package.json +3 -3
- package/server.json +2 -2
package/dist/bundle.js
CHANGED
|
@@ -773,9 +773,6 @@ var require_util = __commonJS({
|
|
|
773
773
|
else
|
|
774
774
|
defineBound2(proto, key, desc.value);
|
|
775
775
|
}
|
|
776
|
-
for (const sym of Object.getOwnPropertySymbols(table)) {
|
|
777
|
-
defineBound2(proto, sym, table[sym]);
|
|
778
|
-
}
|
|
779
776
|
}
|
|
780
777
|
function own2(inst, key, value, enumerable = true) {
|
|
781
778
|
Object.defineProperty(inst, key, { configurable: true, writable: true, enumerable, value });
|
|
@@ -952,8 +949,7 @@ var require_core = __commonJS({
|
|
|
952
949
|
} finally {
|
|
953
950
|
_zodDesc2.value = void 0;
|
|
954
951
|
}
|
|
955
|
-
}
|
|
956
|
-
if (inst._zod.traits.has(name)) {
|
|
952
|
+
} else if (inst._zod.traits.has(name)) {
|
|
957
953
|
return;
|
|
958
954
|
}
|
|
959
955
|
inst._zod.traits.add(name);
|
|
@@ -1556,8 +1552,8 @@ var require_regexes = __commonJS({
|
|
|
1556
1552
|
return result;
|
|
1557
1553
|
};
|
|
1558
1554
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1559
|
-
exports.
|
|
1560
|
-
exports.sha512_base64url = exports.sha512_base64 = exports.sha512_hex = exports.sha384_base64url = exports.sha384_base64 = exports.sha384_hex = exports.sha256_base64url = exports.sha256_base64 = exports.sha256_hex = void 0;
|
|
1555
|
+
exports.sha1_base64 = exports.sha1_hex = exports.md5_base64url = exports.md5_base64 = exports.md5_hex = exports.hex = exports.uppercase = exports.lowercase = exports.undefined = exports.null = exports.boolean = exports.number = exports.integer = exports.bigint = exports.string = exports.anyString = exports.date = exports.iban = exports.currencyCode = exports.creditCard = exports.e164 = exports.httpProtocol = exports.domain = exports.hostname = exports.base64url = exports.base64 = exports.cidrv6 = exports.cidrv4 = exports.mac = exports.ipv6 = exports.ipv4 = exports.browserEmail = exports.idnEmail = exports.unicodeEmail = exports.rfc5322Email = exports.html5Email = exports.email = exports.uuid7 = exports.uuid6 = exports.uuid4 = exports.uuid = exports.guid = exports.extendedDuration = exports.duration = exports.nanoid = exports.ksuid = exports.xid = exports.ulid = exports.cuid2 = exports.cuid = void 0;
|
|
1556
|
+
exports.sha512_base64url = exports.sha512_base64 = exports.sha512_hex = exports.sha384_base64url = exports.sha384_base64 = exports.sha384_hex = exports.sha256_base64url = exports.sha256_base64 = exports.sha256_hex = exports.sha1_base64url = void 0;
|
|
1561
1557
|
exports.nanoidOfLength = nanoidOfLength2;
|
|
1562
1558
|
exports.emoji = emoji3;
|
|
1563
1559
|
exports.time = time3;
|
|
@@ -1610,6 +1606,7 @@ var require_regexes = __commonJS({
|
|
|
1610
1606
|
exports.httpProtocol = /^https?$/;
|
|
1611
1607
|
exports.e164 = /^\+[1-9]\d{6,14}$/;
|
|
1612
1608
|
exports.creditCard = /^\d(?:[ -]?\d){11,18}$/;
|
|
1609
|
+
exports.currencyCode = /^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/;
|
|
1613
1610
|
exports.iban = /^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/;
|
|
1614
1611
|
var dateSource2 = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
|
|
1615
1612
|
function anchor2(source) {
|
|
@@ -1721,7 +1718,7 @@ var require_checks = __commonJS({
|
|
|
1721
1718
|
return result;
|
|
1722
1719
|
};
|
|
1723
1720
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1724
|
-
exports.$ZodCheckOverwrite = exports.$ZodCheckMimeType = exports.$ZodCheckProperty = exports.$ZodCheckEndsWith = exports.$ZodCheckStartsWith = exports.$ZodCheckIncludes = exports.$ZodCheckUpperCase = exports.$ZodCheckLowerCase = exports.$ZodCheckRegex = exports.$ZodCheckStringFormat = exports.$ZodCheckLengthEquals = exports.$ZodCheckMinLength = exports.$ZodCheckMaxLength = exports.$ZodCheckSizeEquals = exports.$ZodCheckMinSize = exports.$ZodCheckMaxSize = exports.$ZodCheckBigIntFormat = exports.$ZodCheckNumberFormat = exports.$ZodCheckMultipleOf = exports.$ZodCheckGreaterThan = exports.$ZodCheckLessThan = exports.$ZodCheck = void 0;
|
|
1721
|
+
exports.$ZodCheckOverwrite = exports.$ZodCheckMimeType = exports.$ZodCheckProperties = exports.$ZodCheckProperty = exports.$ZodCheckEndsWith = exports.$ZodCheckStartsWith = exports.$ZodCheckIncludes = exports.$ZodCheckUpperCase = exports.$ZodCheckLowerCase = exports.$ZodCheckRegex = exports.$ZodCheckStringFormat = exports.$ZodCheckLengthEquals = exports.$ZodCheckMinLength = exports.$ZodCheckMaxLength = exports.$ZodCheckSizeEquals = exports.$ZodCheckMinSize = exports.$ZodCheckMaxSize = exports.$ZodCheckBigIntFormat = exports.$ZodCheckNumberFormat = exports.$ZodCheckMultipleOf = exports.$ZodCheckGreaterThan = exports.$ZodCheckLessThan = exports.$ZodCheck = void 0;
|
|
1725
1722
|
var core = __importStar(require_core());
|
|
1726
1723
|
var regexes = __importStar(require_regexes());
|
|
1727
1724
|
var util = __importStar(require_util());
|
|
@@ -2150,6 +2147,34 @@ var require_checks = __commonJS({
|
|
|
2150
2147
|
return;
|
|
2151
2148
|
};
|
|
2152
2149
|
});
|
|
2150
|
+
exports.$ZodCheckProperties = core.$constructor("$ZodCheckProperties", (inst, def) => {
|
|
2151
|
+
exports.$ZodCheck.init(inst, def);
|
|
2152
|
+
util.hide(inst, Symbol.iterator, function* () {
|
|
2153
|
+
yield inst;
|
|
2154
|
+
});
|
|
2155
|
+
let entries;
|
|
2156
|
+
inst._zod.check = (payload) => {
|
|
2157
|
+
if (payload.value == null) {
|
|
2158
|
+
payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
|
|
2159
|
+
return void 0;
|
|
2160
|
+
}
|
|
2161
|
+
entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
|
|
2162
|
+
const input2 = payload.value;
|
|
2163
|
+
let proms;
|
|
2164
|
+
for (const [key, schema] of entries) {
|
|
2165
|
+
const result = schema._zod.run({ value: input2[key], issues: [] }, {});
|
|
2166
|
+
if (result instanceof Promise) {
|
|
2167
|
+
proms ?? (proms = []);
|
|
2168
|
+
proms.push(result.then((result2) => handleCheckPropertyResult2(result2, payload, key)));
|
|
2169
|
+
} else {
|
|
2170
|
+
handleCheckPropertyResult2(result, payload, key);
|
|
2171
|
+
}
|
|
2172
|
+
}
|
|
2173
|
+
if (proms)
|
|
2174
|
+
return Promise.all(proms).then(() => void 0);
|
|
2175
|
+
return void 0;
|
|
2176
|
+
};
|
|
2177
|
+
});
|
|
2153
2178
|
exports.$ZodCheckMimeType = core.$constructor("$ZodCheckMimeType", (inst, def) => {
|
|
2154
2179
|
exports.$ZodCheck.init(inst, def);
|
|
2155
2180
|
const mimeSet = new Set(def.mime);
|
|
@@ -2264,7 +2289,7 @@ var require_versions = __commonJS({
|
|
|
2264
2289
|
exports.version = {
|
|
2265
2290
|
major: 4,
|
|
2266
2291
|
minor: 6,
|
|
2267
|
-
patch:
|
|
2292
|
+
patch: 5
|
|
2268
2293
|
};
|
|
2269
2294
|
(function() {
|
|
2270
2295
|
var keys = Object.getOwnPropertyNames(exports);
|
|
@@ -2318,8 +2343,10 @@ var require_schemas = __commonJS({
|
|
|
2318
2343
|
};
|
|
2319
2344
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2320
2345
|
exports.$ZodObject = exports.$ZodArray = exports.$ZodDate = exports.$ZodVoid = exports.$ZodNever = exports.$ZodUnknown = exports.$ZodAny = exports.$ZodNull = exports.$ZodUndefined = exports.$ZodSymbol = exports.$ZodBigIntFormat = exports.$ZodBigInt = exports.$ZodBoolean = exports.$ZodNumberFormat = exports.$ZodNumber = exports.$ZodCustomStringFormat = exports.$ZodJWT = exports.$ZodIBAN = exports.$ZodCreditCard = exports.$ZodE164 = exports.$ZodBase64URL = exports.base64urlCharset = exports.$ZodBase64 = exports.base64Charset = exports.$ZodCIDRv6 = exports.$ZodCIDRv4 = exports.$ZodMAC = exports.$ZodIPv6 = exports.$ZodIPv4 = exports.$ZodISODuration = exports.$ZodISOTime = exports.$ZodISODate = exports.$ZodISODateTime = exports.$ZodKSUID = exports.$ZodXID = exports.$ZodULID = exports.$ZodCUID2 = exports.$ZodCUID = exports.$ZodNanoID = exports.$ZodEmoji = exports.$ZodURL = exports.URL_UNPARSEABLE = exports.URL_BAD_FORMAT = exports.$ZodEmail = exports.$ZodUUID = exports.$ZodGUID = exports.$ZodStringFormat = exports.$ZodString = exports.clone = exports.$ZodType = void 0;
|
|
2321
|
-
exports.$
|
|
2346
|
+
exports.$ZodCustom = exports.$ZodLazy = exports.$ZodPromise = exports.$ZodFunction = exports.$ZodTemplateLiteral = exports.$ZodReadonly = exports.$ZodPreprocess = exports.$ZodCodec = exports.$ZodPipe = exports.$ZodNaN = exports.$ZodCatch = exports.$ZodSuccess = exports.$ZodNonOptional = exports.$ZodPrefault = exports.$ZodDefault = exports.$ZodNullable = exports.$ZodExactOptional = exports.$ZodOptional = exports.$ZodTransform = exports.$ZodFile = exports.$ZodLiteral = exports.$ZodEnum = exports.$ZodSet = exports.$ZodMap = exports.$ZodRecord = exports.$ZodTuple = exports.$ZodIntersection = exports.$ZodDiscriminatedUnion = exports.$ZodXor = exports.$ZodUnion = exports.$ZodObjectJIT = void 0;
|
|
2322
2347
|
exports.standardProps = standardProps2;
|
|
2348
|
+
exports.canParseURL = canParseURL2;
|
|
2349
|
+
exports.validateURL = validateURL2;
|
|
2323
2350
|
exports.parseURLObject = parseURLObject2;
|
|
2324
2351
|
exports.stripTabAndNewline = stripTabAndNewline2;
|
|
2325
2352
|
exports.urlHostnameOk = urlHostnameOk2;
|
|
@@ -2528,11 +2555,32 @@ var require_schemas = __commonJS({
|
|
|
2528
2555
|
});
|
|
2529
2556
|
exports.URL_BAD_FORMAT = 1;
|
|
2530
2557
|
exports.URL_UNPARSEABLE = 2;
|
|
2558
|
+
function canParseURL2(input2) {
|
|
2559
|
+
try {
|
|
2560
|
+
if (typeof URL !== "undefined" && typeof URL.canParse === "function")
|
|
2561
|
+
return URL.canParse(input2);
|
|
2562
|
+
new URL(input2);
|
|
2563
|
+
return true;
|
|
2564
|
+
} catch {
|
|
2565
|
+
return false;
|
|
2566
|
+
}
|
|
2567
|
+
}
|
|
2568
|
+
function validateURL2(trimmed, def) {
|
|
2569
|
+
if (!("normalize" in def) && !("hostname" in def) && !("protocol" in def)) {
|
|
2570
|
+
return canParseURL2(trimmed) || exports.URL_UNPARSEABLE;
|
|
2571
|
+
}
|
|
2572
|
+
return parseURLObject2(trimmed, def);
|
|
2573
|
+
}
|
|
2531
2574
|
function parseURLObject2(trimmed, def) {
|
|
2532
2575
|
if (!def.normalize && def.protocol?.source === regexes.httpProtocol.source && !/^https?:\/\//i.test(trimmed)) {
|
|
2533
2576
|
return exports.URL_BAD_FORMAT;
|
|
2534
2577
|
}
|
|
2535
2578
|
try {
|
|
2579
|
+
if (typeof URL !== "undefined") {
|
|
2580
|
+
const URLStatic = URL;
|
|
2581
|
+
if (typeof URLStatic.parse === "function")
|
|
2582
|
+
return URLStatic.parse(trimmed) ?? exports.URL_UNPARSEABLE;
|
|
2583
|
+
}
|
|
2536
2584
|
return new URL(trimmed);
|
|
2537
2585
|
} catch {
|
|
2538
2586
|
return exports.URL_UNPARSEABLE;
|
|
@@ -2555,7 +2603,7 @@ var require_schemas = __commonJS({
|
|
|
2555
2603
|
inst._zod.check = (payload) => {
|
|
2556
2604
|
try {
|
|
2557
2605
|
const trimmed = payload.value.trim();
|
|
2558
|
-
const url4 =
|
|
2606
|
+
const url4 = validateURL2(trimmed, def);
|
|
2559
2607
|
if (url4 === exports.URL_BAD_FORMAT) {
|
|
2560
2608
|
payload.issues.push({
|
|
2561
2609
|
code: "invalid_format",
|
|
@@ -2577,6 +2625,10 @@ var require_schemas = __commonJS({
|
|
|
2577
2625
|
});
|
|
2578
2626
|
return;
|
|
2579
2627
|
}
|
|
2628
|
+
if (url4 === true) {
|
|
2629
|
+
payload.value = stripTabAndNewline2(trimmed);
|
|
2630
|
+
return;
|
|
2631
|
+
}
|
|
2580
2632
|
if (def.hostname && !urlHostnameOk2(url4, def.hostname)) {
|
|
2581
2633
|
payload.issues.push({
|
|
2582
2634
|
code: "invalid_format",
|
|
@@ -2666,12 +2718,7 @@ var require_schemas = __commonJS({
|
|
|
2666
2718
|
function isValidIPv62(value) {
|
|
2667
2719
|
if (!ipv6Alphabet2.test(value))
|
|
2668
2720
|
return false;
|
|
2669
|
-
|
|
2670
|
-
new URL(`http://[${value}]`);
|
|
2671
|
-
return true;
|
|
2672
|
-
} catch {
|
|
2673
|
-
return false;
|
|
2674
|
-
}
|
|
2721
|
+
return canParseURL2(`http://[${value}]`);
|
|
2675
2722
|
}
|
|
2676
2723
|
exports.$ZodIPv6 = core.$constructor("$ZodIPv6", (inst, def) => {
|
|
2677
2724
|
def.pattern ?? (def.pattern = regexes.ipv6);
|
|
@@ -4736,59 +4783,6 @@ var require_schemas = __commonJS({
|
|
|
4736
4783
|
payload.issues.push(util.issue(_iss));
|
|
4737
4784
|
}
|
|
4738
4785
|
}
|
|
4739
|
-
function handlePropertiesResult2(result, payload, key) {
|
|
4740
|
-
if (result.issues.length) {
|
|
4741
|
-
payload.issues.push(...util.prefixIssues(key, result.issues));
|
|
4742
|
-
}
|
|
4743
|
-
}
|
|
4744
|
-
exports.$ZodProperties = core.$constructor("$ZodProperties", (inst, def) => {
|
|
4745
|
-
exports.$ZodType.init(inst, def);
|
|
4746
|
-
checks.$ZodCheck.init(inst, def);
|
|
4747
|
-
const memo3 = core.globalConfig.memoizer;
|
|
4748
|
-
memo3?.attach(inst);
|
|
4749
|
-
let entries;
|
|
4750
|
-
const runShape = (payload, ctx) => {
|
|
4751
|
-
entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
|
|
4752
|
-
const input2 = payload.value;
|
|
4753
|
-
let proms;
|
|
4754
|
-
for (const [key, schema] of entries) {
|
|
4755
|
-
const result = schema._zod.run({ value: input2[key], issues: [] }, ctx);
|
|
4756
|
-
if (result instanceof Promise) {
|
|
4757
|
-
proms ?? (proms = []);
|
|
4758
|
-
proms.push(result.then((result2) => handlePropertiesResult2(result2, payload, key)));
|
|
4759
|
-
} else {
|
|
4760
|
-
handlePropertiesResult2(result, payload, key);
|
|
4761
|
-
}
|
|
4762
|
-
}
|
|
4763
|
-
if (proms)
|
|
4764
|
-
return Promise.all(proms).then(() => void 0);
|
|
4765
|
-
return void 0;
|
|
4766
|
-
};
|
|
4767
|
-
inst._zod.parse = (payload, ctx) => {
|
|
4768
|
-
const input2 = payload.value;
|
|
4769
|
-
if (input2 === null || typeof input2 !== "object" && typeof input2 !== "function") {
|
|
4770
|
-
payload.issues.push({ expected: "object", code: "invalid_type", input: input2, inst });
|
|
4771
|
-
return payload;
|
|
4772
|
-
}
|
|
4773
|
-
if (ctx.direction === "backward")
|
|
4774
|
-
ctx = { ...ctx, direction: "forward" };
|
|
4775
|
-
if (memo3)
|
|
4776
|
-
memo3.alloc(inst, payload, input2, ctx);
|
|
4777
|
-
const result = runShape(payload, ctx);
|
|
4778
|
-
return result instanceof Promise ? result.then(() => payload) : payload;
|
|
4779
|
-
};
|
|
4780
|
-
inst._zod.check = (payload) => {
|
|
4781
|
-
if (payload.value == null) {
|
|
4782
|
-
payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
|
|
4783
|
-
return void 0;
|
|
4784
|
-
}
|
|
4785
|
-
return runShape(payload, {});
|
|
4786
|
-
};
|
|
4787
|
-
}, {
|
|
4788
|
-
*[Symbol.iterator]() {
|
|
4789
|
-
yield this;
|
|
4790
|
-
}
|
|
4791
|
-
});
|
|
4792
4786
|
(function() {
|
|
4793
4787
|
var keys = Object.getOwnPropertyNames(exports);
|
|
4794
4788
|
for (var i = 0; i < keys.length; i++) {
|
|
@@ -4855,7 +4849,7 @@ var require_memoizer = __commonJS({
|
|
|
4855
4849
|
var STATE2 = "~memo";
|
|
4856
4850
|
var NO_ISSUES2 = [];
|
|
4857
4851
|
function isRef2(value) {
|
|
4858
|
-
return value !== null &&
|
|
4852
|
+
return value !== null && typeof value === "object";
|
|
4859
4853
|
}
|
|
4860
4854
|
function cloneIssues2(issues) {
|
|
4861
4855
|
return issues.map((iss) => iss.path ? { ...iss, path: iss.path.slice() } : { ...iss });
|
|
@@ -4904,9 +4898,6 @@ var require_memoizer = __commonJS({
|
|
|
4904
4898
|
check2(def.catchall);
|
|
4905
4899
|
break;
|
|
4906
4900
|
}
|
|
4907
|
-
case "properties":
|
|
4908
|
-
merge2(shape(def.shape, false));
|
|
4909
|
-
break;
|
|
4910
4901
|
case "array":
|
|
4911
4902
|
check2(def.element);
|
|
4912
4903
|
break;
|
|
@@ -5217,6 +5208,7 @@ var require_ar = __commonJS({
|
|
|
5217
5208
|
json_string: "\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",
|
|
5218
5209
|
e164: "\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",
|
|
5219
5210
|
credit_card: "\u0631\u0642\u0645 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0627\u0626\u062A\u0645\u0627\u0646",
|
|
5211
|
+
currency_code: "\u0631\u0645\u0632 \u0627\u0644\u0639\u0645\u0644\u0629",
|
|
5220
5212
|
iban: "IBAN",
|
|
5221
5213
|
jwt: "JWT",
|
|
5222
5214
|
template_literal: "\u0645\u062F\u062E\u0644"
|
|
@@ -5364,6 +5356,7 @@ var require_az = __commonJS({
|
|
|
5364
5356
|
json_string: "JSON string",
|
|
5365
5357
|
e164: "E.164 number",
|
|
5366
5358
|
credit_card: "kredit kart\u0131 n\xF6mr\u0259si",
|
|
5359
|
+
currency_code: "valyuta kodu",
|
|
5367
5360
|
iban: "IBAN",
|
|
5368
5361
|
jwt: "JWT",
|
|
5369
5362
|
template_literal: "input"
|
|
@@ -5560,6 +5553,7 @@ var require_be = __commonJS({
|
|
|
5560
5553
|
json_string: "JSON \u0440\u0430\u0434\u043E\u043A",
|
|
5561
5554
|
e164: "\u043D\u0443\u043C\u0430\u0440 E.164",
|
|
5562
5555
|
credit_card: "\u043D\u0443\u043C\u0430\u0440 \u043A\u0440\u044D\u0434\u044B\u0442\u043D\u0430\u0439 \u043A\u0430\u0440\u0442\u044B",
|
|
5556
|
+
currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
|
|
5563
5557
|
iban: "IBAN",
|
|
5564
5558
|
jwt: "JWT",
|
|
5565
5559
|
template_literal: "\u0443\u0432\u043E\u0434"
|
|
@@ -5714,6 +5708,7 @@ var require_bg = __commonJS({
|
|
|
5714
5708
|
json_string: "JSON \u043D\u0438\u0437",
|
|
5715
5709
|
e164: "E.164 \u043D\u043E\u043C\u0435\u0440",
|
|
5716
5710
|
credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0430",
|
|
5711
|
+
currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
|
|
5717
5712
|
iban: "IBAN",
|
|
5718
5713
|
jwt: "JWT",
|
|
5719
5714
|
template_literal: "\u0432\u0445\u043E\u0434"
|
|
@@ -5875,6 +5870,7 @@ var require_bn = __commonJS({
|
|
|
5875
5870
|
json_string: "JSON \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",
|
|
5876
5871
|
e164: "E.164 \u09A8\u09AE\u09CD\u09AC\u09B0",
|
|
5877
5872
|
credit_card: "\u0995\u09CD\u09B0\u09C7\u09A1\u09BF\u099F \u0995\u09BE\u09B0\u09CD\u09A1 \u09A8\u09AE\u09CD\u09AC\u09B0",
|
|
5873
|
+
currency_code: "\u09AE\u09C1\u09A6\u09CD\u09B0\u09BE \u0995\u09CB\u09A1",
|
|
5878
5874
|
iban: "IBAN",
|
|
5879
5875
|
jwt: "JWT",
|
|
5880
5876
|
template_literal: "\u0987\u09A8\u09AA\u09C1\u099F"
|
|
@@ -6024,6 +6020,7 @@ var require_ca = __commonJS({
|
|
|
6024
6020
|
json_string: "cadena JSON",
|
|
6025
6021
|
e164: "n\xFAmero E.164",
|
|
6026
6022
|
credit_card: "n\xFAmero de targeta de cr\xE8dit",
|
|
6023
|
+
currency_code: "codi de moneda",
|
|
6027
6024
|
iban: "IBAN",
|
|
6028
6025
|
jwt: "JWT",
|
|
6029
6026
|
template_literal: "entrada"
|
|
@@ -6173,6 +6170,7 @@ var require_ckb = __commonJS({
|
|
|
6173
6170
|
json_string: "\u062F\u06D5\u0642\u06CC JSON",
|
|
6174
6171
|
e164: "\u0698\u0645\u0627\u0631\u06D5\u06CC E.164",
|
|
6175
6172
|
credit_card: "\u0698\u0645\u0627\u0631\u06D5\u06CC \u06A9\u0627\u0631\u062A\u06CC \u06A9\u0631\u06CE\u062F\u06CC\u062A",
|
|
6173
|
+
currency_code: "\u06A9\u06C6\u062F\u06CC \u062F\u0631\u0627\u0648",
|
|
6176
6174
|
iban: "IBAN",
|
|
6177
6175
|
jwt: "JWT",
|
|
6178
6176
|
template_literal: "\u062A\u06CE\u06A9\u0631\u062F\u06D5"
|
|
@@ -6341,6 +6339,7 @@ var require_cs = __commonJS({
|
|
|
6341
6339
|
json_string: "\u0159et\u011Bzec ve form\xE1tu JSON",
|
|
6342
6340
|
e164: "\u010D\xEDslo E.164",
|
|
6343
6341
|
credit_card: "\u010D\xEDslo kreditn\xED karty",
|
|
6342
|
+
currency_code: "k\xF3d m\u011Bny",
|
|
6344
6343
|
iban: "IBAN",
|
|
6345
6344
|
jwt: "JWT",
|
|
6346
6345
|
template_literal: "vstup"
|
|
@@ -6493,6 +6492,7 @@ var require_da = __commonJS({
|
|
|
6493
6492
|
json_string: "JSON-streng",
|
|
6494
6493
|
e164: "E.164-nummer",
|
|
6495
6494
|
credit_card: "kreditkortnummer",
|
|
6495
|
+
currency_code: "valutakode",
|
|
6496
6496
|
iban: "IBAN",
|
|
6497
6497
|
jwt: "JWT",
|
|
6498
6498
|
template_literal: "input"
|
|
@@ -6649,6 +6649,7 @@ var require_de = __commonJS({
|
|
|
6649
6649
|
json_string: "JSON-String",
|
|
6650
6650
|
e164: "E.164-Nummer",
|
|
6651
6651
|
credit_card: "Kreditkartennummer",
|
|
6652
|
+
currency_code: "W\xE4hrungscode",
|
|
6652
6653
|
iban: "IBAN",
|
|
6653
6654
|
jwt: "JWT",
|
|
6654
6655
|
template_literal: "Eingabe"
|
|
@@ -6798,6 +6799,7 @@ var require_el = __commonJS({
|
|
|
6798
6799
|
json_string: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",
|
|
6799
6800
|
e164: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",
|
|
6800
6801
|
credit_card: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 \u03C0\u03B9\u03C3\u03C4\u03C9\u03C4\u03B9\u03BA\u03AE\u03C2 \u03BA\u03AC\u03C1\u03C4\u03B1\u03C2",
|
|
6802
|
+
currency_code: "\u03BA\u03C9\u03B4\u03B9\u03BA\u03CC\u03C2 \u03BD\u03BF\u03BC\u03AF\u03C3\u03BC\u03B1\u03C4\u03BF\u03C2",
|
|
6801
6803
|
iban: "IBAN",
|
|
6802
6804
|
jwt: "JWT",
|
|
6803
6805
|
template_literal: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"
|
|
@@ -6945,6 +6947,7 @@ var require_en = __commonJS({
|
|
|
6945
6947
|
base64url: "base64url-encoded string",
|
|
6946
6948
|
json_string: "JSON string",
|
|
6947
6949
|
e164: "E.164 number",
|
|
6950
|
+
currency_code: "currency code",
|
|
6948
6951
|
credit_card: "credit card number",
|
|
6949
6952
|
iban: "IBAN",
|
|
6950
6953
|
jwt: "JWT",
|
|
@@ -7106,6 +7109,7 @@ var require_eo = __commonJS({
|
|
|
7106
7109
|
json_string: "JSON-karaktraro",
|
|
7107
7110
|
e164: "E.164-nombro",
|
|
7108
7111
|
credit_card: "kreditkarta numero",
|
|
7112
|
+
currency_code: "valuta kodo",
|
|
7109
7113
|
iban: "IBAN",
|
|
7110
7114
|
jwt: "JWT",
|
|
7111
7115
|
template_literal: "enigo"
|
|
@@ -7255,6 +7259,7 @@ var require_es = __commonJS({
|
|
|
7255
7259
|
json_string: "cadena JSON",
|
|
7256
7260
|
e164: "n\xFAmero E.164",
|
|
7257
7261
|
credit_card: "n\xFAmero de tarjeta de cr\xE9dito",
|
|
7262
|
+
currency_code: "c\xF3digo de moneda",
|
|
7258
7263
|
iban: "IBAN",
|
|
7259
7264
|
jwt: "JWT",
|
|
7260
7265
|
template_literal: "entrada"
|
|
@@ -7428,6 +7433,7 @@ var require_fa = __commonJS({
|
|
|
7428
7433
|
json_string: "JSON \u0631\u0634\u062A\u0647",
|
|
7429
7434
|
e164: "E.164 \u0639\u062F\u062F",
|
|
7430
7435
|
credit_card: "\u0634\u0645\u0627\u0631\u0647 \u06A9\u0627\u0631\u062A \u0627\u0639\u062A\u0628\u0627\u0631\u06CC",
|
|
7436
|
+
currency_code: "\u06A9\u062F \u0627\u0631\u0632",
|
|
7431
7437
|
iban: "IBAN",
|
|
7432
7438
|
jwt: "JWT",
|
|
7433
7439
|
template_literal: "\u0648\u0631\u0648\u062F\u06CC"
|
|
@@ -7587,6 +7593,7 @@ var require_fi = __commonJS({
|
|
|
7587
7593
|
json_string: "JSON-merkkijono",
|
|
7588
7594
|
e164: "E.164-luku",
|
|
7589
7595
|
credit_card: "luottokortin numero",
|
|
7596
|
+
currency_code: "valuuttakoodi",
|
|
7590
7597
|
iban: "IBAN",
|
|
7591
7598
|
jwt: "JWT",
|
|
7592
7599
|
template_literal: "templaattimerkkijono"
|
|
@@ -7735,6 +7742,7 @@ var require_fr = __commonJS({
|
|
|
7735
7742
|
json_string: "cha\xEEne de caract\xE8res JSON",
|
|
7736
7743
|
e164: "num\xE9ro au format E.164",
|
|
7737
7744
|
credit_card: "num\xE9ro de carte de cr\xE9dit",
|
|
7745
|
+
currency_code: "code de devise",
|
|
7738
7746
|
iban: "IBAN",
|
|
7739
7747
|
jwt: "JWT",
|
|
7740
7748
|
template_literal: "entr\xE9e"
|
|
@@ -7901,6 +7909,7 @@ var require_fr_CA = __commonJS({
|
|
|
7901
7909
|
json_string: "cha\xEEne JSON",
|
|
7902
7910
|
e164: "num\xE9ro E.164",
|
|
7903
7911
|
credit_card: "num\xE9ro de carte de cr\xE9dit",
|
|
7912
|
+
currency_code: "code de devise",
|
|
7904
7913
|
iban: "IBAN",
|
|
7905
7914
|
jwt: "JWT",
|
|
7906
7915
|
template_literal: "entr\xE9e"
|
|
@@ -8049,6 +8058,7 @@ var require_gu = __commonJS({
|
|
|
8049
8058
|
json_string: "JSON \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",
|
|
8050
8059
|
e164: "E.164 \u0AA8\u0A82\u0AAC\u0AB0",
|
|
8051
8060
|
credit_card: "\u0A95\u0ACD\u0AB0\u0AC7\u0AA1\u0ABF\u0A9F \u0A95\u0ABE\u0AB0\u0ACD\u0AA1 \u0AA8\u0A82\u0AAC\u0AB0",
|
|
8061
|
+
currency_code: "\u0A9A\u0AB2\u0AA3 \u0A95\u0ACB\u0AA1",
|
|
8052
8062
|
iban: "IBAN",
|
|
8053
8063
|
jwt: "JWT",
|
|
8054
8064
|
template_literal: "\u0A87\u0AA8\u0AAA\u0AC1\u0A9F"
|
|
@@ -8234,6 +8244,7 @@ var require_he = __commonJS({
|
|
|
8234
8244
|
json_string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON", gender: "f" },
|
|
8235
8245
|
e164: { label: "\u05DE\u05E1\u05E4\u05E8 E.164", gender: "m" },
|
|
8236
8246
|
credit_card: { label: "\u05DE\u05E1\u05E4\u05E8 \u05DB\u05E8\u05D8\u05D9\u05E1 \u05D0\u05E9\u05E8\u05D0\u05D9", gender: "m" },
|
|
8247
|
+
currency_code: { label: "\u05E7\u05D5\u05D3 \u05DE\u05D8\u05D1\u05E2", gender: "m" },
|
|
8237
8248
|
iban: { label: "IBAN", gender: "m" },
|
|
8238
8249
|
jwt: { label: "JWT", gender: "m" },
|
|
8239
8250
|
template_literal: { label: "\u05E7\u05DC\u05D8", gender: "m" },
|
|
@@ -8435,6 +8446,7 @@ var require_hi = __commonJS({
|
|
|
8435
8446
|
json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",
|
|
8436
8447
|
e164: "E.164 \u0938\u0902\u0916\u094D\u092F\u093E",
|
|
8437
8448
|
credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0938\u0902\u0916\u094D\u092F\u093E",
|
|
8449
|
+
currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
|
|
8438
8450
|
iban: "IBAN",
|
|
8439
8451
|
jwt: "JWT",
|
|
8440
8452
|
template_literal: "\u0907\u0928\u092A\u0941\u091F"
|
|
@@ -8581,6 +8593,7 @@ var require_hr = __commonJS({
|
|
|
8581
8593
|
json_string: "JSON tekst",
|
|
8582
8594
|
e164: "E.164 broj",
|
|
8583
8595
|
credit_card: "broj kreditne kartice",
|
|
8596
|
+
currency_code: "kod valute",
|
|
8584
8597
|
iban: "IBAN",
|
|
8585
8598
|
jwt: "JWT",
|
|
8586
8599
|
template_literal: "unos"
|
|
@@ -8744,6 +8757,7 @@ var require_hu = __commonJS({
|
|
|
8744
8757
|
json_string: "JSON string",
|
|
8745
8758
|
e164: "E.164 sz\xE1m",
|
|
8746
8759
|
credit_card: "hitelk\xE1rtyasz\xE1m",
|
|
8760
|
+
currency_code: "p\xE9nznemk\xF3d",
|
|
8747
8761
|
iban: "IBAN",
|
|
8748
8762
|
jwt: "JWT",
|
|
8749
8763
|
template_literal: "bemenet"
|
|
@@ -8933,6 +8947,7 @@ var require_hy = __commonJS({
|
|
|
8933
8947
|
json_string: "JSON \u057F\u0578\u0572",
|
|
8934
8948
|
e164: "E.164 \u0570\u0561\u0574\u0561\u0580",
|
|
8935
8949
|
credit_card: "\u056F\u0580\u0565\u0564\u056B\u057F \u0584\u0561\u0580\u057F\u056B \u0570\u0561\u0574\u0561\u0580",
|
|
8950
|
+
currency_code: "\u0561\u0580\u056A\u0578\u0582\u0575\u0569\u056B \u056F\u0578\u0564",
|
|
8936
8951
|
iban: "IBAN",
|
|
8937
8952
|
jwt: "JWT",
|
|
8938
8953
|
template_literal: "\u0574\u0578\u0582\u057F\u0584"
|
|
@@ -9087,6 +9102,7 @@ var require_id = __commonJS({
|
|
|
9087
9102
|
json_string: "string JSON",
|
|
9088
9103
|
e164: "angka E.164",
|
|
9089
9104
|
credit_card: "nomor kartu kredit",
|
|
9105
|
+
currency_code: "kode mata uang",
|
|
9090
9106
|
iban: "IBAN",
|
|
9091
9107
|
jwt: "JWT",
|
|
9092
9108
|
template_literal: "input"
|
|
@@ -9234,6 +9250,7 @@ var require_is = __commonJS({
|
|
|
9234
9250
|
json_string: "JSON strengur",
|
|
9235
9251
|
e164: "E.164 t\xF6lugildi",
|
|
9236
9252
|
credit_card: "kreditkortan\xFAmer",
|
|
9253
|
+
currency_code: "gjaldmi\xF0ilsk\xF3\xF0i",
|
|
9237
9254
|
iban: "IBAN",
|
|
9238
9255
|
jwt: "JWT",
|
|
9239
9256
|
template_literal: "gildi"
|
|
@@ -9384,6 +9401,7 @@ var require_it = __commonJS({
|
|
|
9384
9401
|
json_string: "stringa JSON",
|
|
9385
9402
|
e164: "numero E.164",
|
|
9386
9403
|
credit_card: "numero di carta di credito",
|
|
9404
|
+
currency_code: "codice valuta",
|
|
9387
9405
|
iban: "IBAN",
|
|
9388
9406
|
jwt: "JWT",
|
|
9389
9407
|
template_literal: "input"
|
|
@@ -9533,6 +9551,7 @@ var require_ja = __commonJS({
|
|
|
9533
9551
|
json_string: "JSON\u6587\u5B57\u5217",
|
|
9534
9552
|
e164: "E.164\u756A\u53F7",
|
|
9535
9553
|
credit_card: "\u30AF\u30EC\u30B8\u30C3\u30C8\u30AB\u30FC\u30C9\u756A\u53F7",
|
|
9554
|
+
currency_code: "\u901A\u8CA8\u30B3\u30FC\u30C9",
|
|
9536
9555
|
iban: "IBAN",
|
|
9537
9556
|
jwt: "JWT",
|
|
9538
9557
|
template_literal: "\u5165\u529B\u5024"
|
|
@@ -9681,6 +9700,7 @@ var require_ka = __commonJS({
|
|
|
9681
9700
|
json_string: "JSON \u10D5\u10D4\u10DA\u10D8",
|
|
9682
9701
|
e164: "E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
|
|
9683
9702
|
credit_card: "\u10E1\u10D0\u10D9\u10E0\u10D4\u10D3\u10D8\u10E2\u10DD \u10D1\u10D0\u10E0\u10D0\u10D7\u10D8\u10E1 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
|
|
9703
|
+
currency_code: "\u10D5\u10D0\u10DA\u10E3\u10E2\u10D8\u10E1 \u10D9\u10DD\u10D3\u10D8",
|
|
9684
9704
|
iban: "IBAN",
|
|
9685
9705
|
jwt: "JWT",
|
|
9686
9706
|
template_literal: "\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"
|
|
@@ -9834,6 +9854,7 @@ var require_km = __commonJS({
|
|
|
9834
9854
|
json_string: "\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",
|
|
9835
9855
|
e164: "\u179B\u17C1\u1781 E.164",
|
|
9836
9856
|
credit_card: "\u179B\u17C1\u1781\u1794\u17D0\u178E\u17D2\u178E\u17A5\u178E\u1791\u17B6\u1793",
|
|
9857
|
+
currency_code: "\u1780\u17BC\u178A\u179A\u17BC\u1794\u17B7\u1799\u1794\u17D0\u178E\u17D2\u178E",
|
|
9837
9858
|
iban: "IBAN",
|
|
9838
9859
|
jwt: "JWT",
|
|
9839
9860
|
template_literal: "\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"
|
|
@@ -10002,6 +10023,7 @@ var require_kn = __commonJS({
|
|
|
10002
10023
|
json_string: "JSON\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",
|
|
10003
10024
|
e164: "E.164 \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
|
|
10004
10025
|
credit_card: "\u0C95\u0CCD\u0CB0\u0CC6\u0CA1\u0CBF\u0C9F\u0CCD \u0C95\u0CBE\u0CB0\u0CCD\u0CA1\u0CCD \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
|
|
10026
|
+
currency_code: "\u0C95\u0CB0\u0CC6\u0CA8\u0CCD\u0CB8\u0CBF \u0C95\u0CCB\u0CA1\u0CCD",
|
|
10005
10027
|
iban: "IBAN",
|
|
10006
10028
|
jwt: "JWT",
|
|
10007
10029
|
template_literal: "\u0C87\u0CA8\u0CCD\u0CAA\u0CC1\u0C9F\u0CCD"
|
|
@@ -10153,6 +10175,7 @@ var require_ko = __commonJS({
|
|
|
10153
10175
|
json_string: "JSON \uBB38\uC790\uC5F4",
|
|
10154
10176
|
e164: "E.164 \uBC88\uD638",
|
|
10155
10177
|
credit_card: "\uC2E0\uC6A9\uCE74\uB4DC \uBC88\uD638",
|
|
10178
|
+
currency_code: "\uD1B5\uD654 \uCF54\uB4DC",
|
|
10156
10179
|
iban: "IBAN",
|
|
10157
10180
|
jwt: "JWT",
|
|
10158
10181
|
template_literal: "\uC785\uB825"
|
|
@@ -10387,6 +10410,7 @@ var require_lt = __commonJS({
|
|
|
10387
10410
|
json_string: "JSON eilut\u0117",
|
|
10388
10411
|
e164: "E.164 numeris",
|
|
10389
10412
|
credit_card: "kredito kortel\u0117s numeris",
|
|
10413
|
+
currency_code: "valiutos kodas",
|
|
10390
10414
|
iban: "IBAN",
|
|
10391
10415
|
jwt: "JWT",
|
|
10392
10416
|
template_literal: "\u012Fvestis"
|
|
@@ -10548,6 +10572,7 @@ var require_mk = __commonJS({
|
|
|
10548
10572
|
json_string: "JSON \u043D\u0438\u0437\u0430",
|
|
10549
10573
|
e164: "E.164 \u0431\u0440\u043E\u0458",
|
|
10550
10574
|
credit_card: "\u0431\u0440\u043E\u0458 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u0447\u043A\u0430",
|
|
10575
|
+
currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
|
|
10551
10576
|
iban: "IBAN",
|
|
10552
10577
|
jwt: "JWT",
|
|
10553
10578
|
template_literal: "\u0432\u043D\u0435\u0441"
|
|
@@ -10698,6 +10723,7 @@ var require_ms = __commonJS({
|
|
|
10698
10723
|
json_string: "string JSON",
|
|
10699
10724
|
e164: "nombor E.164",
|
|
10700
10725
|
credit_card: "nombor kad kredit",
|
|
10726
|
+
currency_code: "kod mata wang",
|
|
10701
10727
|
iban: "IBAN",
|
|
10702
10728
|
jwt: "JWT",
|
|
10703
10729
|
template_literal: "input"
|
|
@@ -10846,6 +10872,7 @@ var require_ne = __commonJS({
|
|
|
10846
10872
|
json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0919",
|
|
10847
10873
|
e164: "E.164 \u0928\u092E\u094D\u092C\u0930",
|
|
10848
10874
|
credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0928\u092E\u094D\u092C\u0930",
|
|
10875
|
+
currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
|
|
10849
10876
|
iban: "IBAN",
|
|
10850
10877
|
jwt: "JWT",
|
|
10851
10878
|
template_literal: "\u0907\u0928\u092A\u0941\u091F"
|
|
@@ -10993,6 +11020,7 @@ var require_nl = __commonJS({
|
|
|
10993
11020
|
json_string: "JSON string",
|
|
10994
11021
|
e164: "E.164-nummer",
|
|
10995
11022
|
credit_card: "creditcardnummer",
|
|
11023
|
+
currency_code: "valutacode",
|
|
10996
11024
|
iban: "IBAN",
|
|
10997
11025
|
jwt: "JWT",
|
|
10998
11026
|
template_literal: "invoer"
|
|
@@ -11144,6 +11172,7 @@ var require_nn = __commonJS({
|
|
|
11144
11172
|
json_string: "JSON-streng",
|
|
11145
11173
|
e164: "E.164-nummer",
|
|
11146
11174
|
credit_card: "kredittkortnummer",
|
|
11175
|
+
currency_code: "valutakode",
|
|
11147
11176
|
iban: "IBAN",
|
|
11148
11177
|
jwt: "JWT",
|
|
11149
11178
|
template_literal: "input"
|
|
@@ -11293,6 +11322,7 @@ var require_no = __commonJS({
|
|
|
11293
11322
|
json_string: "JSON-streng",
|
|
11294
11323
|
e164: "E.164-nummer",
|
|
11295
11324
|
credit_card: "kredittkortnummer",
|
|
11325
|
+
currency_code: "valutakode",
|
|
11296
11326
|
iban: "IBAN",
|
|
11297
11327
|
jwt: "JWT",
|
|
11298
11328
|
template_literal: "input"
|
|
@@ -11442,6 +11472,7 @@ var require_ota = __commonJS({
|
|
|
11442
11472
|
json_string: "JSON metin",
|
|
11443
11473
|
e164: "E.164 say\u0131s\u0131",
|
|
11444
11474
|
credit_card: "i'tib\xE2r kart\u0131 numaras\u0131",
|
|
11475
|
+
currency_code: "para birimi kodu",
|
|
11445
11476
|
iban: "IBAN",
|
|
11446
11477
|
jwt: "JWT",
|
|
11447
11478
|
template_literal: "giren"
|
|
@@ -11592,6 +11623,7 @@ var require_ps = __commonJS({
|
|
|
11592
11623
|
json_string: "JSON \u0645\u062A\u0646",
|
|
11593
11624
|
e164: "\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",
|
|
11594
11625
|
credit_card: "\u062F \u06A9\u0631\u06CC\u0689\u06CC\u067C \u06A9\u0627\u0631\u062A \u0634\u0645\u06CC\u0631\u0647",
|
|
11626
|
+
currency_code: "\u062F \u0627\u0633\u0639\u0627\u0631\u0648 \u06A9\u0648\u0689",
|
|
11595
11627
|
iban: "IBAN",
|
|
11596
11628
|
jwt: "JWT",
|
|
11597
11629
|
template_literal: "\u0648\u0631\u0648\u062F\u064A"
|
|
@@ -11747,6 +11779,7 @@ var require_pl = __commonJS({
|
|
|
11747
11779
|
json_string: "ci\u0105g znak\xF3w w formacie JSON",
|
|
11748
11780
|
e164: "liczba E.164",
|
|
11749
11781
|
credit_card: "numer karty kredytowej",
|
|
11782
|
+
currency_code: "kod waluty",
|
|
11750
11783
|
iban: "IBAN",
|
|
11751
11784
|
jwt: "JWT",
|
|
11752
11785
|
template_literal: "wej\u015Bcie"
|
|
@@ -11897,6 +11930,7 @@ var require_pt = __commonJS({
|
|
|
11897
11930
|
json_string: "o texto JSON",
|
|
11898
11931
|
e164: "o n\xFAmero E.164",
|
|
11899
11932
|
credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
|
|
11933
|
+
currency_code: "o c\xF3digo de moeda",
|
|
11900
11934
|
iban: "o IBAN",
|
|
11901
11935
|
jwt: "o JWT",
|
|
11902
11936
|
template_literal: "a entrada"
|
|
@@ -12076,6 +12110,7 @@ var require_pt_BR = __commonJS({
|
|
|
12076
12110
|
json_string: "o texto JSON",
|
|
12077
12111
|
e164: "o n\xFAmero E.164",
|
|
12078
12112
|
credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
|
|
12113
|
+
currency_code: "o c\xF3digo de moeda",
|
|
12079
12114
|
iban: "o IBAN",
|
|
12080
12115
|
jwt: "o JWT",
|
|
12081
12116
|
template_literal: "a entrada"
|
|
@@ -12256,6 +12291,7 @@ var require_ro = __commonJS({
|
|
|
12256
12291
|
json_string: "\u0219ir JSON",
|
|
12257
12292
|
e164: "num\u0103r E.164",
|
|
12258
12293
|
credit_card: "num\u0103r de card de credit",
|
|
12294
|
+
currency_code: "cod valutar",
|
|
12259
12295
|
iban: "IBAN",
|
|
12260
12296
|
jwt: "JWT",
|
|
12261
12297
|
template_literal: "intrare"
|
|
@@ -12464,6 +12500,7 @@ var require_ru = __commonJS({
|
|
|
12464
12500
|
json_string: "JSON \u0441\u0442\u0440\u043E\u043A\u0430",
|
|
12465
12501
|
e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
|
|
12466
12502
|
credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0439 \u043A\u0430\u0440\u0442\u044B",
|
|
12503
|
+
currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
|
|
12467
12504
|
iban: "IBAN",
|
|
12468
12505
|
jwt: "JWT",
|
|
12469
12506
|
template_literal: "\u0432\u0432\u043E\u0434"
|
|
@@ -12618,6 +12655,7 @@ var require_sk = __commonJS({
|
|
|
12618
12655
|
json_string: "re\u0165azec vo form\xE1te JSON",
|
|
12619
12656
|
e164: "\u010D\xEDslo E.164",
|
|
12620
12657
|
credit_card: "\u010D\xEDslo kreditnej karty",
|
|
12658
|
+
currency_code: "k\xF3d meny",
|
|
12621
12659
|
iban: "IBAN",
|
|
12622
12660
|
jwt: "JWT",
|
|
12623
12661
|
template_literal: "vstup"
|
|
@@ -12770,6 +12808,7 @@ var require_sl = __commonJS({
|
|
|
12770
12808
|
json_string: "JSON niz",
|
|
12771
12809
|
e164: "E.164 \u0161tevilka",
|
|
12772
12810
|
credit_card: "\u0161tevilka kreditne kartice",
|
|
12811
|
+
currency_code: "koda valute",
|
|
12773
12812
|
iban: "IBAN",
|
|
12774
12813
|
jwt: "JWT",
|
|
12775
12814
|
template_literal: "vnos"
|
|
@@ -12920,6 +12959,7 @@ var require_sv = __commonJS({
|
|
|
12920
12959
|
json_string: "JSON-str\xE4ng",
|
|
12921
12960
|
e164: "E.164-nummer",
|
|
12922
12961
|
credit_card: "kreditkortsnummer",
|
|
12962
|
+
currency_code: "valutakod",
|
|
12923
12963
|
iban: "IBAN",
|
|
12924
12964
|
jwt: "JWT",
|
|
12925
12965
|
template_literal: "mall-literal"
|
|
@@ -13071,6 +13111,7 @@ var require_ta = __commonJS({
|
|
|
13071
13111
|
json_string: "JSON \u0B9A\u0BB0\u0BAE\u0BCD",
|
|
13072
13112
|
e164: "E.164 \u0B8E\u0BA3\u0BCD",
|
|
13073
13113
|
credit_card: "\u0B95\u0B9F\u0BA9\u0BCD \u0B85\u0B9F\u0BCD\u0B9F\u0BC8 \u0B8E\u0BA3\u0BCD",
|
|
13114
|
+
currency_code: "\u0BA8\u0BBE\u0BA3\u0BAF\u0B95\u0BCD \u0B95\u0BC1\u0BB1\u0BBF\u0BAF\u0BC0\u0B9F\u0BC1",
|
|
13074
13115
|
iban: "IBAN",
|
|
13075
13116
|
jwt: "JWT",
|
|
13076
13117
|
template_literal: "input"
|
|
@@ -13222,6 +13263,7 @@ var require_tg = __commonJS({
|
|
|
13222
13263
|
json_string: "\u0441\u0430\u0442\u0440\u0438 JSON",
|
|
13223
13264
|
e164: "\u0440\u0430\u049B\u0430\u043C\u0438 E.164",
|
|
13224
13265
|
credit_card: "\u0440\u0430\u049B\u0430\u043C\u0438 \u043A\u043E\u0440\u0442\u0438 \u043A\u0440\u0435\u0434\u0438\u0442\u04E3",
|
|
13266
|
+
currency_code: "\u0440\u0430\u043C\u0437\u0438 \u0430\u0441\u044A\u043E\u0440",
|
|
13225
13267
|
iban: "IBAN",
|
|
13226
13268
|
jwt: "JWT",
|
|
13227
13269
|
template_literal: "\u0432\u0443\u0440\u0443\u0434"
|
|
@@ -13374,6 +13416,7 @@ var require_th = __commonJS({
|
|
|
13374
13416
|
json_string: "\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",
|
|
13375
13417
|
e164: "\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",
|
|
13376
13418
|
credit_card: "\u0E2B\u0E21\u0E32\u0E22\u0E40\u0E25\u0E02\u0E1A\u0E31\u0E15\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15",
|
|
13419
|
+
currency_code: "\u0E23\u0E2B\u0E31\u0E2A\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19",
|
|
13377
13420
|
iban: "IBAN",
|
|
13378
13421
|
jwt: "\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",
|
|
13379
13422
|
template_literal: "\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"
|
|
@@ -13525,6 +13568,7 @@ var require_tk = __commonJS({
|
|
|
13525
13568
|
json_string: "JSON setiri",
|
|
13526
13569
|
e164: "E.164 nomeri",
|
|
13527
13570
|
credit_card: "kredit kartyny\u0148 nomeri",
|
|
13571
|
+
currency_code: "wal\xFDuta kody",
|
|
13528
13572
|
iban: "IBAN",
|
|
13529
13573
|
jwt: "JWT",
|
|
13530
13574
|
template_literal: "\u015Fablon"
|
|
@@ -13668,6 +13712,7 @@ var require_tr = __commonJS({
|
|
|
13668
13712
|
json_string: "JSON dizesi",
|
|
13669
13713
|
e164: "E.164 say\u0131s\u0131",
|
|
13670
13714
|
credit_card: "kredi kart\u0131 numaras\u0131",
|
|
13715
|
+
currency_code: "para birimi kodu",
|
|
13671
13716
|
iban: "IBAN",
|
|
13672
13717
|
jwt: "JWT",
|
|
13673
13718
|
template_literal: "\u015Eablon dizesi"
|
|
@@ -13814,6 +13859,7 @@ var require_uk = __commonJS({
|
|
|
13814
13859
|
json_string: "\u0440\u044F\u0434\u043E\u043A JSON",
|
|
13815
13860
|
e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
|
|
13816
13861
|
credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0457 \u043A\u0430\u0440\u0442\u043A\u0438",
|
|
13862
|
+
currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u0438",
|
|
13817
13863
|
iban: "IBAN",
|
|
13818
13864
|
jwt: "JWT",
|
|
13819
13865
|
template_literal: "\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"
|
|
@@ -13980,6 +14026,7 @@ var require_ur = __commonJS({
|
|
|
13980
14026
|
json_string: "\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",
|
|
13981
14027
|
e164: "\u0627\u06CC 164 \u0646\u0645\u0628\u0631",
|
|
13982
14028
|
credit_card: "\u06A9\u0631\u06CC\u0688\u0679 \u06A9\u0627\u0631\u0688 \u0646\u0645\u0628\u0631",
|
|
14029
|
+
currency_code: "\u06A9\u0631\u0646\u0633\u06CC \u06A9\u0648\u0688",
|
|
13983
14030
|
iban: "IBAN",
|
|
13984
14031
|
jwt: "\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",
|
|
13985
14032
|
template_literal: "\u0627\u0646 \u067E\u0679"
|
|
@@ -14131,6 +14178,7 @@ var require_uz = __commonJS({
|
|
|
14131
14178
|
json_string: "JSON satr",
|
|
14132
14179
|
e164: "E.164 raqam",
|
|
14133
14180
|
credit_card: "kredit karta raqami",
|
|
14181
|
+
currency_code: "valyuta kodi",
|
|
14134
14182
|
iban: "IBAN",
|
|
14135
14183
|
jwt: "JWT",
|
|
14136
14184
|
template_literal: "kirish"
|
|
@@ -14280,6 +14328,7 @@ var require_vi = __commonJS({
|
|
|
14280
14328
|
json_string: "chu\u1ED7i JSON",
|
|
14281
14329
|
e164: "s\u1ED1 E.164",
|
|
14282
14330
|
credit_card: "s\u1ED1 th\u1EBB t\xEDn d\u1EE5ng",
|
|
14331
|
+
currency_code: "m\xE3 ti\u1EC1n t\u1EC7",
|
|
14283
14332
|
iban: "IBAN",
|
|
14284
14333
|
jwt: "JWT",
|
|
14285
14334
|
template_literal: "\u0111\u1EA7u v\xE0o"
|
|
@@ -14429,6 +14478,7 @@ var require_zh_CN = __commonJS({
|
|
|
14429
14478
|
json_string: "JSON\u5B57\u7B26\u4E32",
|
|
14430
14479
|
e164: "E.164\u53F7\u7801",
|
|
14431
14480
|
credit_card: "\u4FE1\u7528\u5361\u53F7",
|
|
14481
|
+
currency_code: "\u8D27\u5E01\u4EE3\u7801",
|
|
14432
14482
|
iban: "IBAN",
|
|
14433
14483
|
jwt: "JWT",
|
|
14434
14484
|
template_literal: "\u8F93\u5165"
|
|
@@ -14579,6 +14629,7 @@ var require_zh_TW = __commonJS({
|
|
|
14579
14629
|
json_string: "JSON \u5B57\u4E32",
|
|
14580
14630
|
e164: "E.164 \u6578\u503C",
|
|
14581
14631
|
credit_card: "\u4FE1\u7528\u5361\u865F",
|
|
14632
|
+
currency_code: "\u8CA8\u5E63\u4EE3\u78BC",
|
|
14582
14633
|
iban: "IBAN",
|
|
14583
14634
|
jwt: "JWT",
|
|
14584
14635
|
template_literal: "\u8F38\u5165"
|
|
@@ -14727,6 +14778,7 @@ var require_yo = __commonJS({
|
|
|
14727
14778
|
json_string: "\u1ECD\u0300r\u1ECD\u0300 JSON",
|
|
14728
14779
|
e164: "n\u1ECD\u0301mb\xE0 E.164",
|
|
14729
14780
|
credit_card: "n\u1ECDmba kaadi gbese",
|
|
14781
|
+
currency_code: "koodu ow\xF3",
|
|
14730
14782
|
iban: "IBAN",
|
|
14731
14783
|
jwt: "JWT",
|
|
14732
14784
|
template_literal: "\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"
|
|
@@ -15457,7 +15509,7 @@ ${code}
|
|
|
15457
15509
|
generatePropertyCheck2(doc, ctx, def, currentAccessor);
|
|
15458
15510
|
break;
|
|
15459
15511
|
case "properties":
|
|
15460
|
-
generatePropertiesChecks2(doc, ctx, def, currentAccessor
|
|
15512
|
+
generatePropertiesChecks2(doc, ctx, def, currentAccessor);
|
|
15461
15513
|
break;
|
|
15462
15514
|
case "overwrite": {
|
|
15463
15515
|
const newAccessor = newVar2(ctx);
|
|
@@ -15567,11 +15619,11 @@ ${code}
|
|
|
15567
15619
|
doc.write(`if (!${mimeSet}.has(${accessor}.type)) return INVALID;`);
|
|
15568
15620
|
}
|
|
15569
15621
|
}
|
|
15570
|
-
function generatePropertiesChecks2(doc, ctx, def, accessor
|
|
15622
|
+
function generatePropertiesChecks2(doc, ctx, def, accessor) {
|
|
15571
15623
|
if (def.when) {
|
|
15572
15624
|
throw new ZodCompileUnsupportedError2(`check with a custom "when" condition`);
|
|
15573
15625
|
}
|
|
15574
|
-
doc.write(
|
|
15626
|
+
doc.write(`if (${accessor} == null) return INVALID;`);
|
|
15575
15627
|
const shape = def.shape;
|
|
15576
15628
|
for (const key of Reflect.ownKeys(shape)) {
|
|
15577
15629
|
const keyExpr = typeof key === "symbol" ? addConstant2(ctx, key) : util.esc(key);
|
|
@@ -15661,7 +15713,7 @@ ${code}
|
|
|
15661
15713
|
"uuid",
|
|
15662
15714
|
"xid"
|
|
15663
15715
|
]);
|
|
15664
|
-
function generateStringFormatCheck2(doc, ctx, def, accessor) {
|
|
15716
|
+
function generateStringFormatCheck2(doc, ctx, def, accessor, needsValue = true) {
|
|
15665
15717
|
const fmt = def.format;
|
|
15666
15718
|
if (fmt === "base64") {
|
|
15667
15719
|
const validator = addConstant2(ctx, schemas_js_1.isValidBase64);
|
|
@@ -15701,7 +15753,7 @@ ${code}
|
|
|
15701
15753
|
}
|
|
15702
15754
|
const formatDef = def;
|
|
15703
15755
|
if (fmt === "url" || fmt === "httpurl" || formatDef.normalize || formatDef.hostname !== void 0 || formatDef.protocol !== void 0) {
|
|
15704
|
-
const parseConst = addConstant2(ctx, schemas_js_1.
|
|
15756
|
+
const parseConst = addConstant2(ctx, schemas_js_1.validateURL);
|
|
15705
15757
|
const defConst = addConstant2(ctx, def);
|
|
15706
15758
|
const trimVar = newVar2(ctx);
|
|
15707
15759
|
const urlVar = newVar2(ctx);
|
|
@@ -15716,6 +15768,8 @@ ${code}
|
|
|
15716
15768
|
const protocolConst = addConstant2(ctx, schemas_js_1.urlProtocolOk);
|
|
15717
15769
|
doc.write(`if (!${protocolConst}(${urlVar}, ${defConst}.protocol)) return INVALID;`);
|
|
15718
15770
|
}
|
|
15771
|
+
if (!needsValue)
|
|
15772
|
+
return null;
|
|
15719
15773
|
const outputVar = newVar2(ctx);
|
|
15720
15774
|
const outputExpr = formatDef.normalize ? `${urlVar}.href` : `${addConstant2(ctx, schemas_js_1.stripTabAndNewline)}(${trimVar})`;
|
|
15721
15775
|
doc.write(`const ${outputVar} = ${outputExpr};`);
|
|
@@ -15775,7 +15829,7 @@ ${code}
|
|
|
15775
15829
|
let typeAccessor;
|
|
15776
15830
|
switch (type) {
|
|
15777
15831
|
case "string":
|
|
15778
|
-
typeAccessor = generateStringCheck2(doc, ctx, schema, accessor);
|
|
15832
|
+
typeAccessor = generateStringCheck2(doc, ctx, schema, accessor, buildsValue);
|
|
15779
15833
|
break;
|
|
15780
15834
|
case "number":
|
|
15781
15835
|
typeAccessor = generateNumberCheck2(doc, schema, accessor);
|
|
@@ -15881,10 +15935,6 @@ ${code}
|
|
|
15881
15935
|
case "custom":
|
|
15882
15936
|
typeAccessor = generateCustomCheck2(doc, ctx, schema, accessor);
|
|
15883
15937
|
break;
|
|
15884
|
-
case "properties":
|
|
15885
|
-
generatePropertiesChecks2(doc, ctx, schema._zod.def, accessor, true);
|
|
15886
|
-
typeAccessor = accessor;
|
|
15887
|
-
break;
|
|
15888
15938
|
case "transform":
|
|
15889
15939
|
typeAccessor = generateTransformCheck2(doc, ctx, schema, accessor);
|
|
15890
15940
|
break;
|
|
@@ -15900,12 +15950,12 @@ ${code}
|
|
|
15900
15950
|
return null;
|
|
15901
15951
|
return generateChecks2(doc, ctx, schema, typeAccessor);
|
|
15902
15952
|
}
|
|
15903
|
-
function generateStringCheck2(doc, ctx, schema, accessor) {
|
|
15953
|
+
function generateStringCheck2(doc, ctx, schema, accessor, needsValue = true) {
|
|
15904
15954
|
doc.write(`if (typeof ${accessor} !== "string") return INVALID;`);
|
|
15905
15955
|
const def = schema._zod.def;
|
|
15906
15956
|
if (def.format === void 0)
|
|
15907
15957
|
return accessor;
|
|
15908
|
-
return generateStringFormatCheck2(doc, ctx, def, accessor);
|
|
15958
|
+
return generateStringFormatCheck2(doc, ctx, def, accessor, needsValue);
|
|
15909
15959
|
}
|
|
15910
15960
|
function generateNumberCheck2(doc, schema, accessor) {
|
|
15911
15961
|
doc.write(`if (typeof ${accessor} !== "number" || !Number.isFinite(${accessor})) return INVALID;`);
|
|
@@ -16982,20 +17032,18 @@ var require_api = __commonJS({
|
|
|
16982
17032
|
var registries = __importStar(require_registries());
|
|
16983
17033
|
var schemas = __importStar(require_schemas());
|
|
16984
17034
|
var util = __importStar(require_util());
|
|
17035
|
+
function snapshotChecks2(def) {
|
|
17036
|
+
if (def.checks)
|
|
17037
|
+
def.checks = [...def.checks];
|
|
17038
|
+
return def;
|
|
17039
|
+
}
|
|
16985
17040
|
// @__NO_SIDE_EFFECTS__
|
|
16986
17041
|
function _string2(Class2, params) {
|
|
16987
|
-
return new Class2({
|
|
16988
|
-
type: "string",
|
|
16989
|
-
...util.normalizeParams(params)
|
|
16990
|
-
});
|
|
17042
|
+
return new Class2(snapshotChecks2({ type: "string", ...util.normalizeParams(params) }));
|
|
16991
17043
|
}
|
|
16992
17044
|
// @__NO_SIDE_EFFECTS__
|
|
16993
17045
|
function _coercedString2(Class2, params) {
|
|
16994
|
-
return new Class2({
|
|
16995
|
-
type: "string",
|
|
16996
|
-
coerce: true,
|
|
16997
|
-
...util.normalizeParams(params)
|
|
16998
|
-
});
|
|
17046
|
+
return new Class2(snapshotChecks2({ type: "string", coerce: true, ...util.normalizeParams(params) }));
|
|
16999
17047
|
}
|
|
17000
17048
|
// @__NO_SIDE_EFFECTS__
|
|
17001
17049
|
function _email2(Class2, params) {
|
|
@@ -17299,20 +17347,11 @@ var require_api = __commonJS({
|
|
|
17299
17347
|
}
|
|
17300
17348
|
// @__NO_SIDE_EFFECTS__
|
|
17301
17349
|
function _number2(Class2, params) {
|
|
17302
|
-
return new Class2({
|
|
17303
|
-
type: "number",
|
|
17304
|
-
checks: [],
|
|
17305
|
-
...util.normalizeParams(params)
|
|
17306
|
-
});
|
|
17350
|
+
return new Class2(snapshotChecks2({ type: "number", checks: [], ...util.normalizeParams(params) }));
|
|
17307
17351
|
}
|
|
17308
17352
|
// @__NO_SIDE_EFFECTS__
|
|
17309
17353
|
function _coercedNumber2(Class2, params) {
|
|
17310
|
-
return new Class2({
|
|
17311
|
-
type: "number",
|
|
17312
|
-
coerce: true,
|
|
17313
|
-
checks: [],
|
|
17314
|
-
...util.normalizeParams(params)
|
|
17315
|
-
});
|
|
17354
|
+
return new Class2(snapshotChecks2({ type: "number", coerce: true, checks: [], ...util.normalizeParams(params) }));
|
|
17316
17355
|
}
|
|
17317
17356
|
// @__NO_SIDE_EFFECTS__
|
|
17318
17357
|
function _int2(Class2, params) {
|
|
@@ -17654,9 +17693,8 @@ var require_api = __commonJS({
|
|
|
17654
17693
|
});
|
|
17655
17694
|
}
|
|
17656
17695
|
// @__NO_SIDE_EFFECTS__
|
|
17657
|
-
function _properties2(
|
|
17658
|
-
return new
|
|
17659
|
-
type: "properties",
|
|
17696
|
+
function _properties2(shape, params) {
|
|
17697
|
+
return new checks.$ZodCheckProperties({
|
|
17660
17698
|
check: "properties",
|
|
17661
17699
|
shape,
|
|
17662
17700
|
...util.normalizeParams(params)
|
|
@@ -18084,7 +18122,6 @@ var require_to_json_schema = __commonJS({
|
|
|
18084
18122
|
exports.process = processSchema2;
|
|
18085
18123
|
exports.extractDefs = extractDefs2;
|
|
18086
18124
|
exports.finalize = finalize2;
|
|
18087
|
-
exports.isTransforming = isTransforming2;
|
|
18088
18125
|
var registries_js_1 = require_registries();
|
|
18089
18126
|
var util_js_1 = require_util();
|
|
18090
18127
|
function assignProps2(target, ...sources) {
|
|
@@ -18325,11 +18362,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18325
18362
|
}
|
|
18326
18363
|
objects.push(member);
|
|
18327
18364
|
}
|
|
18328
|
-
const
|
|
18365
|
+
const properties = {};
|
|
18329
18366
|
const required2 = /* @__PURE__ */ new Set();
|
|
18330
18367
|
for (const object4 of objects) {
|
|
18331
18368
|
for (const key in object4.properties) {
|
|
18332
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
18369
|
+
if (Object.prototype.hasOwnProperty.call(properties, key))
|
|
18333
18370
|
continue;
|
|
18334
18371
|
const parts = [];
|
|
18335
18372
|
for (const other of objects) {
|
|
@@ -18340,12 +18377,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18340
18377
|
parts.push(part);
|
|
18341
18378
|
}
|
|
18342
18379
|
const merged = parts.length === 1 ? parts[0] : foldObjects2(parts) ?? { allOf: parts };
|
|
18343
|
-
(0, util_js_1.assignProp)(
|
|
18380
|
+
(0, util_js_1.assignProp)(properties, key, merged);
|
|
18344
18381
|
}
|
|
18345
18382
|
for (const key of object4.required ?? [])
|
|
18346
18383
|
required2.add(key);
|
|
18347
18384
|
}
|
|
18348
|
-
const folded = { type: "object", properties
|
|
18385
|
+
const folded = { type: "object", properties };
|
|
18349
18386
|
if (required2.size)
|
|
18350
18387
|
folded.required = [...required2];
|
|
18351
18388
|
if (objects.every((object4) => object4.additionalProperties === false)) {
|
|
@@ -18668,7 +18705,7 @@ var require_json_schema_processors = __commonJS({
|
|
|
18668
18705
|
return result;
|
|
18669
18706
|
};
|
|
18670
18707
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18671
|
-
exports.allProcessors = exports.lazyProcessor = exports.optionalProcessor = exports.promiseProcessor = exports.readonlyProcessor = exports.pipeProcessor = exports.catchProcessor = exports.prefaultProcessor = exports.defaultProcessor = exports.nonoptionalProcessor = exports.nullableProcessor = exports.recordProcessor = exports.tupleProcessor = exports.intersectionProcessor = exports.unionProcessor = exports.
|
|
18708
|
+
exports.allProcessors = exports.lazyProcessor = exports.optionalProcessor = exports.promiseProcessor = exports.readonlyProcessor = exports.pipeProcessor = exports.catchProcessor = exports.prefaultProcessor = exports.defaultProcessor = exports.nonoptionalProcessor = exports.nullableProcessor = exports.recordProcessor = exports.tupleProcessor = exports.intersectionProcessor = exports.unionProcessor = exports.objectProcessor = exports.arrayProcessor = exports.setProcessor = exports.mapProcessor = exports.transformProcessor = exports.functionProcessor = exports.customProcessor = exports.successProcessor = exports.fileProcessor = exports.templateLiteralProcessor = exports.nanProcessor = exports.literalProcessor = exports.enumProcessor = exports.dateProcessor = exports.unknownProcessor = exports.anyProcessor = exports.neverProcessor = exports.voidProcessor = exports.undefinedProcessor = exports.nullProcessor = exports.symbolProcessor = exports.bigintProcessor = exports.booleanProcessor = exports.numberProcessor = exports.stringProcessor = void 0;
|
|
18672
18709
|
exports.aggregateChecks = aggregateChecks2;
|
|
18673
18710
|
exports.toJSONSchema = toJSONSchema3;
|
|
18674
18711
|
var regexes = __importStar(require_regexes());
|
|
@@ -19049,17 +19086,15 @@ var require_json_schema_processors = __commonJS({
|
|
|
19049
19086
|
path: [...params.path, "properties", key]
|
|
19050
19087
|
}));
|
|
19051
19088
|
}
|
|
19052
|
-
const
|
|
19053
|
-
const
|
|
19089
|
+
const requiredKeys = [];
|
|
19090
|
+
for (const key of Object.keys(shape)) {
|
|
19054
19091
|
const field = def.shape[key];
|
|
19055
|
-
if (ctx.io === "input") {
|
|
19056
|
-
|
|
19057
|
-
} else {
|
|
19058
|
-
return field._zod.optout === void 0;
|
|
19092
|
+
if (ctx.io === "input" ? inputOptin2(field) === void 0 : field._zod.optout === void 0) {
|
|
19093
|
+
requiredKeys.push(key);
|
|
19059
19094
|
}
|
|
19060
|
-
}
|
|
19061
|
-
if (requiredKeys.
|
|
19062
|
-
json2.required =
|
|
19095
|
+
}
|
|
19096
|
+
if (requiredKeys.length > 0) {
|
|
19097
|
+
json2.required = requiredKeys;
|
|
19063
19098
|
}
|
|
19064
19099
|
if (def.catchall?._zod.def.type === "never") {
|
|
19065
19100
|
json2.additionalProperties = false;
|
|
@@ -19074,32 +19109,6 @@ var require_json_schema_processors = __commonJS({
|
|
|
19074
19109
|
}
|
|
19075
19110
|
};
|
|
19076
19111
|
exports.objectProcessor = objectProcessor2;
|
|
19077
|
-
var propertiesProcessor2 = (schema, ctx, _json, params) => {
|
|
19078
|
-
const json2 = _json;
|
|
19079
|
-
const def = schema._zod.def;
|
|
19080
|
-
if (Object.getOwnPropertySymbols(def.shape).length && (0, to_json_schema_js_1.handleUnrepresentable)(schema, ctx, json2, params, "Symbol keys cannot be represented in JSON Schema")) {
|
|
19081
|
-
return;
|
|
19082
|
-
}
|
|
19083
|
-
if (ctx.io === "output") {
|
|
19084
|
-
for (const key in def.shape) {
|
|
19085
|
-
if ((0, to_json_schema_js_1.isTransforming)(def.shape[key]) && (0, to_json_schema_js_1.handleUnrepresentable)(schema, ctx, json2, params, `z.properties() returns its input, so the output of a transforming schema at key "${key}" cannot be represented in JSON Schema`)) {
|
|
19086
|
-
return;
|
|
19087
|
-
}
|
|
19088
|
-
}
|
|
19089
|
-
}
|
|
19090
|
-
json2.type = "object";
|
|
19091
|
-
json2.properties = {};
|
|
19092
|
-
for (const key in def.shape) {
|
|
19093
|
-
(0, util_js_1.assignProp)(json2.properties, key, (0, to_json_schema_js_1.processSchema)(def.shape[key], ctx, {
|
|
19094
|
-
...params,
|
|
19095
|
-
path: [...params.path, "properties", key]
|
|
19096
|
-
}));
|
|
19097
|
-
}
|
|
19098
|
-
const required2 = Object.keys(def.shape).filter((key) => inputOptin2(def.shape[key]) === void 0);
|
|
19099
|
-
if (required2.length > 0)
|
|
19100
|
-
json2.required = required2;
|
|
19101
|
-
};
|
|
19102
|
-
exports.propertiesProcessor = propertiesProcessor2;
|
|
19103
19112
|
var unionProcessor2 = (schema, ctx, json2, params) => {
|
|
19104
19113
|
const def = schema._zod.def;
|
|
19105
19114
|
const isExclusive = def.inclusive === false;
|
|
@@ -19433,7 +19442,6 @@ var require_json_schema_processors = __commonJS({
|
|
|
19433
19442
|
file: exports.fileProcessor,
|
|
19434
19443
|
success: exports.successProcessor,
|
|
19435
19444
|
custom: exports.customProcessor,
|
|
19436
|
-
properties: exports.propertiesProcessor,
|
|
19437
19445
|
function: exports.functionProcessor,
|
|
19438
19446
|
transform: exports.transformProcessor,
|
|
19439
19447
|
map: exports.mapProcessor,
|
|
@@ -19724,7 +19732,7 @@ var require_checks2 = __commonJS({
|
|
|
19724
19732
|
"node_modules/zod/v4/classic/checks.cjs"(exports) {
|
|
19725
19733
|
"use strict";
|
|
19726
19734
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19727
|
-
exports.slugify = exports.toUpperCase = exports.toLowerCase = exports.trim = exports.normalize = exports.overwrite = exports.mime = exports.property = exports.endsWith = exports.startsWith = exports.includes = exports.uppercase = exports.lowercase = exports.regex = exports.length = exports.minLength = exports.maxLength = exports.size = exports.minSize = exports.maxSize = exports.multipleOf = exports.nonnegative = exports.nonpositive = exports.negative = exports.positive = exports.gte = exports.gt = exports.lte = exports.lt = void 0;
|
|
19735
|
+
exports.slugify = exports.toUpperCase = exports.toLowerCase = exports.trim = exports.normalize = exports.overwrite = exports.mime = exports.properties = exports.property = exports.endsWith = exports.startsWith = exports.includes = exports.uppercase = exports.lowercase = exports.regex = exports.length = exports.minLength = exports.maxLength = exports.size = exports.minSize = exports.maxSize = exports.multipleOf = exports.nonnegative = exports.nonpositive = exports.negative = exports.positive = exports.gte = exports.gt = exports.lte = exports.lt = void 0;
|
|
19728
19736
|
var index_js_1 = require_core2();
|
|
19729
19737
|
Object.defineProperty(exports, "lt", { enumerable: true, get: function() {
|
|
19730
19738
|
return index_js_1._lt;
|
|
@@ -19792,6 +19800,9 @@ var require_checks2 = __commonJS({
|
|
|
19792
19800
|
Object.defineProperty(exports, "property", { enumerable: true, get: function() {
|
|
19793
19801
|
return index_js_1._property;
|
|
19794
19802
|
} });
|
|
19803
|
+
Object.defineProperty(exports, "properties", { enumerable: true, get: function() {
|
|
19804
|
+
return index_js_1._properties;
|
|
19805
|
+
} });
|
|
19795
19806
|
Object.defineProperty(exports, "mime", { enumerable: true, get: function() {
|
|
19796
19807
|
return index_js_1._mime;
|
|
19797
19808
|
} });
|
|
@@ -20040,7 +20051,7 @@ var require_schemas2 = __commonJS({
|
|
|
20040
20051
|
};
|
|
20041
20052
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20042
20053
|
exports.ZodIntersection = exports.ZodDiscriminatedUnion = exports.ZodXor = exports.ZodUnion = exports.ZodObject = exports.ZodArray = exports.ZodDate = exports.ZodVoid = exports.ZodNever = exports.ZodUnknown = exports.ZodAny = exports.ZodNull = exports.ZodUndefined = exports.ZodSymbol = exports.ZodBigIntFormat = exports.ZodBigInt = exports.ZodBoolean = exports.ZodNumberFormat = exports.ZodNumber = exports.ZodCustomStringFormat = exports.ZodJWT = exports.ZodIBAN = exports.ZodCreditCard = exports.ZodE164 = exports.ZodBase64URL = exports.ZodBase64 = exports.ZodCIDRv6 = exports.ZodCIDRv4 = exports.ZodIPv6 = exports.ZodMAC = exports.ZodIPv4 = exports.ZodKSUID = exports.ZodXID = exports.ZodULID = exports.ZodCUID2 = exports.ZodCUID = exports.ZodNanoID = exports.ZodEmoji = exports.ZodURL = exports.ZodUUID = exports.ZodGUID = exports.ZodEmail = exports.ZodISODuration = exports.ZodISOTime = exports.ZodISODate = exports.ZodISODateTime = exports.ZodStringFormat = exports.ZodString = exports._ZodString = exports.ZodType = void 0;
|
|
20043
|
-
exports.stringbool = exports.ZodInstanceOf = exports.meta = exports.describe = exports.
|
|
20054
|
+
exports.stringbool = exports.ZodInstanceOf = exports.meta = exports.describe = exports.ZodCustom = exports.ZodFunction = exports.ZodPromise = exports.ZodLazy = exports.ZodTemplateLiteral = exports.ZodReadonly = exports.ZodPreprocess = exports.ZodCodec = exports.ZodPipe = exports.ZodNaN = exports.ZodCatch = exports.ZodSuccess = exports.ZodNonOptional = exports.ZodPrefault = exports.ZodDefault = exports.ZodNullable = exports.ZodExactOptional = exports.ZodOptional = exports.ZodTransform = exports.ZodFile = exports.ZodLiteral = exports.ZodEnum = exports.ZodSet = exports.ZodMap = exports.ZodRecord = exports.ZodTuple = void 0;
|
|
20044
20055
|
exports.string = string6;
|
|
20045
20056
|
exports.email = email4;
|
|
20046
20057
|
exports.guid = guid3;
|
|
@@ -20071,6 +20082,7 @@ var require_schemas2 = __commonJS({
|
|
|
20071
20082
|
exports.stringFormat = stringFormat2;
|
|
20072
20083
|
exports.hostname = hostname3;
|
|
20073
20084
|
exports.hex = hex3;
|
|
20085
|
+
exports.currencyCode = currencyCode3;
|
|
20074
20086
|
exports.hash = hash2;
|
|
20075
20087
|
exports.number = number6;
|
|
20076
20088
|
exports.int = int2;
|
|
@@ -20131,7 +20143,6 @@ var require_schemas2 = __commonJS({
|
|
|
20131
20143
|
exports.function = _function2;
|
|
20132
20144
|
exports._function = _function2;
|
|
20133
20145
|
exports.function = _function2;
|
|
20134
|
-
exports.properties = properties2;
|
|
20135
20146
|
exports.check = check2;
|
|
20136
20147
|
exports.custom = custom2;
|
|
20137
20148
|
exports.refine = refine2;
|
|
@@ -20142,6 +20153,7 @@ var require_schemas2 = __commonJS({
|
|
|
20142
20153
|
var core = __importStar(require_core2());
|
|
20143
20154
|
var index_js_1 = require_core2();
|
|
20144
20155
|
var processors = __importStar(require_json_schema_processors());
|
|
20156
|
+
var regexes = __importStar(require_regexes());
|
|
20145
20157
|
var to_json_schema_js_1 = require_to_json_schema();
|
|
20146
20158
|
var en_js_1 = __importDefault(require_en());
|
|
20147
20159
|
var checks = __importStar(require_checks2());
|
|
@@ -20533,8 +20545,8 @@ var require_schemas2 = __commonJS({
|
|
|
20533
20545
|
}
|
|
20534
20546
|
function httpUrl2(params) {
|
|
20535
20547
|
return core._url(exports.ZodURL, {
|
|
20536
|
-
protocol:
|
|
20537
|
-
hostname:
|
|
20548
|
+
protocol: regexes.httpProtocol,
|
|
20549
|
+
hostname: regexes.domain,
|
|
20538
20550
|
...index_js_1.util.normalizeParams(params)
|
|
20539
20551
|
});
|
|
20540
20552
|
}
|
|
@@ -20672,10 +20684,13 @@ var require_schemas2 = __commonJS({
|
|
|
20672
20684
|
return core._stringFormat(exports.ZodCustomStringFormat, format, fnOrRegex, _params);
|
|
20673
20685
|
}
|
|
20674
20686
|
function hostname3(_params) {
|
|
20675
|
-
return core._stringFormat(exports.ZodCustomStringFormat, "hostname",
|
|
20687
|
+
return core._stringFormat(exports.ZodCustomStringFormat, "hostname", regexes.hostname, _params);
|
|
20676
20688
|
}
|
|
20677
20689
|
function hex3(_params) {
|
|
20678
|
-
return core._stringFormat(exports.ZodCustomStringFormat, "hex",
|
|
20690
|
+
return core._stringFormat(exports.ZodCustomStringFormat, "hex", regexes.hex, _params);
|
|
20691
|
+
}
|
|
20692
|
+
function currencyCode3(_params) {
|
|
20693
|
+
return core._stringFormat(exports.ZodCustomStringFormat, "currency_code", regexes.currencyCode, _params);
|
|
20679
20694
|
}
|
|
20680
20695
|
function hash2(alg, params) {
|
|
20681
20696
|
const enc6 = params?.enc ?? "hex";
|
|
@@ -21540,14 +21555,6 @@ var require_schemas2 = __commonJS({
|
|
|
21540
21555
|
exports.ZodType.init(inst, def);
|
|
21541
21556
|
inst._zod.processJSONSchema = (ctx, json3, params) => processors.customProcessor(inst, ctx, json3, params);
|
|
21542
21557
|
});
|
|
21543
|
-
exports.ZodProperties = core.$constructor("ZodProperties", (inst, def) => {
|
|
21544
|
-
_ensureDefaultMemoizer2();
|
|
21545
|
-
core.$ZodProperties.init(inst, def);
|
|
21546
|
-
exports.ZodType.init(inst, def);
|
|
21547
|
-
});
|
|
21548
|
-
function properties2(shape, params) {
|
|
21549
|
-
return core._properties(exports.ZodProperties, shape, params);
|
|
21550
|
-
}
|
|
21551
21558
|
function check2(fn) {
|
|
21552
21559
|
const ch = new core.$ZodCheck({
|
|
21553
21560
|
check: "custom"
|
|
@@ -21571,7 +21578,7 @@ var require_schemas2 = __commonJS({
|
|
|
21571
21578
|
exports.ZodCustom.init(inst, def);
|
|
21572
21579
|
}, {
|
|
21573
21580
|
properties(shape, params) {
|
|
21574
|
-
return this.check(
|
|
21581
|
+
return this.check(core._properties(shape, params));
|
|
21575
21582
|
}
|
|
21576
21583
|
});
|
|
21577
21584
|
function _instanceof2(cls, params = {}) {
|
|
@@ -22332,10 +22339,10 @@ var require_from_json_schema = __commonJS({
|
|
|
22332
22339
|
}
|
|
22333
22340
|
case "object": {
|
|
22334
22341
|
const shape = {};
|
|
22335
|
-
const
|
|
22342
|
+
const properties = schema.properties || {};
|
|
22336
22343
|
const requiredSet = new Set(schema.required || []);
|
|
22337
22344
|
const additionalSchema = typeof schema.additionalProperties === "object" ? convertSchema2(schema.additionalProperties, ctx) : void 0;
|
|
22338
|
-
for (const [key, propSchema] of Object.entries(
|
|
22345
|
+
for (const [key, propSchema] of Object.entries(properties)) {
|
|
22339
22346
|
const propZodSchema = convertSchema2(propSchema, ctx);
|
|
22340
22347
|
(0, util_js_1.assignProp)(shape, key, requiredSet.has(key) ? propZodSchema : propZodSchema.optional());
|
|
22341
22348
|
}
|
|
@@ -22748,18 +22755,6 @@ var require_visit = __commonJS({
|
|
|
22748
22755
|
const { _cachedInner, ...rest } = def;
|
|
22749
22756
|
return (0, util_js_1.clone)(s, { ...rest, getter: () => run(original()) });
|
|
22750
22757
|
}
|
|
22751
|
-
case "properties": {
|
|
22752
|
-
const oldShape = def.shape;
|
|
22753
|
-
let changed = false;
|
|
22754
|
-
const newShape = {};
|
|
22755
|
-
for (const k of Reflect.ownKeys(oldShape)) {
|
|
22756
|
-
const mapped = run(oldShape[k]);
|
|
22757
|
-
if (mapped !== oldShape[k])
|
|
22758
|
-
changed = true;
|
|
22759
|
-
newShape[k] = mapped;
|
|
22760
|
-
}
|
|
22761
|
-
return changed ? (0, util_js_1.clone)(s, { ...def, shape: newShape }) : s;
|
|
22762
|
-
}
|
|
22763
22758
|
// A leaf by choice: `parts` are regex fragments, not data positions.
|
|
22764
22759
|
case "template_literal":
|
|
22765
22760
|
// Leaves.
|
|
@@ -28162,6 +28157,7 @@ function missingClientCapabilities(required2, declared) {
|
|
|
28162
28157
|
return Object.keys(missing).length > 0 ? missing : void 0;
|
|
28163
28158
|
}
|
|
28164
28159
|
var FIRST_MODERN_PROTOCOL_VERSION = "2026-07-28";
|
|
28160
|
+
var SUPPORTED_MODERN_PROTOCOL_VERSIONS = [FIRST_MODERN_PROTOCOL_VERSION];
|
|
28165
28161
|
function isModernProtocolVersion(version2) {
|
|
28166
28162
|
return version2 >= FIRST_MODERN_PROTOCOL_VERSION;
|
|
28167
28163
|
}
|
|
@@ -30720,6 +30716,25 @@ function isSpecNotificationMethod(method) {
|
|
|
30720
30716
|
return ALL_CODECS.some((codec2) => codec2.hasNotificationMethod(method));
|
|
30721
30717
|
}
|
|
30722
30718
|
var ALL_CODECS = [rev2025Codec, rev2026Codec];
|
|
30719
|
+
function isPlainObject$3(value) {
|
|
30720
|
+
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
30721
|
+
}
|
|
30722
|
+
function requestMetaOf(params) {
|
|
30723
|
+
if (!isPlainObject$3(params)) return void 0;
|
|
30724
|
+
const meta3 = params["_meta"];
|
|
30725
|
+
return isPlainObject$3(meta3) ? meta3 : void 0;
|
|
30726
|
+
}
|
|
30727
|
+
function hasEnvelopeClaim(params) {
|
|
30728
|
+
const meta3 = requestMetaOf(params);
|
|
30729
|
+
return meta3 !== void 0 && PROTOCOL_VERSION_META_KEY in meta3;
|
|
30730
|
+
}
|
|
30731
|
+
function envelopeClaimVersion(params) {
|
|
30732
|
+
const value = requestMetaOf(params)?.[PROTOCOL_VERSION_META_KEY];
|
|
30733
|
+
return typeof value === "string" ? value : void 0;
|
|
30734
|
+
}
|
|
30735
|
+
function validateEnvelopeMeta(meta3) {
|
|
30736
|
+
return codecForVersion(MODERN_WIRE_REVISION).validateEnvelopeMeta(meta3);
|
|
30737
|
+
}
|
|
30723
30738
|
var schemas_exports = /* @__PURE__ */ __exportAll({
|
|
30724
30739
|
AnnotationsSchema: () => AnnotationsSchema,
|
|
30725
30740
|
AudioContentSchema: () => AudioContentSchema,
|
|
@@ -30930,8 +30945,8 @@ function scanXMcpHeaderDeclarations(inputSchema) {
|
|
|
30930
30945
|
type
|
|
30931
30946
|
});
|
|
30932
30947
|
}
|
|
30933
|
-
const
|
|
30934
|
-
if (
|
|
30948
|
+
const properties = schema.properties;
|
|
30949
|
+
if (properties !== null && typeof properties === "object") for (const [key, child] of Object.entries(properties)) {
|
|
30935
30950
|
const fault$1 = visit2(child, [...path, key], reachable);
|
|
30936
30951
|
if (fault$1 !== void 0) return fault$1;
|
|
30937
30952
|
}
|
|
@@ -31070,6 +31085,45 @@ var LADDER_ERROR_HTTP_STATUS = {
|
|
|
31070
31085
|
[ProtocolErrorCode.MissingRequiredClientCapability]: 400,
|
|
31071
31086
|
[HEADER_MISMATCH_ERROR_CODE]: 400
|
|
31072
31087
|
};
|
|
31088
|
+
function rejection(rung, cell, httpStatus, error62, settled) {
|
|
31089
|
+
return {
|
|
31090
|
+
kind: "reject",
|
|
31091
|
+
rung,
|
|
31092
|
+
cell,
|
|
31093
|
+
httpStatus,
|
|
31094
|
+
code: error62.code,
|
|
31095
|
+
message: error62.message,
|
|
31096
|
+
...error62.data !== void 0 && { data: error62.data },
|
|
31097
|
+
settled
|
|
31098
|
+
};
|
|
31099
|
+
}
|
|
31100
|
+
function carriesValidModernEnvelopeClaim(params) {
|
|
31101
|
+
if (!hasEnvelopeClaim(params)) return false;
|
|
31102
|
+
const claimedVersion = envelopeClaimVersion(params);
|
|
31103
|
+
if (claimedVersion === void 0 || !isModernProtocolVersion(claimedVersion)) return false;
|
|
31104
|
+
const meta3 = requestMetaOf(params);
|
|
31105
|
+
return meta3 !== void 0 && validateEnvelopeMeta(meta3).length === 0;
|
|
31106
|
+
}
|
|
31107
|
+
function modernOnlyStrictRejection(route, supportedVersions) {
|
|
31108
|
+
switch (route.reason) {
|
|
31109
|
+
case "http-method":
|
|
31110
|
+
return rejection("http-method", "modern-only-method-not-allowed", 405, new ProtocolError(-32e3, "Method not allowed."), true);
|
|
31111
|
+
case "batch":
|
|
31112
|
+
return rejection("jsonrpc-shape", "modern-only-batch-not-supported", 400, new ProtocolError(ProtocolErrorCode.InvalidRequest, "Bad Request: JSON-RPC batches are not supported by this endpoint"), true);
|
|
31113
|
+
case "response":
|
|
31114
|
+
return rejection("jsonrpc-shape", "modern-only-response-post", 400, new ProtocolError(ProtocolErrorCode.InvalidRequest, "Bad Request: JSON-RPC responses cannot be posted to this endpoint"), true);
|
|
31115
|
+
case "notification":
|
|
31116
|
+
return;
|
|
31117
|
+
case "initialize":
|
|
31118
|
+
case "no-claim": {
|
|
31119
|
+
const requested = route.requestedVersion;
|
|
31120
|
+
return rejection("era-classification", "modern-only-missing-envelope", 400, requested === void 0 ? new ProtocolError(ProtocolErrorCode.UnsupportedProtocolVersion, "Unsupported protocol version: the request did not name a protocol version", { supported: [...supportedVersions] }) : new UnsupportedProtocolVersionError({
|
|
31121
|
+
supported: [...supportedVersions],
|
|
31122
|
+
requested
|
|
31123
|
+
}), true);
|
|
31124
|
+
}
|
|
31125
|
+
}
|
|
31126
|
+
}
|
|
31073
31127
|
function parseSchema(schema, data) {
|
|
31074
31128
|
return z2.safeParse(schema, data);
|
|
31075
31129
|
}
|
|
@@ -31186,9 +31240,9 @@ function isLibraryFormatPattern(format, pattern, vendor) {
|
|
|
31186
31240
|
}
|
|
31187
31241
|
function promptArgumentsFromStandardSchema(schema) {
|
|
31188
31242
|
const jsonSchema = standardSchemaToJsonSchema(schema, "input");
|
|
31189
|
-
const
|
|
31243
|
+
const properties = jsonSchema.properties || {};
|
|
31190
31244
|
const required2 = jsonSchema.required || [];
|
|
31191
|
-
return Object.entries(
|
|
31245
|
+
return Object.entries(properties).map(([name, prop]) => ({
|
|
31192
31246
|
name,
|
|
31193
31247
|
description: prop?.description,
|
|
31194
31248
|
required: required2.includes(name)
|
|
@@ -31631,6 +31685,9 @@ function withRequestStateValue(ctx, value) {
|
|
|
31631
31685
|
};
|
|
31632
31686
|
}
|
|
31633
31687
|
var writeNegotiatedProtocolVersion;
|
|
31688
|
+
function setNegotiatedProtocolVersion(instance, version2) {
|
|
31689
|
+
writeNegotiatedProtocolVersion(instance, version2);
|
|
31690
|
+
}
|
|
31634
31691
|
var Protocol = class {
|
|
31635
31692
|
_transport;
|
|
31636
31693
|
_requestMessageId = 0;
|
|
@@ -34032,8 +34089,8 @@ var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34032
34089
|
const codegen_1 = require_codegen();
|
|
34033
34090
|
const util_1 = require_util2();
|
|
34034
34091
|
function assignDefaults(it, ty) {
|
|
34035
|
-
const { properties
|
|
34036
|
-
if (ty === "object" &&
|
|
34092
|
+
const { properties, items } = it.schema;
|
|
34093
|
+
if (ty === "object" && properties) for (const key in properties) assignDefault(it, key, properties[key].default);
|
|
34037
34094
|
else if (ty === "array" && Array.isArray(items)) items.forEach((sch, i) => assignDefault(it, i, sch.default));
|
|
34038
34095
|
}
|
|
34039
34096
|
exports.assignDefaults = assignDefaults;
|
|
@@ -34065,8 +34122,8 @@ var require_code = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34065
34122
|
});
|
|
34066
34123
|
}
|
|
34067
34124
|
exports.checkReportMissingProp = checkReportMissingProp;
|
|
34068
|
-
function checkMissingProp({ gen, data, it: { opts } },
|
|
34069
|
-
return (0, codegen_1.or)(...
|
|
34125
|
+
function checkMissingProp({ gen, data, it: { opts } }, properties, missing) {
|
|
34126
|
+
return (0, codegen_1.or)(...properties.map((prop) => (0, codegen_1.and)(noPropertyInData(gen, data, prop, opts.ownProperties), (0, codegen_1._)`${missing} = ${prop}`)));
|
|
34070
34127
|
}
|
|
34071
34128
|
exports.checkMissingProp = checkMissingProp;
|
|
34072
34129
|
function reportMissingProp(cxt, missing) {
|
|
@@ -37342,10 +37399,10 @@ var require_properties = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
37342
37399
|
const allProps = (0, code_1.allSchemaProperties)(schema);
|
|
37343
37400
|
for (const prop of allProps) it.definedProperties.add(prop);
|
|
37344
37401
|
if (it.opts.unevaluated && allProps.length && it.props !== true) it.props = util_1.mergeEvaluated.props(gen, (0, util_1.toHash)(allProps), it.props);
|
|
37345
|
-
const
|
|
37346
|
-
if (
|
|
37402
|
+
const properties = allProps.filter((p) => !(0, util_1.alwaysValidSchema)(it, schema[p]));
|
|
37403
|
+
if (properties.length === 0) return;
|
|
37347
37404
|
const valid = gen.name("valid");
|
|
37348
|
-
for (const prop of
|
|
37405
|
+
for (const prop of properties) {
|
|
37349
37406
|
if (hasDefault(prop)) applyPropertySchema(prop);
|
|
37350
37407
|
else {
|
|
37351
37408
|
gen.if((0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties));
|
|
@@ -39574,6 +39631,190 @@ function getCompleter(schema) {
|
|
|
39574
39631
|
return schema[COMPLETABLE_SYMBOL]?.complete;
|
|
39575
39632
|
}
|
|
39576
39633
|
var MAX_TIMER_DELAY_MS = 2 ** 31 - 1;
|
|
39634
|
+
function listenFilterAccepts(filter, event) {
|
|
39635
|
+
switch (event.kind) {
|
|
39636
|
+
case "tools_list_changed":
|
|
39637
|
+
return filter.toolsListChanged === true;
|
|
39638
|
+
case "prompts_list_changed":
|
|
39639
|
+
return filter.promptsListChanged === true;
|
|
39640
|
+
case "resources_list_changed":
|
|
39641
|
+
return filter.resourcesListChanged === true;
|
|
39642
|
+
case "resource_updated":
|
|
39643
|
+
return filter.resourceSubscriptions !== void 0 && filter.resourceSubscriptions.includes(event.uri);
|
|
39644
|
+
}
|
|
39645
|
+
}
|
|
39646
|
+
function honoredSubset(requested, capabilities) {
|
|
39647
|
+
const honored = {};
|
|
39648
|
+
const allow = (bit) => capabilities === void 0 || bit === true;
|
|
39649
|
+
if (requested.toolsListChanged === true && allow(capabilities?.tools?.listChanged)) honored.toolsListChanged = true;
|
|
39650
|
+
if (requested.promptsListChanged === true && allow(capabilities?.prompts?.listChanged)) honored.promptsListChanged = true;
|
|
39651
|
+
if (requested.resourcesListChanged === true && allow(capabilities?.resources?.listChanged)) honored.resourcesListChanged = true;
|
|
39652
|
+
if (requested.resourceSubscriptions !== void 0 && requested.resourceSubscriptions.length > 0 && allow(capabilities?.resources?.subscribe)) honored.resourceSubscriptions = [...requested.resourceSubscriptions];
|
|
39653
|
+
return honored;
|
|
39654
|
+
}
|
|
39655
|
+
var DEFAULT_MAX_SUBSCRIPTIONS = 1024;
|
|
39656
|
+
function stampSubscriptionId(notification, subscriptionId) {
|
|
39657
|
+
return {
|
|
39658
|
+
method: notification.method,
|
|
39659
|
+
params: {
|
|
39660
|
+
...notification.params,
|
|
39661
|
+
_meta: {
|
|
39662
|
+
...notification.params?._meta,
|
|
39663
|
+
[SUBSCRIPTION_ID_META_KEY]: subscriptionId
|
|
39664
|
+
}
|
|
39665
|
+
}
|
|
39666
|
+
};
|
|
39667
|
+
}
|
|
39668
|
+
function parseListenFilter(message) {
|
|
39669
|
+
const outcome = codecForVersion(MODERN_WIRE_REVISION).validateRequest("subscriptions/listen", message);
|
|
39670
|
+
return outcome.ok ? outcome.value.params?.notifications : void 0;
|
|
39671
|
+
}
|
|
39672
|
+
var CHANGE_NOTIFICATION_METHODS = /* @__PURE__ */ new Set([
|
|
39673
|
+
"notifications/tools/list_changed",
|
|
39674
|
+
"notifications/prompts/list_changed",
|
|
39675
|
+
"notifications/resources/list_changed",
|
|
39676
|
+
"notifications/resources/updated"
|
|
39677
|
+
]);
|
|
39678
|
+
var StdioListenRouter = class {
|
|
39679
|
+
/** Active subscriptions, keyed by the listen request's JSON-RPC id verbatim. */
|
|
39680
|
+
_subs = /* @__PURE__ */ new Map();
|
|
39681
|
+
/**
|
|
39682
|
+
* The serving instance's declared capabilities. Filled in by the entry
|
|
39683
|
+
* once the modern instance is constructed (the router is created before
|
|
39684
|
+
* the instance exists), so the acknowledged filter is narrowed against
|
|
39685
|
+
* what the server can actually deliver.
|
|
39686
|
+
*/
|
|
39687
|
+
_serverCapabilities;
|
|
39688
|
+
/**
|
|
39689
|
+
* The serving instance's identity, stamped onto the graceful-close
|
|
39690
|
+
* results' `_meta` (the spec's `SubscriptionsListenResultMeta` extends
|
|
39691
|
+
* `ResultMetaObject`). Handed over together with the capabilities.
|
|
39692
|
+
*/
|
|
39693
|
+
_serverInfo;
|
|
39694
|
+
constructor(_maxSubscriptions = DEFAULT_MAX_SUBSCRIPTIONS, serverCapabilities, serverInfo) {
|
|
39695
|
+
this._maxSubscriptions = _maxSubscriptions;
|
|
39696
|
+
this._serverCapabilities = serverCapabilities;
|
|
39697
|
+
this._serverInfo = serverInfo;
|
|
39698
|
+
}
|
|
39699
|
+
/**
|
|
39700
|
+
* Record the serving instance's declared capabilities and identity once
|
|
39701
|
+
* it has been constructed. Called by `serveStdio`'s connect path;
|
|
39702
|
+
* subsequent `serve()` calls narrow the honored filter against the
|
|
39703
|
+
* capabilities, and `teardownAll()` stamps the identity.
|
|
39704
|
+
*/
|
|
39705
|
+
setServerCapabilities(capabilities, serverInfo) {
|
|
39706
|
+
this._serverCapabilities = capabilities;
|
|
39707
|
+
if (serverInfo !== void 0) this._serverInfo = serverInfo;
|
|
39708
|
+
}
|
|
39709
|
+
/** Whether `id` is an active listen subscription on this connection. */
|
|
39710
|
+
has(id) {
|
|
39711
|
+
return this._subs.has(id);
|
|
39712
|
+
}
|
|
39713
|
+
/**
|
|
39714
|
+
* Serve one inbound `subscriptions/listen` request: registers the
|
|
39715
|
+
* subscription and returns the stamped acknowledged notification (or, on
|
|
39716
|
+
* capacity / params rejection, the in-band JSON-RPC error response).
|
|
39717
|
+
*
|
|
39718
|
+
* @throws when called before {@linkcode setServerCapabilities} (or the
|
|
39719
|
+
* constructor) has supplied the serving instance's capabilities. Honoring a
|
|
39720
|
+
* filter without knowing the server's advertised capabilities would fail
|
|
39721
|
+
* open (deliver unadvertised types); the entry guarantees capabilities are
|
|
39722
|
+
* set before any listen request is routed here.
|
|
39723
|
+
*/
|
|
39724
|
+
serve(message) {
|
|
39725
|
+
if (this._serverCapabilities === void 0) throw new Error("StdioListenRouter.serve() called before setServerCapabilities(); refusing to honor a filter without capabilities");
|
|
39726
|
+
if (this._subs.size >= this._maxSubscriptions) return {
|
|
39727
|
+
jsonrpc: "2.0",
|
|
39728
|
+
id: message.id,
|
|
39729
|
+
error: {
|
|
39730
|
+
code: -32603,
|
|
39731
|
+
message: "Subscription limit reached"
|
|
39732
|
+
}
|
|
39733
|
+
};
|
|
39734
|
+
const filter = parseListenFilter(message);
|
|
39735
|
+
if (filter === void 0) return {
|
|
39736
|
+
jsonrpc: "2.0",
|
|
39737
|
+
id: message.id,
|
|
39738
|
+
error: {
|
|
39739
|
+
code: -32602,
|
|
39740
|
+
message: "Invalid params: 'notifications' is required and must be a valid SubscriptionFilter"
|
|
39741
|
+
}
|
|
39742
|
+
};
|
|
39743
|
+
const honored = honoredSubset(filter, this._serverCapabilities);
|
|
39744
|
+
this._subs.set(message.id, honored);
|
|
39745
|
+
return stampSubscriptionId({
|
|
39746
|
+
method: "notifications/subscriptions/acknowledged",
|
|
39747
|
+
params: { notifications: honored }
|
|
39748
|
+
}, message.id);
|
|
39749
|
+
}
|
|
39750
|
+
/**
|
|
39751
|
+
* Tear down one subscription (inbound `notifications/cancelled`). Returns
|
|
39752
|
+
* `true` when a subscription was removed. After this call NOTHING further
|
|
39753
|
+
* is delivered for that subscription id (the post-cancel hardening).
|
|
39754
|
+
*/
|
|
39755
|
+
cancel(id) {
|
|
39756
|
+
return this._subs.delete(id);
|
|
39757
|
+
}
|
|
39758
|
+
/**
|
|
39759
|
+
* Route an outbound notification through the active subscriptions.
|
|
39760
|
+
*
|
|
39761
|
+
* - For a subscription-gated change notification, returns one stamped copy
|
|
39762
|
+
* per subscription that opted in to it (an empty array means it is
|
|
39763
|
+
* dropped — the modern era never delivers an un-requested change type).
|
|
39764
|
+
* - For any other outbound message, returns `'passthrough'` (the entry
|
|
39765
|
+
* forwards it as-is).
|
|
39766
|
+
*/
|
|
39767
|
+
routeOutbound(message) {
|
|
39768
|
+
if (!CHANGE_NOTIFICATION_METHODS.has(message.method)) return "passthrough";
|
|
39769
|
+
const uriParam = message.params?.["uri"];
|
|
39770
|
+
const uri = typeof uriParam === "string" ? uriParam : void 0;
|
|
39771
|
+
const event = notificationToServerEvent(message.method, uri);
|
|
39772
|
+
const out = [];
|
|
39773
|
+
for (const [subscriptionId, filter] of this._subs) if (listenFilterAccepts(filter, event)) out.push(stampSubscriptionId({
|
|
39774
|
+
method: message.method,
|
|
39775
|
+
params: message.params ?? {}
|
|
39776
|
+
}, subscriptionId));
|
|
39777
|
+
return out;
|
|
39778
|
+
}
|
|
39779
|
+
/**
|
|
39780
|
+
* Server-side graceful teardown of every active subscription: returns the
|
|
39781
|
+
* empty `subscriptions/listen` JSON-RPC result for each subscription id —
|
|
39782
|
+
* the spec's graceful-close signal, `_meta` carrying the subscription id
|
|
39783
|
+
* and the serving instance's identity — for the entry to emit before
|
|
39784
|
+
* closing the wire. Clears the set so nothing further is delivered.
|
|
39785
|
+
*/
|
|
39786
|
+
teardownAll() {
|
|
39787
|
+
const out = [];
|
|
39788
|
+
for (const id of this._subs.keys()) out.push({
|
|
39789
|
+
jsonrpc: "2.0",
|
|
39790
|
+
id,
|
|
39791
|
+
result: {
|
|
39792
|
+
resultType: "complete",
|
|
39793
|
+
_meta: {
|
|
39794
|
+
[SUBSCRIPTION_ID_META_KEY]: id,
|
|
39795
|
+
...this._serverInfo !== void 0 && { [SERVER_INFO_META_KEY]: this._serverInfo }
|
|
39796
|
+
}
|
|
39797
|
+
}
|
|
39798
|
+
});
|
|
39799
|
+
this._subs.clear();
|
|
39800
|
+
return out;
|
|
39801
|
+
}
|
|
39802
|
+
};
|
|
39803
|
+
function notificationToServerEvent(method, uri) {
|
|
39804
|
+
switch (method) {
|
|
39805
|
+
case "notifications/tools/list_changed":
|
|
39806
|
+
return { kind: "tools_list_changed" };
|
|
39807
|
+
case "notifications/prompts/list_changed":
|
|
39808
|
+
return { kind: "prompts_list_changed" };
|
|
39809
|
+
case "notifications/resources/list_changed":
|
|
39810
|
+
return { kind: "resources_list_changed" };
|
|
39811
|
+
default:
|
|
39812
|
+
return {
|
|
39813
|
+
kind: "resource_updated",
|
|
39814
|
+
uri: uri ?? ""
|
|
39815
|
+
};
|
|
39816
|
+
}
|
|
39817
|
+
}
|
|
39577
39818
|
var DEFAULT_LEGACY_SHIM_MAX_ROUNDS = 8;
|
|
39578
39819
|
var DEFAULT_LEGACY_SHIM_ROUND_TIMEOUT_MS = 6e5;
|
|
39579
39820
|
function resolveLegacyShimOptions(options) {
|
|
@@ -39711,6 +39952,12 @@ var INPUT_REQUIRED_CAPABLE_METHODS = /* @__PURE__ */ new Set([
|
|
|
39711
39952
|
var writeClientIdentity;
|
|
39712
39953
|
var installDiscoverHandler;
|
|
39713
39954
|
var readServerIdentity;
|
|
39955
|
+
function installModernOnlyHandlers(server, servedModernVersions) {
|
|
39956
|
+
installDiscoverHandler(server, servedModernVersions);
|
|
39957
|
+
}
|
|
39958
|
+
function serverIdentityOf(server) {
|
|
39959
|
+
return readServerIdentity(server);
|
|
39960
|
+
}
|
|
39714
39961
|
var Server = class extends Protocol {
|
|
39715
39962
|
_clientCapabilities;
|
|
39716
39963
|
_clientVersion;
|
|
@@ -40985,6 +41232,400 @@ var StdioServerTransport = class {
|
|
|
40985
41232
|
});
|
|
40986
41233
|
}
|
|
40987
41234
|
};
|
|
41235
|
+
var DISCARD_ANSWER_TIMEOUT_MS = 3e3;
|
|
41236
|
+
var StdioConnectionChannel = class {
|
|
41237
|
+
onclose;
|
|
41238
|
+
onerror;
|
|
41239
|
+
onmessage;
|
|
41240
|
+
_closed = false;
|
|
41241
|
+
/** Request ids the entry delivered to the instance that the instance has not yet answered. */
|
|
41242
|
+
_pendingRequests = /* @__PURE__ */ new Set();
|
|
41243
|
+
_drainWaiters = [];
|
|
41244
|
+
constructor(_wire, _onInstanceClose, _outboundIntercept) {
|
|
41245
|
+
this._wire = _wire;
|
|
41246
|
+
this._onInstanceClose = _onInstanceClose;
|
|
41247
|
+
this._outboundIntercept = _outboundIntercept;
|
|
41248
|
+
}
|
|
41249
|
+
async start() {
|
|
41250
|
+
}
|
|
41251
|
+
async send(message, options) {
|
|
41252
|
+
if (isJSONRPCResultResponse(message) || isJSONRPCErrorResponse(message)) {
|
|
41253
|
+
const { id } = message;
|
|
41254
|
+
if (id !== void 0) this._settle(id);
|
|
41255
|
+
}
|
|
41256
|
+
if (this._closed) return;
|
|
41257
|
+
if (this._outboundIntercept?.(message) === "handled") return;
|
|
41258
|
+
return this._wire.send(message, options);
|
|
41259
|
+
}
|
|
41260
|
+
setProtocolVersion = (version2) => {
|
|
41261
|
+
this._wire.setProtocolVersion?.(version2);
|
|
41262
|
+
};
|
|
41263
|
+
/** Forwards one inbound message to the connected instance. */
|
|
41264
|
+
deliver(message, extra) {
|
|
41265
|
+
if (this._closed) return;
|
|
41266
|
+
if (isJSONRPCRequest(message)) this._pendingRequests.add(message.id);
|
|
41267
|
+
else if (isJSONRPCNotification(message) && message.method === "notifications/cancelled") {
|
|
41268
|
+
const cancelledId = message.params?.requestId;
|
|
41269
|
+
if (cancelledId !== void 0) this._settle(cancelledId);
|
|
41270
|
+
}
|
|
41271
|
+
this.onmessage?.(message, extra);
|
|
41272
|
+
}
|
|
41273
|
+
/**
|
|
41274
|
+
* Resolves once every request delivered to the instance has been answered
|
|
41275
|
+
* through {@linkcode send}, settled by a delivered cancellation, or the
|
|
41276
|
+
* channel has been closed and nothing further can be answered. The wait is
|
|
41277
|
+
* bounded by `timeoutMs` as a backstop so no edge can hold the caller
|
|
41278
|
+
* indefinitely; resolves `false` only when the bound elapsed with requests
|
|
41279
|
+
* still unanswered. Used by the probe-discard path so a probe request the
|
|
41280
|
+
* entry accepted is never silently dropped.
|
|
41281
|
+
*/
|
|
41282
|
+
async whenRequestsAnswered(timeoutMs) {
|
|
41283
|
+
if (this._closed || this._pendingRequests.size === 0) return true;
|
|
41284
|
+
return await new Promise((resolve2) => {
|
|
41285
|
+
const waiter = () => {
|
|
41286
|
+
clearTimeout(timer);
|
|
41287
|
+
resolve2(true);
|
|
41288
|
+
};
|
|
41289
|
+
const timer = setTimeout(() => {
|
|
41290
|
+
this._drainWaiters = this._drainWaiters.filter((pending) => pending !== waiter);
|
|
41291
|
+
resolve2(false);
|
|
41292
|
+
}, timeoutMs);
|
|
41293
|
+
this._drainWaiters.push(waiter);
|
|
41294
|
+
});
|
|
41295
|
+
}
|
|
41296
|
+
async close() {
|
|
41297
|
+
if (this._closed) return;
|
|
41298
|
+
this._closed = true;
|
|
41299
|
+
this._pendingRequests.clear();
|
|
41300
|
+
this._releaseDrainWaiters();
|
|
41301
|
+
try {
|
|
41302
|
+
this._onInstanceClose();
|
|
41303
|
+
} finally {
|
|
41304
|
+
this.onclose?.();
|
|
41305
|
+
}
|
|
41306
|
+
}
|
|
41307
|
+
_settle(id) {
|
|
41308
|
+
this._pendingRequests.delete(id);
|
|
41309
|
+
if (this._pendingRequests.size === 0) this._releaseDrainWaiters();
|
|
41310
|
+
}
|
|
41311
|
+
_releaseDrainWaiters() {
|
|
41312
|
+
const waiters = this._drainWaiters;
|
|
41313
|
+
this._drainWaiters = [];
|
|
41314
|
+
for (const waiter of waiters) waiter();
|
|
41315
|
+
}
|
|
41316
|
+
};
|
|
41317
|
+
function classifyOpeningMessage(message) {
|
|
41318
|
+
const params = message.params;
|
|
41319
|
+
if (message.method === "initialize" && !carriesValidModernEnvelopeClaim(params)) {
|
|
41320
|
+
const requestedVersion = params !== null && typeof params === "object" && typeof params.protocolVersion === "string" ? params.protocolVersion : void 0;
|
|
41321
|
+
return {
|
|
41322
|
+
kind: "legacy",
|
|
41323
|
+
reason: "initialize",
|
|
41324
|
+
...requestedVersion !== void 0 && { requestedVersion }
|
|
41325
|
+
};
|
|
41326
|
+
}
|
|
41327
|
+
if (!hasEnvelopeClaim(params)) return {
|
|
41328
|
+
kind: "legacy",
|
|
41329
|
+
reason: "no-claim"
|
|
41330
|
+
};
|
|
41331
|
+
const meta3 = requestMetaOf(params);
|
|
41332
|
+
const firstIssue = (meta3 === void 0 ? [] : validateEnvelopeMeta(meta3))[0];
|
|
41333
|
+
if (firstIssue !== void 0) return {
|
|
41334
|
+
kind: "invalid-envelope",
|
|
41335
|
+
issue: firstIssue
|
|
41336
|
+
};
|
|
41337
|
+
const claimedVersion = envelopeClaimVersion(params);
|
|
41338
|
+
if (claimedVersion === void 0 || !SUPPORTED_MODERN_PROTOCOL_VERSIONS.includes(claimedVersion)) return {
|
|
41339
|
+
kind: "unsupported-revision",
|
|
41340
|
+
requested: claimedVersion ?? "unknown"
|
|
41341
|
+
};
|
|
41342
|
+
return {
|
|
41343
|
+
kind: "modern",
|
|
41344
|
+
revision: claimedVersion,
|
|
41345
|
+
classification: {
|
|
41346
|
+
era: "modern",
|
|
41347
|
+
revision: claimedVersion
|
|
41348
|
+
}
|
|
41349
|
+
};
|
|
41350
|
+
}
|
|
41351
|
+
function serveStdio(factory, options = {}) {
|
|
41352
|
+
const legacyMode = options.legacy ?? "serve";
|
|
41353
|
+
const wire = options.transport ?? new StdioServerTransport();
|
|
41354
|
+
let state = { phase: "opening" };
|
|
41355
|
+
let discarding;
|
|
41356
|
+
let closing = false;
|
|
41357
|
+
const isTornDown = () => closing || state.phase === "closed";
|
|
41358
|
+
const reportError = (error62) => {
|
|
41359
|
+
try {
|
|
41360
|
+
options.onerror?.(error62);
|
|
41361
|
+
} catch {
|
|
41362
|
+
}
|
|
41363
|
+
};
|
|
41364
|
+
const writeErrorResponse = (id, code, message, data) => wire.send({
|
|
41365
|
+
jsonrpc: "2.0",
|
|
41366
|
+
id,
|
|
41367
|
+
error: {
|
|
41368
|
+
code,
|
|
41369
|
+
message,
|
|
41370
|
+
...data !== void 0 && { data }
|
|
41371
|
+
}
|
|
41372
|
+
}).catch((error62) => reportError(toError(error62)));
|
|
41373
|
+
const listenRouter = new StdioListenRouter(options.maxSubscriptions ?? DEFAULT_MAX_SUBSCRIPTIONS);
|
|
41374
|
+
const modernOutboundIntercept = (message) => {
|
|
41375
|
+
if (!isJSONRPCNotification(message)) return void 0;
|
|
41376
|
+
const routed = listenRouter.routeOutbound(message);
|
|
41377
|
+
if (routed === "passthrough") return void 0;
|
|
41378
|
+
for (const stamped of routed) wire.send({
|
|
41379
|
+
jsonrpc: "2.0",
|
|
41380
|
+
...stamped
|
|
41381
|
+
}).catch((error62) => reportError(toError(error62)));
|
|
41382
|
+
return "handled";
|
|
41383
|
+
};
|
|
41384
|
+
const tryServeListen = async (message) => {
|
|
41385
|
+
if (isJSONRPCRequest(message) && message.method === "subscriptions/listen") {
|
|
41386
|
+
const meta3 = requestMetaOf(message.params);
|
|
41387
|
+
const issue2 = hasEnvelopeClaim(message.params) ? (meta3 === void 0 ? [] : validateEnvelopeMeta(meta3))[0] : {
|
|
41388
|
+
key: "_meta",
|
|
41389
|
+
problem: "the per-request envelope is required on protocol revision 2026-07-28"
|
|
41390
|
+
};
|
|
41391
|
+
const claimedVersion = envelopeClaimVersion(message.params);
|
|
41392
|
+
let reply;
|
|
41393
|
+
if (issue2 !== void 0) reply = {
|
|
41394
|
+
jsonrpc: "2.0",
|
|
41395
|
+
id: message.id,
|
|
41396
|
+
error: {
|
|
41397
|
+
code: -32602,
|
|
41398
|
+
message: `Invalid _meta envelope: ${issue2.key}: ${issue2.problem}`
|
|
41399
|
+
}
|
|
41400
|
+
};
|
|
41401
|
+
else if (claimedVersion === void 0 || !SUPPORTED_MODERN_PROTOCOL_VERSIONS.includes(claimedVersion)) {
|
|
41402
|
+
const error62 = new UnsupportedProtocolVersionError({
|
|
41403
|
+
supported: [...SUPPORTED_MODERN_PROTOCOL_VERSIONS],
|
|
41404
|
+
requested: claimedVersion ?? "unknown"
|
|
41405
|
+
});
|
|
41406
|
+
reply = {
|
|
41407
|
+
jsonrpc: "2.0",
|
|
41408
|
+
id: message.id,
|
|
41409
|
+
error: {
|
|
41410
|
+
code: error62.code,
|
|
41411
|
+
message: error62.message,
|
|
41412
|
+
data: error62.data
|
|
41413
|
+
}
|
|
41414
|
+
};
|
|
41415
|
+
} else reply = listenRouter.serve(message);
|
|
41416
|
+
await wire.send("error" in reply ? reply : {
|
|
41417
|
+
jsonrpc: "2.0",
|
|
41418
|
+
method: reply.method,
|
|
41419
|
+
params: reply.params
|
|
41420
|
+
}).catch((error62) => reportError(toError(error62)));
|
|
41421
|
+
return true;
|
|
41422
|
+
}
|
|
41423
|
+
if (isJSONRPCNotification(message) && message.method === "notifications/cancelled") {
|
|
41424
|
+
const cancelledId = message.params?.requestId;
|
|
41425
|
+
if (cancelledId !== void 0 && listenRouter.cancel(cancelledId)) return true;
|
|
41426
|
+
}
|
|
41427
|
+
return false;
|
|
41428
|
+
};
|
|
41429
|
+
const answerLegacyRejection = (request, reason, requestedVersion) => {
|
|
41430
|
+
const rejection2 = modernOnlyStrictRejection({
|
|
41431
|
+
kind: "legacy",
|
|
41432
|
+
reason,
|
|
41433
|
+
...requestedVersion !== void 0 && { requestedVersion }
|
|
41434
|
+
}, SUPPORTED_MODERN_PROTOCOL_VERSIONS);
|
|
41435
|
+
if (rejection2 === void 0) return Promise.resolve();
|
|
41436
|
+
reportError(/* @__PURE__ */ new Error(`Rejected 2025-era request on a modern-only stdio connection (${rejection2.cell}): ${rejection2.message}`));
|
|
41437
|
+
return writeErrorResponse(request.id, rejection2.code, rejection2.message, rejection2.data);
|
|
41438
|
+
};
|
|
41439
|
+
const onInstanceClosed = (channel) => {
|
|
41440
|
+
if (closing || channel === discarding) return;
|
|
41441
|
+
closeAll();
|
|
41442
|
+
};
|
|
41443
|
+
const connectInstance = async (era, revision) => {
|
|
41444
|
+
const product = await factory({ era });
|
|
41445
|
+
const server = product instanceof McpServer ? product.server : product;
|
|
41446
|
+
if (era === "modern") {
|
|
41447
|
+
setNegotiatedProtocolVersion(server, revision);
|
|
41448
|
+
installModernOnlyHandlers(server, SUPPORTED_MODERN_PROTOCOL_VERSIONS);
|
|
41449
|
+
listenRouter.setServerCapabilities(server.getCapabilities(), serverIdentityOf(server));
|
|
41450
|
+
}
|
|
41451
|
+
const channel = new StdioConnectionChannel(wire, () => onInstanceClosed(channel), era === "modern" ? modernOutboundIntercept : void 0);
|
|
41452
|
+
await product.connect(channel);
|
|
41453
|
+
return {
|
|
41454
|
+
product,
|
|
41455
|
+
channel
|
|
41456
|
+
};
|
|
41457
|
+
};
|
|
41458
|
+
const disposeLateInstance = (instance) => instance.product.close().catch((error62) => reportError(toError(error62)));
|
|
41459
|
+
const discardProbeInstance = async (instance) => {
|
|
41460
|
+
discarding = instance.channel;
|
|
41461
|
+
try {
|
|
41462
|
+
if (!await instance.channel.whenRequestsAnswered(DISCARD_ANSWER_TIMEOUT_MS)) reportError(/* @__PURE__ */ new Error(`Discarded the probe instance with requests still unanswered after ${DISCARD_ANSWER_TIMEOUT_MS}ms; continuing with the fallback`));
|
|
41463
|
+
await instance.product.close();
|
|
41464
|
+
} catch (error62) {
|
|
41465
|
+
reportError(toError(error62));
|
|
41466
|
+
} finally {
|
|
41467
|
+
discarding = void 0;
|
|
41468
|
+
}
|
|
41469
|
+
};
|
|
41470
|
+
const processMessage = async (message) => {
|
|
41471
|
+
if (state.phase === "closed") return;
|
|
41472
|
+
if (state.phase === "pinned") {
|
|
41473
|
+
if (state.era === "modern" && isJSONRPCRequest(message) && message.method === "initialize" && !carriesValidModernEnvelopeClaim(message.params)) {
|
|
41474
|
+
await answerLegacyRejection(message, "initialize", message.params !== null && typeof message.params === "object" && typeof message.params.protocolVersion === "string" ? message.params.protocolVersion : void 0);
|
|
41475
|
+
return;
|
|
41476
|
+
}
|
|
41477
|
+
if (state.era === "modern" && await tryServeListen(message)) return;
|
|
41478
|
+
state.instance.channel.deliver(message);
|
|
41479
|
+
return;
|
|
41480
|
+
}
|
|
41481
|
+
if (!isJSONRPCRequest(message) && !isJSONRPCNotification(message)) {
|
|
41482
|
+
reportError(/* @__PURE__ */ new Error("Discarded a JSON-RPC response received before the connection negotiated an era"));
|
|
41483
|
+
return;
|
|
41484
|
+
}
|
|
41485
|
+
const opening = classifyOpeningMessage(message);
|
|
41486
|
+
switch (opening.kind) {
|
|
41487
|
+
case "invalid-envelope": {
|
|
41488
|
+
const detail = `Invalid _meta envelope for protocol revision 2026-07-28: ${opening.issue.key}: ${opening.issue.problem}`;
|
|
41489
|
+
if (isJSONRPCRequest(message)) await writeErrorResponse(message.id, ProtocolErrorCode.InvalidParams, detail, { envelope: opening.issue });
|
|
41490
|
+
else reportError(/* @__PURE__ */ new Error(`Discarded a notification with a malformed envelope: ${detail}`));
|
|
41491
|
+
return;
|
|
41492
|
+
}
|
|
41493
|
+
case "unsupported-revision":
|
|
41494
|
+
if (isJSONRPCRequest(message)) {
|
|
41495
|
+
const error62 = new UnsupportedProtocolVersionError({
|
|
41496
|
+
supported: [...SUPPORTED_MODERN_PROTOCOL_VERSIONS],
|
|
41497
|
+
requested: opening.requested
|
|
41498
|
+
});
|
|
41499
|
+
reportError(error62);
|
|
41500
|
+
await writeErrorResponse(message.id, error62.code, error62.message, error62.data);
|
|
41501
|
+
} else reportError(/* @__PURE__ */ new Error(`Discarded a notification claiming unsupported protocol revision ${opening.requested}`));
|
|
41502
|
+
return;
|
|
41503
|
+
case "modern":
|
|
41504
|
+
if (isJSONRPCRequest(message) && message.method === "server/discover") {
|
|
41505
|
+
if (state.phase === "probe") {
|
|
41506
|
+
state.instance.channel.deliver(message, { classification: opening.classification });
|
|
41507
|
+
return;
|
|
41508
|
+
}
|
|
41509
|
+
const instance = await connectInstance("modern", opening.revision);
|
|
41510
|
+
if (isTornDown()) {
|
|
41511
|
+
await disposeLateInstance(instance);
|
|
41512
|
+
return;
|
|
41513
|
+
}
|
|
41514
|
+
state = {
|
|
41515
|
+
phase: "probe",
|
|
41516
|
+
instance
|
|
41517
|
+
};
|
|
41518
|
+
instance.channel.deliver(message, { classification: opening.classification });
|
|
41519
|
+
return;
|
|
41520
|
+
}
|
|
41521
|
+
if (state.phase === "probe") {
|
|
41522
|
+
if (isJSONRPCNotification(message)) {
|
|
41523
|
+
state.instance.channel.deliver(message, { classification: opening.classification });
|
|
41524
|
+
return;
|
|
41525
|
+
}
|
|
41526
|
+
state = {
|
|
41527
|
+
phase: "pinned",
|
|
41528
|
+
era: "modern",
|
|
41529
|
+
instance: state.instance
|
|
41530
|
+
};
|
|
41531
|
+
} else {
|
|
41532
|
+
const instance = await connectInstance("modern", opening.revision);
|
|
41533
|
+
if (isTornDown()) {
|
|
41534
|
+
await disposeLateInstance(instance);
|
|
41535
|
+
return;
|
|
41536
|
+
}
|
|
41537
|
+
state = {
|
|
41538
|
+
phase: "pinned",
|
|
41539
|
+
era: "modern",
|
|
41540
|
+
instance
|
|
41541
|
+
};
|
|
41542
|
+
}
|
|
41543
|
+
if (await tryServeListen(message)) return;
|
|
41544
|
+
state.instance.channel.deliver(message, { classification: opening.classification });
|
|
41545
|
+
return;
|
|
41546
|
+
case "legacy": {
|
|
41547
|
+
if (legacyMode === "reject") {
|
|
41548
|
+
if (isJSONRPCRequest(message)) await answerLegacyRejection(message, opening.reason, opening.requestedVersion);
|
|
41549
|
+
return;
|
|
41550
|
+
}
|
|
41551
|
+
if (state.phase === "probe") {
|
|
41552
|
+
await discardProbeInstance(state.instance);
|
|
41553
|
+
if (isTornDown()) return;
|
|
41554
|
+
state = { phase: "opening" };
|
|
41555
|
+
}
|
|
41556
|
+
const instance = await connectInstance("legacy");
|
|
41557
|
+
if (isTornDown()) {
|
|
41558
|
+
await disposeLateInstance(instance);
|
|
41559
|
+
return;
|
|
41560
|
+
}
|
|
41561
|
+
state = {
|
|
41562
|
+
phase: "pinned",
|
|
41563
|
+
era: "legacy",
|
|
41564
|
+
instance
|
|
41565
|
+
};
|
|
41566
|
+
state.instance.channel.deliver(message);
|
|
41567
|
+
return;
|
|
41568
|
+
}
|
|
41569
|
+
}
|
|
41570
|
+
};
|
|
41571
|
+
const queue = [];
|
|
41572
|
+
let pumping = false;
|
|
41573
|
+
const pump = async () => {
|
|
41574
|
+
if (pumping) return;
|
|
41575
|
+
pumping = true;
|
|
41576
|
+
try {
|
|
41577
|
+
while (queue.length > 0) {
|
|
41578
|
+
const message = queue.shift();
|
|
41579
|
+
try {
|
|
41580
|
+
await processMessage(message);
|
|
41581
|
+
} catch (error62) {
|
|
41582
|
+
if (isJSONRPCRequest(message)) await writeErrorResponse(message.id, ProtocolErrorCode.InternalError, "Internal server error");
|
|
41583
|
+
reportError(toError(error62));
|
|
41584
|
+
}
|
|
41585
|
+
}
|
|
41586
|
+
} finally {
|
|
41587
|
+
pumping = false;
|
|
41588
|
+
}
|
|
41589
|
+
};
|
|
41590
|
+
const closeAll = async () => {
|
|
41591
|
+
if (closing || state.phase === "closed") return;
|
|
41592
|
+
closing = true;
|
|
41593
|
+
const current = state;
|
|
41594
|
+
state = { phase: "closed" };
|
|
41595
|
+
for (const result of listenRouter.teardownAll()) await wire.send(result).catch((error62) => reportError(toError(error62)));
|
|
41596
|
+
if (current.phase === "probe" || current.phase === "pinned") await current.instance.product.close().catch((error62) => reportError(toError(error62)));
|
|
41597
|
+
await wire.close().catch((error62) => reportError(toError(error62)));
|
|
41598
|
+
};
|
|
41599
|
+
wire.onmessage = (message) => {
|
|
41600
|
+
queue.push(message);
|
|
41601
|
+
pump();
|
|
41602
|
+
};
|
|
41603
|
+
wire.onerror = (error62) => {
|
|
41604
|
+
reportError(error62);
|
|
41605
|
+
if (state.phase === "probe" || state.phase === "pinned") state.instance.channel.onerror?.(error62);
|
|
41606
|
+
};
|
|
41607
|
+
wire.onclose = () => {
|
|
41608
|
+
if (closing || state.phase === "closed") return;
|
|
41609
|
+
closing = true;
|
|
41610
|
+
const current = state;
|
|
41611
|
+
state = { phase: "closed" };
|
|
41612
|
+
if (current.phase === "probe" || current.phase === "pinned") current.instance.product.close().catch((error62) => reportError(toError(error62)));
|
|
41613
|
+
};
|
|
41614
|
+
const started = wire.start().catch((error62) => {
|
|
41615
|
+
reportError(toError(error62));
|
|
41616
|
+
throw error62;
|
|
41617
|
+
});
|
|
41618
|
+
started.catch(() => {
|
|
41619
|
+
});
|
|
41620
|
+
return { close: async () => {
|
|
41621
|
+
await started.catch(() => {
|
|
41622
|
+
});
|
|
41623
|
+
await closeAll();
|
|
41624
|
+
} };
|
|
41625
|
+
}
|
|
41626
|
+
function toError(value) {
|
|
41627
|
+
return value instanceof Error ? value : new Error(String(value));
|
|
41628
|
+
}
|
|
40988
41629
|
|
|
40989
41630
|
// node_modules/@chrischall/mcp-utils/dist/errors/index.js
|
|
40990
41631
|
var DEFAULT_ERROR_MESSAGE_MAX = 500;
|
|
@@ -41112,7 +41753,6 @@ __export(external_exports, {
|
|
|
41112
41753
|
ZodPrefault: () => ZodPrefault,
|
|
41113
41754
|
ZodPreprocess: () => ZodPreprocess,
|
|
41114
41755
|
ZodPromise: () => ZodPromise,
|
|
41115
|
-
ZodProperties: () => ZodProperties,
|
|
41116
41756
|
ZodReadonly: () => ZodReadonly,
|
|
41117
41757
|
ZodRealError: () => ZodRealError,
|
|
41118
41758
|
ZodRecord: () => ZodRecord,
|
|
@@ -41156,6 +41796,7 @@ __export(external_exports, {
|
|
|
41156
41796
|
creditCard: () => creditCard2,
|
|
41157
41797
|
cuid: () => cuid3,
|
|
41158
41798
|
cuid2: () => cuid22,
|
|
41799
|
+
currencyCode: () => currencyCode2,
|
|
41159
41800
|
custom: () => custom,
|
|
41160
41801
|
date: () => date2,
|
|
41161
41802
|
decode: () => decode2,
|
|
@@ -41249,7 +41890,7 @@ __export(external_exports, {
|
|
|
41249
41890
|
preprocess: () => preprocess3,
|
|
41250
41891
|
prettifyError: () => prettifyError,
|
|
41251
41892
|
promise: () => promise,
|
|
41252
|
-
properties: () =>
|
|
41893
|
+
properties: () => _properties,
|
|
41253
41894
|
property: () => _property,
|
|
41254
41895
|
readonly: () => readonly,
|
|
41255
41896
|
record: () => record3,
|
|
@@ -41337,6 +41978,7 @@ __export(core_exports2, {
|
|
|
41337
41978
|
$ZodCheckMultipleOf: () => $ZodCheckMultipleOf,
|
|
41338
41979
|
$ZodCheckNumberFormat: () => $ZodCheckNumberFormat,
|
|
41339
41980
|
$ZodCheckOverwrite: () => $ZodCheckOverwrite,
|
|
41981
|
+
$ZodCheckProperties: () => $ZodCheckProperties,
|
|
41340
41982
|
$ZodCheckProperty: () => $ZodCheckProperty,
|
|
41341
41983
|
$ZodCheckRegex: () => $ZodCheckRegex,
|
|
41342
41984
|
$ZodCheckSizeEquals: () => $ZodCheckSizeEquals,
|
|
@@ -41390,7 +42032,6 @@ __export(core_exports2, {
|
|
|
41390
42032
|
$ZodPrefault: () => $ZodPrefault,
|
|
41391
42033
|
$ZodPreprocess: () => $ZodPreprocess,
|
|
41392
42034
|
$ZodPromise: () => $ZodPromise,
|
|
41393
|
-
$ZodProperties: () => $ZodProperties,
|
|
41394
42035
|
$ZodReadonly: () => $ZodReadonly,
|
|
41395
42036
|
$ZodRealError: () => $ZodRealError,
|
|
41396
42037
|
$ZodRecord: () => $ZodRecord,
|
|
@@ -41558,6 +42199,7 @@ __export(core_exports2, {
|
|
|
41558
42199
|
_xor: () => _xor,
|
|
41559
42200
|
base64Charset: () => base64Charset,
|
|
41560
42201
|
base64urlCharset: () => base64urlCharset,
|
|
42202
|
+
canParseURL: () => canParseURL,
|
|
41561
42203
|
clone: () => clone,
|
|
41562
42204
|
compile: () => compile,
|
|
41563
42205
|
compileFn: () => compileFn,
|
|
@@ -41580,7 +42222,6 @@ __export(core_exports2, {
|
|
|
41580
42222
|
initializeContext: () => initializeContext,
|
|
41581
42223
|
isBackEdge: () => isBackEdge,
|
|
41582
42224
|
isRecursiveSchema: () => isRecursiveSchema,
|
|
41583
|
-
isTransforming: () => isTransforming,
|
|
41584
42225
|
isValidBase64: () => isValidBase64,
|
|
41585
42226
|
isValidBase64URL: () => isValidBase64URL,
|
|
41586
42227
|
isValidCIDRv6: () => isValidCIDRv6,
|
|
@@ -41617,6 +42258,7 @@ __export(core_exports2, {
|
|
|
41617
42258
|
util: () => util_exports,
|
|
41618
42259
|
validate: () => validate,
|
|
41619
42260
|
validateAsync: () => validateAsync,
|
|
42261
|
+
validateURL: () => validateURL,
|
|
41620
42262
|
version: () => version,
|
|
41621
42263
|
withParser: () => withParser
|
|
41622
42264
|
});
|
|
@@ -42358,9 +43000,6 @@ function members(proto, table) {
|
|
|
42358
43000
|
else
|
|
42359
43001
|
defineBound(proto, key, desc.value);
|
|
42360
43002
|
}
|
|
42361
|
-
for (const sym of Object.getOwnPropertySymbols(table)) {
|
|
42362
|
-
defineBound(proto, sym, table[sym]);
|
|
42363
|
-
}
|
|
42364
43003
|
}
|
|
42365
43004
|
function own(inst, key, value, enumerable = true) {
|
|
42366
43005
|
Object.defineProperty(inst, key, { configurable: true, writable: true, enumerable, value });
|
|
@@ -42513,8 +43152,7 @@ function $constructor(name, initializer3, proto, params) {
|
|
|
42513
43152
|
} finally {
|
|
42514
43153
|
_zodDesc.value = void 0;
|
|
42515
43154
|
}
|
|
42516
|
-
}
|
|
42517
|
-
if (inst._zod.traits.has(name)) {
|
|
43155
|
+
} else if (inst._zod.traits.has(name)) {
|
|
42518
43156
|
return;
|
|
42519
43157
|
}
|
|
42520
43158
|
inst._zod.traits.add(name);
|
|
@@ -42956,6 +43594,7 @@ __export(regexes_exports, {
|
|
|
42956
43594
|
creditCard: () => creditCard,
|
|
42957
43595
|
cuid: () => cuid,
|
|
42958
43596
|
cuid2: () => cuid2,
|
|
43597
|
+
currencyCode: () => currencyCode,
|
|
42959
43598
|
date: () => date,
|
|
42960
43599
|
datetime: () => datetime,
|
|
42961
43600
|
domain: () => domain,
|
|
@@ -43054,6 +43693,7 @@ var domain = /^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a
|
|
|
43054
43693
|
var httpProtocol = /^https?$/;
|
|
43055
43694
|
var e164 = /^\+[1-9]\d{6,14}$/;
|
|
43056
43695
|
var creditCard = /^\d(?:[ -]?\d){11,18}$/;
|
|
43696
|
+
var currencyCode = /^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/;
|
|
43057
43697
|
var iban = /^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/;
|
|
43058
43698
|
var dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
|
|
43059
43699
|
function anchor(source) {
|
|
@@ -43538,6 +44178,34 @@ var $ZodCheckProperty = /* @__PURE__ */ $constructor("$ZodCheckProperty", (inst,
|
|
|
43538
44178
|
return;
|
|
43539
44179
|
};
|
|
43540
44180
|
});
|
|
44181
|
+
var $ZodCheckProperties = /* @__PURE__ */ $constructor("$ZodCheckProperties", (inst, def) => {
|
|
44182
|
+
$ZodCheck.init(inst, def);
|
|
44183
|
+
hide(inst, Symbol.iterator, function* () {
|
|
44184
|
+
yield inst;
|
|
44185
|
+
});
|
|
44186
|
+
let entries;
|
|
44187
|
+
inst._zod.check = (payload) => {
|
|
44188
|
+
if (payload.value == null) {
|
|
44189
|
+
payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
|
|
44190
|
+
return void 0;
|
|
44191
|
+
}
|
|
44192
|
+
entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
|
|
44193
|
+
const input2 = payload.value;
|
|
44194
|
+
let proms;
|
|
44195
|
+
for (const [key, schema] of entries) {
|
|
44196
|
+
const result = schema._zod.run({ value: input2[key], issues: [] }, {});
|
|
44197
|
+
if (result instanceof Promise) {
|
|
44198
|
+
proms ?? (proms = []);
|
|
44199
|
+
proms.push(result.then((result2) => handleCheckPropertyResult(result2, payload, key)));
|
|
44200
|
+
} else {
|
|
44201
|
+
handleCheckPropertyResult(result, payload, key);
|
|
44202
|
+
}
|
|
44203
|
+
}
|
|
44204
|
+
if (proms)
|
|
44205
|
+
return Promise.all(proms).then(() => void 0);
|
|
44206
|
+
return void 0;
|
|
44207
|
+
};
|
|
44208
|
+
});
|
|
43541
44209
|
var $ZodCheckMimeType = /* @__PURE__ */ $constructor("$ZodCheckMimeType", (inst, def) => {
|
|
43542
44210
|
$ZodCheck.init(inst, def);
|
|
43543
44211
|
const mimeSet = new Set(def.mime);
|
|
@@ -43605,7 +44273,7 @@ ${content.join("\n")}
|
|
|
43605
44273
|
var version = {
|
|
43606
44274
|
major: 4,
|
|
43607
44275
|
minor: 6,
|
|
43608
|
-
patch:
|
|
44276
|
+
patch: 5
|
|
43609
44277
|
};
|
|
43610
44278
|
|
|
43611
44279
|
// node_modules/zod/v4/core/schemas.js
|
|
@@ -43793,11 +44461,32 @@ var $ZodEmail = /* @__PURE__ */ $constructor("$ZodEmail", (inst, def) => {
|
|
|
43793
44461
|
});
|
|
43794
44462
|
var URL_BAD_FORMAT = 1;
|
|
43795
44463
|
var URL_UNPARSEABLE = 2;
|
|
44464
|
+
function canParseURL(input2) {
|
|
44465
|
+
try {
|
|
44466
|
+
if (typeof URL !== "undefined" && typeof URL.canParse === "function")
|
|
44467
|
+
return URL.canParse(input2);
|
|
44468
|
+
new URL(input2);
|
|
44469
|
+
return true;
|
|
44470
|
+
} catch {
|
|
44471
|
+
return false;
|
|
44472
|
+
}
|
|
44473
|
+
}
|
|
44474
|
+
function validateURL(trimmed, def) {
|
|
44475
|
+
if (!("normalize" in def) && !("hostname" in def) && !("protocol" in def)) {
|
|
44476
|
+
return canParseURL(trimmed) || URL_UNPARSEABLE;
|
|
44477
|
+
}
|
|
44478
|
+
return parseURLObject(trimmed, def);
|
|
44479
|
+
}
|
|
43796
44480
|
function parseURLObject(trimmed, def) {
|
|
43797
44481
|
if (!def.normalize && def.protocol?.source === httpProtocol.source && !/^https?:\/\//i.test(trimmed)) {
|
|
43798
44482
|
return URL_BAD_FORMAT;
|
|
43799
44483
|
}
|
|
43800
44484
|
try {
|
|
44485
|
+
if (typeof URL !== "undefined") {
|
|
44486
|
+
const URLStatic = URL;
|
|
44487
|
+
if (typeof URLStatic.parse === "function")
|
|
44488
|
+
return URLStatic.parse(trimmed) ?? URL_UNPARSEABLE;
|
|
44489
|
+
}
|
|
43801
44490
|
return new URL(trimmed);
|
|
43802
44491
|
} catch {
|
|
43803
44492
|
return URL_UNPARSEABLE;
|
|
@@ -43820,7 +44509,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
43820
44509
|
inst._zod.check = (payload) => {
|
|
43821
44510
|
try {
|
|
43822
44511
|
const trimmed = payload.value.trim();
|
|
43823
|
-
const url4 =
|
|
44512
|
+
const url4 = validateURL(trimmed, def);
|
|
43824
44513
|
if (url4 === URL_BAD_FORMAT) {
|
|
43825
44514
|
payload.issues.push({
|
|
43826
44515
|
code: "invalid_format",
|
|
@@ -43842,6 +44531,10 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
43842
44531
|
});
|
|
43843
44532
|
return;
|
|
43844
44533
|
}
|
|
44534
|
+
if (url4 === true) {
|
|
44535
|
+
payload.value = stripTabAndNewline(trimmed);
|
|
44536
|
+
return;
|
|
44537
|
+
}
|
|
43845
44538
|
if (def.hostname && !urlHostnameOk(url4, def.hostname)) {
|
|
43846
44539
|
payload.issues.push({
|
|
43847
44540
|
code: "invalid_format",
|
|
@@ -43931,12 +44624,7 @@ var ipv6Alphabet = /^[0-9a-fA-F:.]+$/;
|
|
|
43931
44624
|
function isValidIPv6(value) {
|
|
43932
44625
|
if (!ipv6Alphabet.test(value))
|
|
43933
44626
|
return false;
|
|
43934
|
-
|
|
43935
|
-
new URL(`http://[${value}]`);
|
|
43936
|
-
return true;
|
|
43937
|
-
} catch {
|
|
43938
|
-
return false;
|
|
43939
|
-
}
|
|
44627
|
+
return canParseURL(`http://[${value}]`);
|
|
43940
44628
|
}
|
|
43941
44629
|
var $ZodIPv6 = /* @__PURE__ */ $constructor("$ZodIPv6", (inst, def) => {
|
|
43942
44630
|
def.pattern ?? (def.pattern = ipv6);
|
|
@@ -46001,59 +46689,6 @@ function handleRefineResult(result, payload, input2, inst) {
|
|
|
46001
46689
|
payload.issues.push(issue(_iss));
|
|
46002
46690
|
}
|
|
46003
46691
|
}
|
|
46004
|
-
function handlePropertiesResult(result, payload, key) {
|
|
46005
|
-
if (result.issues.length) {
|
|
46006
|
-
payload.issues.push(...prefixIssues(key, result.issues));
|
|
46007
|
-
}
|
|
46008
|
-
}
|
|
46009
|
-
var $ZodProperties = /* @__PURE__ */ $constructor("$ZodProperties", (inst, def) => {
|
|
46010
|
-
$ZodType.init(inst, def);
|
|
46011
|
-
$ZodCheck.init(inst, def);
|
|
46012
|
-
const memo3 = globalConfig.memoizer;
|
|
46013
|
-
memo3?.attach(inst);
|
|
46014
|
-
let entries;
|
|
46015
|
-
const runShape = (payload, ctx) => {
|
|
46016
|
-
entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
|
|
46017
|
-
const input2 = payload.value;
|
|
46018
|
-
let proms;
|
|
46019
|
-
for (const [key, schema] of entries) {
|
|
46020
|
-
const result = schema._zod.run({ value: input2[key], issues: [] }, ctx);
|
|
46021
|
-
if (result instanceof Promise) {
|
|
46022
|
-
proms ?? (proms = []);
|
|
46023
|
-
proms.push(result.then((result2) => handlePropertiesResult(result2, payload, key)));
|
|
46024
|
-
} else {
|
|
46025
|
-
handlePropertiesResult(result, payload, key);
|
|
46026
|
-
}
|
|
46027
|
-
}
|
|
46028
|
-
if (proms)
|
|
46029
|
-
return Promise.all(proms).then(() => void 0);
|
|
46030
|
-
return void 0;
|
|
46031
|
-
};
|
|
46032
|
-
inst._zod.parse = (payload, ctx) => {
|
|
46033
|
-
const input2 = payload.value;
|
|
46034
|
-
if (input2 === null || typeof input2 !== "object" && typeof input2 !== "function") {
|
|
46035
|
-
payload.issues.push({ expected: "object", code: "invalid_type", input: input2, inst });
|
|
46036
|
-
return payload;
|
|
46037
|
-
}
|
|
46038
|
-
if (ctx.direction === "backward")
|
|
46039
|
-
ctx = { ...ctx, direction: "forward" };
|
|
46040
|
-
if (memo3)
|
|
46041
|
-
memo3.alloc(inst, payload, input2, ctx);
|
|
46042
|
-
const result = runShape(payload, ctx);
|
|
46043
|
-
return result instanceof Promise ? result.then(() => payload) : payload;
|
|
46044
|
-
};
|
|
46045
|
-
inst._zod.check = (payload) => {
|
|
46046
|
-
if (payload.value == null) {
|
|
46047
|
-
payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
|
|
46048
|
-
return void 0;
|
|
46049
|
-
}
|
|
46050
|
-
return runShape(payload, {});
|
|
46051
|
-
};
|
|
46052
|
-
}, {
|
|
46053
|
-
*[Symbol.iterator]() {
|
|
46054
|
-
yield this;
|
|
46055
|
-
}
|
|
46056
|
-
});
|
|
46057
46692
|
|
|
46058
46693
|
// node_modules/zod/v4/core/memoizer.js
|
|
46059
46694
|
var $ZodCyclicError = class extends Error {
|
|
@@ -46065,7 +46700,7 @@ var $ZodCyclicError = class extends Error {
|
|
|
46065
46700
|
var STATE = "~memo";
|
|
46066
46701
|
var NO_ISSUES = [];
|
|
46067
46702
|
function isRef(value) {
|
|
46068
|
-
return value !== null &&
|
|
46703
|
+
return value !== null && typeof value === "object";
|
|
46069
46704
|
}
|
|
46070
46705
|
function cloneIssues(issues) {
|
|
46071
46706
|
return issues.map((iss) => iss.path ? { ...iss, path: iss.path.slice() } : { ...iss });
|
|
@@ -46114,9 +46749,6 @@ function isRecursive(inst, stack, resolve2) {
|
|
|
46114
46749
|
check2(def.catchall);
|
|
46115
46750
|
break;
|
|
46116
46751
|
}
|
|
46117
|
-
case "properties":
|
|
46118
|
-
merge2(shape(def.shape, false));
|
|
46119
|
-
break;
|
|
46120
46752
|
case "array":
|
|
46121
46753
|
check2(def.element);
|
|
46122
46754
|
break;
|
|
@@ -46444,6 +47076,7 @@ var error = () => {
|
|
|
46444
47076
|
json_string: "\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",
|
|
46445
47077
|
e164: "\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",
|
|
46446
47078
|
credit_card: "\u0631\u0642\u0645 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0627\u0626\u062A\u0645\u0627\u0646",
|
|
47079
|
+
currency_code: "\u0631\u0645\u0632 \u0627\u0644\u0639\u0645\u0644\u0629",
|
|
46447
47080
|
iban: "IBAN",
|
|
46448
47081
|
jwt: "JWT",
|
|
46449
47082
|
template_literal: "\u0645\u062F\u062E\u0644"
|
|
@@ -46555,6 +47188,7 @@ var error2 = () => {
|
|
|
46555
47188
|
json_string: "JSON string",
|
|
46556
47189
|
e164: "E.164 number",
|
|
46557
47190
|
credit_card: "kredit kart\u0131 n\xF6mr\u0259si",
|
|
47191
|
+
currency_code: "valyuta kodu",
|
|
46558
47192
|
iban: "IBAN",
|
|
46559
47193
|
jwt: "JWT",
|
|
46560
47194
|
template_literal: "input"
|
|
@@ -46715,6 +47349,7 @@ var error3 = () => {
|
|
|
46715
47349
|
json_string: "JSON \u0440\u0430\u0434\u043E\u043A",
|
|
46716
47350
|
e164: "\u043D\u0443\u043C\u0430\u0440 E.164",
|
|
46717
47351
|
credit_card: "\u043D\u0443\u043C\u0430\u0440 \u043A\u0440\u044D\u0434\u044B\u0442\u043D\u0430\u0439 \u043A\u0430\u0440\u0442\u044B",
|
|
47352
|
+
currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
|
|
46718
47353
|
iban: "IBAN",
|
|
46719
47354
|
jwt: "JWT",
|
|
46720
47355
|
template_literal: "\u0443\u0432\u043E\u0434"
|
|
@@ -46833,6 +47468,7 @@ var error4 = () => {
|
|
|
46833
47468
|
json_string: "JSON \u043D\u0438\u0437",
|
|
46834
47469
|
e164: "E.164 \u043D\u043E\u043C\u0435\u0440",
|
|
46835
47470
|
credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0430",
|
|
47471
|
+
currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
|
|
46836
47472
|
iban: "IBAN",
|
|
46837
47473
|
jwt: "JWT",
|
|
46838
47474
|
template_literal: "\u0432\u0445\u043E\u0434"
|
|
@@ -46958,6 +47594,7 @@ var error5 = () => {
|
|
|
46958
47594
|
json_string: "JSON \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",
|
|
46959
47595
|
e164: "E.164 \u09A8\u09AE\u09CD\u09AC\u09B0",
|
|
46960
47596
|
credit_card: "\u0995\u09CD\u09B0\u09C7\u09A1\u09BF\u099F \u0995\u09BE\u09B0\u09CD\u09A1 \u09A8\u09AE\u09CD\u09AC\u09B0",
|
|
47597
|
+
currency_code: "\u09AE\u09C1\u09A6\u09CD\u09B0\u09BE \u0995\u09CB\u09A1",
|
|
46961
47598
|
iban: "IBAN",
|
|
46962
47599
|
jwt: "JWT",
|
|
46963
47600
|
template_literal: "\u0987\u09A8\u09AA\u09C1\u099F"
|
|
@@ -47071,6 +47708,7 @@ var error6 = () => {
|
|
|
47071
47708
|
json_string: "cadena JSON",
|
|
47072
47709
|
e164: "n\xFAmero E.164",
|
|
47073
47710
|
credit_card: "n\xFAmero de targeta de cr\xE8dit",
|
|
47711
|
+
currency_code: "codi de moneda",
|
|
47074
47712
|
iban: "IBAN",
|
|
47075
47713
|
jwt: "JWT",
|
|
47076
47714
|
template_literal: "entrada"
|
|
@@ -47184,6 +47822,7 @@ var error7 = () => {
|
|
|
47184
47822
|
json_string: "\u062F\u06D5\u0642\u06CC JSON",
|
|
47185
47823
|
e164: "\u0698\u0645\u0627\u0631\u06D5\u06CC E.164",
|
|
47186
47824
|
credit_card: "\u0698\u0645\u0627\u0631\u06D5\u06CC \u06A9\u0627\u0631\u062A\u06CC \u06A9\u0631\u06CE\u062F\u06CC\u062A",
|
|
47825
|
+
currency_code: "\u06A9\u06C6\u062F\u06CC \u062F\u0631\u0627\u0648",
|
|
47187
47826
|
iban: "IBAN",
|
|
47188
47827
|
jwt: "JWT",
|
|
47189
47828
|
template_literal: "\u062A\u06CE\u06A9\u0631\u062F\u06D5"
|
|
@@ -47316,6 +47955,7 @@ var error8 = () => {
|
|
|
47316
47955
|
json_string: "\u0159et\u011Bzec ve form\xE1tu JSON",
|
|
47317
47956
|
e164: "\u010D\xEDslo E.164",
|
|
47318
47957
|
credit_card: "\u010D\xEDslo kreditn\xED karty",
|
|
47958
|
+
currency_code: "k\xF3d m\u011Bny",
|
|
47319
47959
|
iban: "IBAN",
|
|
47320
47960
|
jwt: "JWT",
|
|
47321
47961
|
template_literal: "vstup"
|
|
@@ -47432,6 +48072,7 @@ var error9 = () => {
|
|
|
47432
48072
|
json_string: "JSON-streng",
|
|
47433
48073
|
e164: "E.164-nummer",
|
|
47434
48074
|
credit_card: "kreditkortnummer",
|
|
48075
|
+
currency_code: "valutakode",
|
|
47435
48076
|
iban: "IBAN",
|
|
47436
48077
|
jwt: "JWT",
|
|
47437
48078
|
template_literal: "input"
|
|
@@ -47552,6 +48193,7 @@ var error10 = () => {
|
|
|
47552
48193
|
json_string: "JSON-String",
|
|
47553
48194
|
e164: "E.164-Nummer",
|
|
47554
48195
|
credit_card: "Kreditkartennummer",
|
|
48196
|
+
currency_code: "W\xE4hrungscode",
|
|
47555
48197
|
iban: "IBAN",
|
|
47556
48198
|
jwt: "JWT",
|
|
47557
48199
|
template_literal: "Eingabe"
|
|
@@ -47665,6 +48307,7 @@ var error11 = () => {
|
|
|
47665
48307
|
json_string: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",
|
|
47666
48308
|
e164: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",
|
|
47667
48309
|
credit_card: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 \u03C0\u03B9\u03C3\u03C4\u03C9\u03C4\u03B9\u03BA\u03AE\u03C2 \u03BA\u03AC\u03C1\u03C4\u03B1\u03C2",
|
|
48310
|
+
currency_code: "\u03BA\u03C9\u03B4\u03B9\u03BA\u03CC\u03C2 \u03BD\u03BF\u03BC\u03AF\u03C3\u03BC\u03B1\u03C4\u03BF\u03C2",
|
|
47668
48311
|
iban: "IBAN",
|
|
47669
48312
|
jwt: "JWT",
|
|
47670
48313
|
template_literal: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"
|
|
@@ -47776,6 +48419,7 @@ var error12 = () => {
|
|
|
47776
48419
|
base64url: "base64url-encoded string",
|
|
47777
48420
|
json_string: "JSON string",
|
|
47778
48421
|
e164: "E.164 number",
|
|
48422
|
+
currency_code: "currency code",
|
|
47779
48423
|
credit_card: "credit card number",
|
|
47780
48424
|
iban: "IBAN",
|
|
47781
48425
|
jwt: "JWT",
|
|
@@ -47901,6 +48545,7 @@ var error13 = () => {
|
|
|
47901
48545
|
json_string: "JSON-karaktraro",
|
|
47902
48546
|
e164: "E.164-nombro",
|
|
47903
48547
|
credit_card: "kreditkarta numero",
|
|
48548
|
+
currency_code: "valuta kodo",
|
|
47904
48549
|
iban: "IBAN",
|
|
47905
48550
|
jwt: "JWT",
|
|
47906
48551
|
template_literal: "enigo"
|
|
@@ -48014,6 +48659,7 @@ var error14 = () => {
|
|
|
48014
48659
|
json_string: "cadena JSON",
|
|
48015
48660
|
e164: "n\xFAmero E.164",
|
|
48016
48661
|
credit_card: "n\xFAmero de tarjeta de cr\xE9dito",
|
|
48662
|
+
currency_code: "c\xF3digo de moneda",
|
|
48017
48663
|
iban: "IBAN",
|
|
48018
48664
|
jwt: "JWT",
|
|
48019
48665
|
template_literal: "entrada"
|
|
@@ -48151,6 +48797,7 @@ var error15 = () => {
|
|
|
48151
48797
|
json_string: "JSON \u0631\u0634\u062A\u0647",
|
|
48152
48798
|
e164: "E.164 \u0639\u062F\u062F",
|
|
48153
48799
|
credit_card: "\u0634\u0645\u0627\u0631\u0647 \u06A9\u0627\u0631\u062A \u0627\u0639\u062A\u0628\u0627\u0631\u06CC",
|
|
48800
|
+
currency_code: "\u06A9\u062F \u0627\u0631\u0632",
|
|
48154
48801
|
iban: "IBAN",
|
|
48155
48802
|
jwt: "JWT",
|
|
48156
48803
|
template_literal: "\u0648\u0631\u0648\u062F\u06CC"
|
|
@@ -48274,6 +48921,7 @@ var error16 = () => {
|
|
|
48274
48921
|
json_string: "JSON-merkkijono",
|
|
48275
48922
|
e164: "E.164-luku",
|
|
48276
48923
|
credit_card: "luottokortin numero",
|
|
48924
|
+
currency_code: "valuuttakoodi",
|
|
48277
48925
|
iban: "IBAN",
|
|
48278
48926
|
jwt: "JWT",
|
|
48279
48927
|
template_literal: "templaattimerkkijono"
|
|
@@ -48386,6 +49034,7 @@ var error17 = () => {
|
|
|
48386
49034
|
json_string: "cha\xEEne de caract\xE8res JSON",
|
|
48387
49035
|
e164: "num\xE9ro au format E.164",
|
|
48388
49036
|
credit_card: "num\xE9ro de carte de cr\xE9dit",
|
|
49037
|
+
currency_code: "code de devise",
|
|
48389
49038
|
iban: "IBAN",
|
|
48390
49039
|
jwt: "JWT",
|
|
48391
49040
|
template_literal: "entr\xE9e"
|
|
@@ -48516,6 +49165,7 @@ var error18 = () => {
|
|
|
48516
49165
|
json_string: "cha\xEEne JSON",
|
|
48517
49166
|
e164: "num\xE9ro E.164",
|
|
48518
49167
|
credit_card: "num\xE9ro de carte de cr\xE9dit",
|
|
49168
|
+
currency_code: "code de devise",
|
|
48519
49169
|
iban: "IBAN",
|
|
48520
49170
|
jwt: "JWT",
|
|
48521
49171
|
template_literal: "entr\xE9e"
|
|
@@ -48628,6 +49278,7 @@ var error19 = () => {
|
|
|
48628
49278
|
json_string: "JSON \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",
|
|
48629
49279
|
e164: "E.164 \u0AA8\u0A82\u0AAC\u0AB0",
|
|
48630
49280
|
credit_card: "\u0A95\u0ACD\u0AB0\u0AC7\u0AA1\u0ABF\u0A9F \u0A95\u0ABE\u0AB0\u0ACD\u0AA1 \u0AA8\u0A82\u0AAC\u0AB0",
|
|
49281
|
+
currency_code: "\u0A9A\u0AB2\u0AA3 \u0A95\u0ACB\u0AA1",
|
|
48631
49282
|
iban: "IBAN",
|
|
48632
49283
|
jwt: "JWT",
|
|
48633
49284
|
template_literal: "\u0A87\u0AA8\u0AAA\u0AC1\u0A9F"
|
|
@@ -48777,6 +49428,7 @@ var error20 = () => {
|
|
|
48777
49428
|
json_string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON", gender: "f" },
|
|
48778
49429
|
e164: { label: "\u05DE\u05E1\u05E4\u05E8 E.164", gender: "m" },
|
|
48779
49430
|
credit_card: { label: "\u05DE\u05E1\u05E4\u05E8 \u05DB\u05E8\u05D8\u05D9\u05E1 \u05D0\u05E9\u05E8\u05D0\u05D9", gender: "m" },
|
|
49431
|
+
currency_code: { label: "\u05E7\u05D5\u05D3 \u05DE\u05D8\u05D1\u05E2", gender: "m" },
|
|
48780
49432
|
iban: { label: "IBAN", gender: "m" },
|
|
48781
49433
|
jwt: { label: "JWT", gender: "m" },
|
|
48782
49434
|
template_literal: { label: "\u05E7\u05DC\u05D8", gender: "m" },
|
|
@@ -48942,6 +49594,7 @@ var error21 = () => {
|
|
|
48942
49594
|
json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",
|
|
48943
49595
|
e164: "E.164 \u0938\u0902\u0916\u094D\u092F\u093E",
|
|
48944
49596
|
credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0938\u0902\u0916\u094D\u092F\u093E",
|
|
49597
|
+
currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
|
|
48945
49598
|
iban: "IBAN",
|
|
48946
49599
|
jwt: "JWT",
|
|
48947
49600
|
template_literal: "\u0907\u0928\u092A\u0941\u091F"
|
|
@@ -49052,6 +49705,7 @@ var error22 = () => {
|
|
|
49052
49705
|
json_string: "JSON tekst",
|
|
49053
49706
|
e164: "E.164 broj",
|
|
49054
49707
|
credit_card: "broj kreditne kartice",
|
|
49708
|
+
currency_code: "kod valute",
|
|
49055
49709
|
iban: "IBAN",
|
|
49056
49710
|
jwt: "JWT",
|
|
49057
49711
|
template_literal: "unos"
|
|
@@ -49179,6 +49833,7 @@ var error23 = () => {
|
|
|
49179
49833
|
json_string: "JSON string",
|
|
49180
49834
|
e164: "E.164 sz\xE1m",
|
|
49181
49835
|
credit_card: "hitelk\xE1rtyasz\xE1m",
|
|
49836
|
+
currency_code: "p\xE9nznemk\xF3d",
|
|
49182
49837
|
iban: "IBAN",
|
|
49183
49838
|
jwt: "JWT",
|
|
49184
49839
|
template_literal: "bemenet"
|
|
@@ -49332,6 +49987,7 @@ var error24 = () => {
|
|
|
49332
49987
|
json_string: "JSON \u057F\u0578\u0572",
|
|
49333
49988
|
e164: "E.164 \u0570\u0561\u0574\u0561\u0580",
|
|
49334
49989
|
credit_card: "\u056F\u0580\u0565\u0564\u056B\u057F \u0584\u0561\u0580\u057F\u056B \u0570\u0561\u0574\u0561\u0580",
|
|
49990
|
+
currency_code: "\u0561\u0580\u056A\u0578\u0582\u0575\u0569\u056B \u056F\u0578\u0564",
|
|
49335
49991
|
iban: "IBAN",
|
|
49336
49992
|
jwt: "JWT",
|
|
49337
49993
|
template_literal: "\u0574\u0578\u0582\u057F\u0584"
|
|
@@ -49450,6 +50106,7 @@ var error25 = () => {
|
|
|
49450
50106
|
json_string: "string JSON",
|
|
49451
50107
|
e164: "angka E.164",
|
|
49452
50108
|
credit_card: "nomor kartu kredit",
|
|
50109
|
+
currency_code: "kode mata uang",
|
|
49453
50110
|
iban: "IBAN",
|
|
49454
50111
|
jwt: "JWT",
|
|
49455
50112
|
template_literal: "input"
|
|
@@ -49561,6 +50218,7 @@ var error26 = () => {
|
|
|
49561
50218
|
json_string: "JSON strengur",
|
|
49562
50219
|
e164: "E.164 t\xF6lugildi",
|
|
49563
50220
|
credit_card: "kreditkortan\xFAmer",
|
|
50221
|
+
currency_code: "gjaldmi\xF0ilsk\xF3\xF0i",
|
|
49564
50222
|
iban: "IBAN",
|
|
49565
50223
|
jwt: "JWT",
|
|
49566
50224
|
template_literal: "gildi"
|
|
@@ -49675,6 +50333,7 @@ var error27 = () => {
|
|
|
49675
50333
|
json_string: "stringa JSON",
|
|
49676
50334
|
e164: "numero E.164",
|
|
49677
50335
|
credit_card: "numero di carta di credito",
|
|
50336
|
+
currency_code: "codice valuta",
|
|
49678
50337
|
iban: "IBAN",
|
|
49679
50338
|
jwt: "JWT",
|
|
49680
50339
|
template_literal: "input"
|
|
@@ -49788,6 +50447,7 @@ var error28 = () => {
|
|
|
49788
50447
|
json_string: "JSON\u6587\u5B57\u5217",
|
|
49789
50448
|
e164: "E.164\u756A\u53F7",
|
|
49790
50449
|
credit_card: "\u30AF\u30EC\u30B8\u30C3\u30C8\u30AB\u30FC\u30C9\u756A\u53F7",
|
|
50450
|
+
currency_code: "\u901A\u8CA8\u30B3\u30FC\u30C9",
|
|
49791
50451
|
iban: "IBAN",
|
|
49792
50452
|
jwt: "JWT",
|
|
49793
50453
|
template_literal: "\u5165\u529B\u5024"
|
|
@@ -49900,6 +50560,7 @@ var error29 = () => {
|
|
|
49900
50560
|
json_string: "JSON \u10D5\u10D4\u10DA\u10D8",
|
|
49901
50561
|
e164: "E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
|
|
49902
50562
|
credit_card: "\u10E1\u10D0\u10D9\u10E0\u10D4\u10D3\u10D8\u10E2\u10DD \u10D1\u10D0\u10E0\u10D0\u10D7\u10D8\u10E1 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
|
|
50563
|
+
currency_code: "\u10D5\u10D0\u10DA\u10E3\u10E2\u10D8\u10E1 \u10D9\u10DD\u10D3\u10D8",
|
|
49903
50564
|
iban: "IBAN",
|
|
49904
50565
|
jwt: "JWT",
|
|
49905
50566
|
template_literal: "\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"
|
|
@@ -50017,6 +50678,7 @@ var error30 = () => {
|
|
|
50017
50678
|
json_string: "\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",
|
|
50018
50679
|
e164: "\u179B\u17C1\u1781 E.164",
|
|
50019
50680
|
credit_card: "\u179B\u17C1\u1781\u1794\u17D0\u178E\u17D2\u178E\u17A5\u178E\u1791\u17B6\u1793",
|
|
50681
|
+
currency_code: "\u1780\u17BC\u178A\u179A\u17BC\u1794\u17B7\u1799\u1794\u17D0\u178E\u17D2\u178E",
|
|
50020
50682
|
iban: "IBAN",
|
|
50021
50683
|
jwt: "JWT",
|
|
50022
50684
|
template_literal: "\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"
|
|
@@ -50137,6 +50799,7 @@ var error31 = () => {
|
|
|
50137
50799
|
json_string: "JSON\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",
|
|
50138
50800
|
e164: "E.164 \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
|
|
50139
50801
|
credit_card: "\u0C95\u0CCD\u0CB0\u0CC6\u0CA1\u0CBF\u0C9F\u0CCD \u0C95\u0CBE\u0CB0\u0CCD\u0CA1\u0CCD \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
|
|
50802
|
+
currency_code: "\u0C95\u0CB0\u0CC6\u0CA8\u0CCD\u0CB8\u0CBF \u0C95\u0CCB\u0CA1\u0CCD",
|
|
50140
50803
|
iban: "IBAN",
|
|
50141
50804
|
jwt: "JWT",
|
|
50142
50805
|
template_literal: "\u0C87\u0CA8\u0CCD\u0CAA\u0CC1\u0C9F\u0CCD"
|
|
@@ -50252,6 +50915,7 @@ var error32 = () => {
|
|
|
50252
50915
|
json_string: "JSON \uBB38\uC790\uC5F4",
|
|
50253
50916
|
e164: "E.164 \uBC88\uD638",
|
|
50254
50917
|
credit_card: "\uC2E0\uC6A9\uCE74\uB4DC \uBC88\uD638",
|
|
50918
|
+
currency_code: "\uD1B5\uD654 \uCF54\uB4DC",
|
|
50255
50919
|
iban: "IBAN",
|
|
50256
50920
|
jwt: "JWT",
|
|
50257
50921
|
template_literal: "\uC785\uB825"
|
|
@@ -50450,6 +51114,7 @@ var error33 = () => {
|
|
|
50450
51114
|
json_string: "JSON eilut\u0117",
|
|
50451
51115
|
e164: "E.164 numeris",
|
|
50452
51116
|
credit_card: "kredito kortel\u0117s numeris",
|
|
51117
|
+
currency_code: "valiutos kodas",
|
|
50453
51118
|
iban: "IBAN",
|
|
50454
51119
|
jwt: "JWT",
|
|
50455
51120
|
template_literal: "\u012Fvestis"
|
|
@@ -50575,6 +51240,7 @@ var error34 = () => {
|
|
|
50575
51240
|
json_string: "JSON \u043D\u0438\u0437\u0430",
|
|
50576
51241
|
e164: "E.164 \u0431\u0440\u043E\u0458",
|
|
50577
51242
|
credit_card: "\u0431\u0440\u043E\u0458 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u0447\u043A\u0430",
|
|
51243
|
+
currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
|
|
50578
51244
|
iban: "IBAN",
|
|
50579
51245
|
jwt: "JWT",
|
|
50580
51246
|
template_literal: "\u0432\u043D\u0435\u0441"
|
|
@@ -50689,6 +51355,7 @@ var error35 = () => {
|
|
|
50689
51355
|
json_string: "string JSON",
|
|
50690
51356
|
e164: "nombor E.164",
|
|
50691
51357
|
credit_card: "nombor kad kredit",
|
|
51358
|
+
currency_code: "kod mata wang",
|
|
50692
51359
|
iban: "IBAN",
|
|
50693
51360
|
jwt: "JWT",
|
|
50694
51361
|
template_literal: "input"
|
|
@@ -50801,6 +51468,7 @@ var error36 = () => {
|
|
|
50801
51468
|
json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0919",
|
|
50802
51469
|
e164: "E.164 \u0928\u092E\u094D\u092C\u0930",
|
|
50803
51470
|
credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0928\u092E\u094D\u092C\u0930",
|
|
51471
|
+
currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
|
|
50804
51472
|
iban: "IBAN",
|
|
50805
51473
|
jwt: "JWT",
|
|
50806
51474
|
template_literal: "\u0907\u0928\u092A\u0941\u091F"
|
|
@@ -50912,6 +51580,7 @@ var error37 = () => {
|
|
|
50912
51580
|
json_string: "JSON string",
|
|
50913
51581
|
e164: "E.164-nummer",
|
|
50914
51582
|
credit_card: "creditcardnummer",
|
|
51583
|
+
currency_code: "valutacode",
|
|
50915
51584
|
iban: "IBAN",
|
|
50916
51585
|
jwt: "JWT",
|
|
50917
51586
|
template_literal: "invoer"
|
|
@@ -51027,6 +51696,7 @@ var error38 = () => {
|
|
|
51027
51696
|
json_string: "JSON-streng",
|
|
51028
51697
|
e164: "E.164-nummer",
|
|
51029
51698
|
credit_card: "kredittkortnummer",
|
|
51699
|
+
currency_code: "valutakode",
|
|
51030
51700
|
iban: "IBAN",
|
|
51031
51701
|
jwt: "JWT",
|
|
51032
51702
|
template_literal: "input"
|
|
@@ -51140,6 +51810,7 @@ var error39 = () => {
|
|
|
51140
51810
|
json_string: "JSON-streng",
|
|
51141
51811
|
e164: "E.164-nummer",
|
|
51142
51812
|
credit_card: "kredittkortnummer",
|
|
51813
|
+
currency_code: "valutakode",
|
|
51143
51814
|
iban: "IBAN",
|
|
51144
51815
|
jwt: "JWT",
|
|
51145
51816
|
template_literal: "input"
|
|
@@ -51253,6 +51924,7 @@ var error40 = () => {
|
|
|
51253
51924
|
json_string: "JSON metin",
|
|
51254
51925
|
e164: "E.164 say\u0131s\u0131",
|
|
51255
51926
|
credit_card: "i'tib\xE2r kart\u0131 numaras\u0131",
|
|
51927
|
+
currency_code: "para birimi kodu",
|
|
51256
51928
|
iban: "IBAN",
|
|
51257
51929
|
jwt: "JWT",
|
|
51258
51930
|
template_literal: "giren"
|
|
@@ -51367,6 +52039,7 @@ var error41 = () => {
|
|
|
51367
52039
|
json_string: "JSON \u0645\u062A\u0646",
|
|
51368
52040
|
e164: "\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",
|
|
51369
52041
|
credit_card: "\u062F \u06A9\u0631\u06CC\u0689\u06CC\u067C \u06A9\u0627\u0631\u062A \u0634\u0645\u06CC\u0631\u0647",
|
|
52042
|
+
currency_code: "\u062F \u0627\u0633\u0639\u0627\u0631\u0648 \u06A9\u0648\u0689",
|
|
51370
52043
|
iban: "IBAN",
|
|
51371
52044
|
jwt: "JWT",
|
|
51372
52045
|
template_literal: "\u0648\u0631\u0648\u062F\u064A"
|
|
@@ -51486,6 +52159,7 @@ var error42 = () => {
|
|
|
51486
52159
|
json_string: "ci\u0105g znak\xF3w w formacie JSON",
|
|
51487
52160
|
e164: "liczba E.164",
|
|
51488
52161
|
credit_card: "numer karty kredytowej",
|
|
52162
|
+
currency_code: "kod waluty",
|
|
51489
52163
|
iban: "IBAN",
|
|
51490
52164
|
jwt: "JWT",
|
|
51491
52165
|
template_literal: "wej\u015Bcie"
|
|
@@ -51600,6 +52274,7 @@ var error43 = () => {
|
|
|
51600
52274
|
json_string: "o texto JSON",
|
|
51601
52275
|
e164: "o n\xFAmero E.164",
|
|
51602
52276
|
credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
|
|
52277
|
+
currency_code: "o c\xF3digo de moeda",
|
|
51603
52278
|
iban: "o IBAN",
|
|
51604
52279
|
jwt: "o JWT",
|
|
51605
52280
|
template_literal: "a entrada"
|
|
@@ -51743,6 +52418,7 @@ var error44 = () => {
|
|
|
51743
52418
|
json_string: "o texto JSON",
|
|
51744
52419
|
e164: "o n\xFAmero E.164",
|
|
51745
52420
|
credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
|
|
52421
|
+
currency_code: "o c\xF3digo de moeda",
|
|
51746
52422
|
iban: "o IBAN",
|
|
51747
52423
|
jwt: "o JWT",
|
|
51748
52424
|
template_literal: "a entrada"
|
|
@@ -51887,6 +52563,7 @@ var error45 = () => {
|
|
|
51887
52563
|
json_string: "\u0219ir JSON",
|
|
51888
52564
|
e164: "num\u0103r E.164",
|
|
51889
52565
|
credit_card: "num\u0103r de card de credit",
|
|
52566
|
+
currency_code: "cod valutar",
|
|
51890
52567
|
iban: "IBAN",
|
|
51891
52568
|
jwt: "JWT",
|
|
51892
52569
|
template_literal: "intrare"
|
|
@@ -52059,6 +52736,7 @@ var error46 = () => {
|
|
|
52059
52736
|
json_string: "JSON \u0441\u0442\u0440\u043E\u043A\u0430",
|
|
52060
52737
|
e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
|
|
52061
52738
|
credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0439 \u043A\u0430\u0440\u0442\u044B",
|
|
52739
|
+
currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
|
|
52062
52740
|
iban: "IBAN",
|
|
52063
52741
|
jwt: "JWT",
|
|
52064
52742
|
template_literal: "\u0432\u0432\u043E\u0434"
|
|
@@ -52177,6 +52855,7 @@ var error47 = () => {
|
|
|
52177
52855
|
json_string: "re\u0165azec vo form\xE1te JSON",
|
|
52178
52856
|
e164: "\u010D\xEDslo E.164",
|
|
52179
52857
|
credit_card: "\u010D\xEDslo kreditnej karty",
|
|
52858
|
+
currency_code: "k\xF3d meny",
|
|
52180
52859
|
iban: "IBAN",
|
|
52181
52860
|
jwt: "JWT",
|
|
52182
52861
|
template_literal: "vstup"
|
|
@@ -52293,6 +52972,7 @@ var error48 = () => {
|
|
|
52293
52972
|
json_string: "JSON niz",
|
|
52294
52973
|
e164: "E.164 \u0161tevilka",
|
|
52295
52974
|
credit_card: "\u0161tevilka kreditne kartice",
|
|
52975
|
+
currency_code: "koda valute",
|
|
52296
52976
|
iban: "IBAN",
|
|
52297
52977
|
jwt: "JWT",
|
|
52298
52978
|
template_literal: "vnos"
|
|
@@ -52407,6 +53087,7 @@ var error49 = () => {
|
|
|
52407
53087
|
json_string: "JSON-str\xE4ng",
|
|
52408
53088
|
e164: "E.164-nummer",
|
|
52409
53089
|
credit_card: "kreditkortsnummer",
|
|
53090
|
+
currency_code: "valutakod",
|
|
52410
53091
|
iban: "IBAN",
|
|
52411
53092
|
jwt: "JWT",
|
|
52412
53093
|
template_literal: "mall-literal"
|
|
@@ -52522,6 +53203,7 @@ var error50 = () => {
|
|
|
52522
53203
|
json_string: "JSON \u0B9A\u0BB0\u0BAE\u0BCD",
|
|
52523
53204
|
e164: "E.164 \u0B8E\u0BA3\u0BCD",
|
|
52524
53205
|
credit_card: "\u0B95\u0B9F\u0BA9\u0BCD \u0B85\u0B9F\u0BCD\u0B9F\u0BC8 \u0B8E\u0BA3\u0BCD",
|
|
53206
|
+
currency_code: "\u0BA8\u0BBE\u0BA3\u0BAF\u0B95\u0BCD \u0B95\u0BC1\u0BB1\u0BBF\u0BAF\u0BC0\u0B9F\u0BC1",
|
|
52525
53207
|
iban: "IBAN",
|
|
52526
53208
|
jwt: "JWT",
|
|
52527
53209
|
template_literal: "input"
|
|
@@ -52637,6 +53319,7 @@ var error51 = () => {
|
|
|
52637
53319
|
json_string: "\u0441\u0430\u0442\u0440\u0438 JSON",
|
|
52638
53320
|
e164: "\u0440\u0430\u049B\u0430\u043C\u0438 E.164",
|
|
52639
53321
|
credit_card: "\u0440\u0430\u049B\u0430\u043C\u0438 \u043A\u043E\u0440\u0442\u0438 \u043A\u0440\u0435\u0434\u0438\u0442\u04E3",
|
|
53322
|
+
currency_code: "\u0440\u0430\u043C\u0437\u0438 \u0430\u0441\u044A\u043E\u0440",
|
|
52640
53323
|
iban: "IBAN",
|
|
52641
53324
|
jwt: "JWT",
|
|
52642
53325
|
template_literal: "\u0432\u0443\u0440\u0443\u0434"
|
|
@@ -52753,6 +53436,7 @@ var error52 = () => {
|
|
|
52753
53436
|
json_string: "\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",
|
|
52754
53437
|
e164: "\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",
|
|
52755
53438
|
credit_card: "\u0E2B\u0E21\u0E32\u0E22\u0E40\u0E25\u0E02\u0E1A\u0E31\u0E15\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15",
|
|
53439
|
+
currency_code: "\u0E23\u0E2B\u0E31\u0E2A\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19",
|
|
52756
53440
|
iban: "IBAN",
|
|
52757
53441
|
jwt: "\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",
|
|
52758
53442
|
template_literal: "\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"
|
|
@@ -52868,6 +53552,7 @@ var error53 = () => {
|
|
|
52868
53552
|
json_string: "JSON setiri",
|
|
52869
53553
|
e164: "E.164 nomeri",
|
|
52870
53554
|
credit_card: "kredit kartyny\u0148 nomeri",
|
|
53555
|
+
currency_code: "wal\xFDuta kody",
|
|
52871
53556
|
iban: "IBAN",
|
|
52872
53557
|
jwt: "JWT",
|
|
52873
53558
|
template_literal: "\u015Fablon"
|
|
@@ -52975,6 +53660,7 @@ var error54 = () => {
|
|
|
52975
53660
|
json_string: "JSON dizesi",
|
|
52976
53661
|
e164: "E.164 say\u0131s\u0131",
|
|
52977
53662
|
credit_card: "kredi kart\u0131 numaras\u0131",
|
|
53663
|
+
currency_code: "para birimi kodu",
|
|
52978
53664
|
iban: "IBAN",
|
|
52979
53665
|
jwt: "JWT",
|
|
52980
53666
|
template_literal: "\u015Eablon dizesi"
|
|
@@ -53085,6 +53771,7 @@ var error55 = () => {
|
|
|
53085
53771
|
json_string: "\u0440\u044F\u0434\u043E\u043A JSON",
|
|
53086
53772
|
e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
|
|
53087
53773
|
credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0457 \u043A\u0430\u0440\u0442\u043A\u0438",
|
|
53774
|
+
currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u0438",
|
|
53088
53775
|
iban: "IBAN",
|
|
53089
53776
|
jwt: "JWT",
|
|
53090
53777
|
template_literal: "\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"
|
|
@@ -53203,6 +53890,7 @@ var error56 = () => {
|
|
|
53203
53890
|
json_string: "\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",
|
|
53204
53891
|
e164: "\u0627\u06CC 164 \u0646\u0645\u0628\u0631",
|
|
53205
53892
|
credit_card: "\u06A9\u0631\u06CC\u0688\u0679 \u06A9\u0627\u0631\u0688 \u0646\u0645\u0628\u0631",
|
|
53893
|
+
currency_code: "\u06A9\u0631\u0646\u0633\u06CC \u06A9\u0648\u0688",
|
|
53206
53894
|
iban: "IBAN",
|
|
53207
53895
|
jwt: "\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",
|
|
53208
53896
|
template_literal: "\u0627\u0646 \u067E\u0679"
|
|
@@ -53318,6 +54006,7 @@ var error57 = () => {
|
|
|
53318
54006
|
json_string: "JSON satr",
|
|
53319
54007
|
e164: "E.164 raqam",
|
|
53320
54008
|
credit_card: "kredit karta raqami",
|
|
54009
|
+
currency_code: "valyuta kodi",
|
|
53321
54010
|
iban: "IBAN",
|
|
53322
54011
|
jwt: "JWT",
|
|
53323
54012
|
template_literal: "kirish"
|
|
@@ -53431,6 +54120,7 @@ var error58 = () => {
|
|
|
53431
54120
|
json_string: "chu\u1ED7i JSON",
|
|
53432
54121
|
e164: "s\u1ED1 E.164",
|
|
53433
54122
|
credit_card: "s\u1ED1 th\u1EBB t\xEDn d\u1EE5ng",
|
|
54123
|
+
currency_code: "m\xE3 ti\u1EC1n t\u1EC7",
|
|
53434
54124
|
iban: "IBAN",
|
|
53435
54125
|
jwt: "JWT",
|
|
53436
54126
|
template_literal: "\u0111\u1EA7u v\xE0o"
|
|
@@ -53544,6 +54234,7 @@ var error59 = () => {
|
|
|
53544
54234
|
json_string: "JSON\u5B57\u7B26\u4E32",
|
|
53545
54235
|
e164: "E.164\u53F7\u7801",
|
|
53546
54236
|
credit_card: "\u4FE1\u7528\u5361\u53F7",
|
|
54237
|
+
currency_code: "\u8D27\u5E01\u4EE3\u7801",
|
|
53547
54238
|
iban: "IBAN",
|
|
53548
54239
|
jwt: "JWT",
|
|
53549
54240
|
template_literal: "\u8F93\u5165"
|
|
@@ -53658,6 +54349,7 @@ var error60 = () => {
|
|
|
53658
54349
|
json_string: "JSON \u5B57\u4E32",
|
|
53659
54350
|
e164: "E.164 \u6578\u503C",
|
|
53660
54351
|
credit_card: "\u4FE1\u7528\u5361\u865F",
|
|
54352
|
+
currency_code: "\u8CA8\u5E63\u4EE3\u78BC",
|
|
53661
54353
|
iban: "IBAN",
|
|
53662
54354
|
jwt: "JWT",
|
|
53663
54355
|
template_literal: "\u8F38\u5165"
|
|
@@ -53770,6 +54462,7 @@ var error61 = () => {
|
|
|
53770
54462
|
json_string: "\u1ECD\u0300r\u1ECD\u0300 JSON",
|
|
53771
54463
|
e164: "n\u1ECD\u0301mb\xE0 E.164",
|
|
53772
54464
|
credit_card: "n\u1ECDmba kaadi gbese",
|
|
54465
|
+
currency_code: "koodu ow\xF3",
|
|
53773
54466
|
iban: "IBAN",
|
|
53774
54467
|
jwt: "JWT",
|
|
53775
54468
|
template_literal: "\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"
|
|
@@ -54148,7 +54841,7 @@ function generateChecks(doc, ctx, schema, accessor) {
|
|
|
54148
54841
|
generatePropertyCheck(doc, ctx, def, currentAccessor);
|
|
54149
54842
|
break;
|
|
54150
54843
|
case "properties":
|
|
54151
|
-
generatePropertiesChecks(doc, ctx, def, currentAccessor
|
|
54844
|
+
generatePropertiesChecks(doc, ctx, def, currentAccessor);
|
|
54152
54845
|
break;
|
|
54153
54846
|
case "overwrite": {
|
|
54154
54847
|
const newAccessor = newVar(ctx);
|
|
@@ -54258,11 +54951,11 @@ function generateMimeTypeCheck(doc, ctx, def, accessor) {
|
|
|
54258
54951
|
doc.write(`if (!${mimeSet}.has(${accessor}.type)) return INVALID;`);
|
|
54259
54952
|
}
|
|
54260
54953
|
}
|
|
54261
|
-
function generatePropertiesChecks(doc, ctx, def, accessor
|
|
54954
|
+
function generatePropertiesChecks(doc, ctx, def, accessor) {
|
|
54262
54955
|
if (def.when) {
|
|
54263
54956
|
throw new ZodCompileUnsupportedError(`check with a custom "when" condition`);
|
|
54264
54957
|
}
|
|
54265
|
-
doc.write(
|
|
54958
|
+
doc.write(`if (${accessor} == null) return INVALID;`);
|
|
54266
54959
|
const shape = def.shape;
|
|
54267
54960
|
for (const key of Reflect.ownKeys(shape)) {
|
|
54268
54961
|
const keyExpr = typeof key === "symbol" ? addConstant(ctx, key) : esc(key);
|
|
@@ -54352,7 +55045,7 @@ var PATTERN_IS_COMPLETE = /* @__PURE__ */ new Set([
|
|
|
54352
55045
|
"uuid",
|
|
54353
55046
|
"xid"
|
|
54354
55047
|
]);
|
|
54355
|
-
function generateStringFormatCheck(doc, ctx, def, accessor) {
|
|
55048
|
+
function generateStringFormatCheck(doc, ctx, def, accessor, needsValue = true) {
|
|
54356
55049
|
const fmt = def.format;
|
|
54357
55050
|
if (fmt === "base64") {
|
|
54358
55051
|
const validator = addConstant(ctx, isValidBase64);
|
|
@@ -54392,7 +55085,7 @@ function generateStringFormatCheck(doc, ctx, def, accessor) {
|
|
|
54392
55085
|
}
|
|
54393
55086
|
const formatDef = def;
|
|
54394
55087
|
if (fmt === "url" || fmt === "httpurl" || formatDef.normalize || formatDef.hostname !== void 0 || formatDef.protocol !== void 0) {
|
|
54395
|
-
const parseConst = addConstant(ctx,
|
|
55088
|
+
const parseConst = addConstant(ctx, validateURL);
|
|
54396
55089
|
const defConst = addConstant(ctx, def);
|
|
54397
55090
|
const trimVar = newVar(ctx);
|
|
54398
55091
|
const urlVar = newVar(ctx);
|
|
@@ -54407,6 +55100,8 @@ function generateStringFormatCheck(doc, ctx, def, accessor) {
|
|
|
54407
55100
|
const protocolConst = addConstant(ctx, urlProtocolOk);
|
|
54408
55101
|
doc.write(`if (!${protocolConst}(${urlVar}, ${defConst}.protocol)) return INVALID;`);
|
|
54409
55102
|
}
|
|
55103
|
+
if (!needsValue)
|
|
55104
|
+
return null;
|
|
54410
55105
|
const outputVar = newVar(ctx);
|
|
54411
55106
|
const outputExpr = formatDef.normalize ? `${urlVar}.href` : `${addConstant(ctx, stripTabAndNewline)}(${trimVar})`;
|
|
54412
55107
|
doc.write(`const ${outputVar} = ${outputExpr};`);
|
|
@@ -54466,7 +55161,7 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
|
|
|
54466
55161
|
let typeAccessor;
|
|
54467
55162
|
switch (type) {
|
|
54468
55163
|
case "string":
|
|
54469
|
-
typeAccessor = generateStringCheck(doc, ctx, schema, accessor);
|
|
55164
|
+
typeAccessor = generateStringCheck(doc, ctx, schema, accessor, buildsValue);
|
|
54470
55165
|
break;
|
|
54471
55166
|
case "number":
|
|
54472
55167
|
typeAccessor = generateNumberCheck(doc, schema, accessor);
|
|
@@ -54572,10 +55267,6 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
|
|
|
54572
55267
|
case "custom":
|
|
54573
55268
|
typeAccessor = generateCustomCheck(doc, ctx, schema, accessor);
|
|
54574
55269
|
break;
|
|
54575
|
-
case "properties":
|
|
54576
|
-
generatePropertiesChecks(doc, ctx, schema._zod.def, accessor, true);
|
|
54577
|
-
typeAccessor = accessor;
|
|
54578
|
-
break;
|
|
54579
55270
|
case "transform":
|
|
54580
55271
|
typeAccessor = generateTransformCheck(doc, ctx, schema, accessor);
|
|
54581
55272
|
break;
|
|
@@ -54591,12 +55282,12 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
|
|
|
54591
55282
|
return null;
|
|
54592
55283
|
return generateChecks(doc, ctx, schema, typeAccessor);
|
|
54593
55284
|
}
|
|
54594
|
-
function generateStringCheck(doc, ctx, schema, accessor) {
|
|
55285
|
+
function generateStringCheck(doc, ctx, schema, accessor, needsValue = true) {
|
|
54595
55286
|
doc.write(`if (typeof ${accessor} !== "string") return INVALID;`);
|
|
54596
55287
|
const def = schema._zod.def;
|
|
54597
55288
|
if (def.format === void 0)
|
|
54598
55289
|
return accessor;
|
|
54599
|
-
return generateStringFormatCheck(doc, ctx, def, accessor);
|
|
55290
|
+
return generateStringFormatCheck(doc, ctx, def, accessor, needsValue);
|
|
54600
55291
|
}
|
|
54601
55292
|
function generateNumberCheck(doc, schema, accessor) {
|
|
54602
55293
|
doc.write(`if (typeof ${accessor} !== "number" || !Number.isFinite(${accessor})) return INVALID;`);
|
|
@@ -55496,20 +56187,18 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
|
|
|
55496
56187
|
}
|
|
55497
56188
|
|
|
55498
56189
|
// node_modules/zod/v4/core/api.js
|
|
56190
|
+
function snapshotChecks(def) {
|
|
56191
|
+
if (def.checks)
|
|
56192
|
+
def.checks = [...def.checks];
|
|
56193
|
+
return def;
|
|
56194
|
+
}
|
|
55499
56195
|
// @__NO_SIDE_EFFECTS__
|
|
55500
56196
|
function _string(Class2, params) {
|
|
55501
|
-
return new Class2({
|
|
55502
|
-
type: "string",
|
|
55503
|
-
...normalizeParams(params)
|
|
55504
|
-
});
|
|
56197
|
+
return new Class2(snapshotChecks({ type: "string", ...normalizeParams(params) }));
|
|
55505
56198
|
}
|
|
55506
56199
|
// @__NO_SIDE_EFFECTS__
|
|
55507
56200
|
function _coercedString(Class2, params) {
|
|
55508
|
-
return new Class2({
|
|
55509
|
-
type: "string",
|
|
55510
|
-
coerce: true,
|
|
55511
|
-
...normalizeParams(params)
|
|
55512
|
-
});
|
|
56201
|
+
return new Class2(snapshotChecks({ type: "string", coerce: true, ...normalizeParams(params) }));
|
|
55513
56202
|
}
|
|
55514
56203
|
// @__NO_SIDE_EFFECTS__
|
|
55515
56204
|
function _email(Class2, params) {
|
|
@@ -55813,20 +56502,11 @@ function _isoDuration(Class2, params) {
|
|
|
55813
56502
|
}
|
|
55814
56503
|
// @__NO_SIDE_EFFECTS__
|
|
55815
56504
|
function _number(Class2, params) {
|
|
55816
|
-
return new Class2({
|
|
55817
|
-
type: "number",
|
|
55818
|
-
checks: [],
|
|
55819
|
-
...normalizeParams(params)
|
|
55820
|
-
});
|
|
56505
|
+
return new Class2(snapshotChecks({ type: "number", checks: [], ...normalizeParams(params) }));
|
|
55821
56506
|
}
|
|
55822
56507
|
// @__NO_SIDE_EFFECTS__
|
|
55823
56508
|
function _coercedNumber(Class2, params) {
|
|
55824
|
-
return new Class2({
|
|
55825
|
-
type: "number",
|
|
55826
|
-
coerce: true,
|
|
55827
|
-
checks: [],
|
|
55828
|
-
...normalizeParams(params)
|
|
55829
|
-
});
|
|
56509
|
+
return new Class2(snapshotChecks({ type: "number", coerce: true, checks: [], ...normalizeParams(params) }));
|
|
55830
56510
|
}
|
|
55831
56511
|
// @__NO_SIDE_EFFECTS__
|
|
55832
56512
|
function _int(Class2, params) {
|
|
@@ -56168,9 +56848,8 @@ function _property(property, schema, params) {
|
|
|
56168
56848
|
});
|
|
56169
56849
|
}
|
|
56170
56850
|
// @__NO_SIDE_EFFECTS__
|
|
56171
|
-
function _properties(
|
|
56172
|
-
return new
|
|
56173
|
-
type: "properties",
|
|
56851
|
+
function _properties(shape, params) {
|
|
56852
|
+
return new $ZodCheckProperties({
|
|
56174
56853
|
check: "properties",
|
|
56175
56854
|
shape,
|
|
56176
56855
|
...normalizeParams(params)
|
|
@@ -56805,11 +57484,11 @@ function foldObjects(members2) {
|
|
|
56805
57484
|
}
|
|
56806
57485
|
objects.push(member);
|
|
56807
57486
|
}
|
|
56808
|
-
const
|
|
57487
|
+
const properties = {};
|
|
56809
57488
|
const required2 = /* @__PURE__ */ new Set();
|
|
56810
57489
|
for (const object4 of objects) {
|
|
56811
57490
|
for (const key in object4.properties) {
|
|
56812
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
57491
|
+
if (Object.prototype.hasOwnProperty.call(properties, key))
|
|
56813
57492
|
continue;
|
|
56814
57493
|
const parts = [];
|
|
56815
57494
|
for (const other of objects) {
|
|
@@ -56820,12 +57499,12 @@ function foldObjects(members2) {
|
|
|
56820
57499
|
parts.push(part);
|
|
56821
57500
|
}
|
|
56822
57501
|
const merged = parts.length === 1 ? parts[0] : foldObjects(parts) ?? { allOf: parts };
|
|
56823
|
-
assignProp(
|
|
57502
|
+
assignProp(properties, key, merged);
|
|
56824
57503
|
}
|
|
56825
57504
|
for (const key of object4.required ?? [])
|
|
56826
57505
|
required2.add(key);
|
|
56827
57506
|
}
|
|
56828
|
-
const folded = { type: "object", properties
|
|
57507
|
+
const folded = { type: "object", properties };
|
|
56829
57508
|
if (required2.size)
|
|
56830
57509
|
folded.required = [...required2];
|
|
56831
57510
|
if (objects.every((object4) => object4.additionalProperties === false)) {
|
|
@@ -57447,17 +58126,15 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
57447
58126
|
path: [...params.path, "properties", key]
|
|
57448
58127
|
}));
|
|
57449
58128
|
}
|
|
57450
|
-
const
|
|
57451
|
-
const
|
|
58129
|
+
const requiredKeys = [];
|
|
58130
|
+
for (const key of Object.keys(shape)) {
|
|
57452
58131
|
const field = def.shape[key];
|
|
57453
|
-
if (ctx.io === "input") {
|
|
57454
|
-
|
|
57455
|
-
} else {
|
|
57456
|
-
return field._zod.optout === void 0;
|
|
58132
|
+
if (ctx.io === "input" ? inputOptin(field) === void 0 : field._zod.optout === void 0) {
|
|
58133
|
+
requiredKeys.push(key);
|
|
57457
58134
|
}
|
|
57458
|
-
}
|
|
57459
|
-
if (requiredKeys.
|
|
57460
|
-
json2.required =
|
|
58135
|
+
}
|
|
58136
|
+
if (requiredKeys.length > 0) {
|
|
58137
|
+
json2.required = requiredKeys;
|
|
57461
58138
|
}
|
|
57462
58139
|
if (def.catchall?._zod.def.type === "never") {
|
|
57463
58140
|
json2.additionalProperties = false;
|
|
@@ -57471,31 +58148,6 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
57471
58148
|
});
|
|
57472
58149
|
}
|
|
57473
58150
|
};
|
|
57474
|
-
var propertiesProcessor = (schema, ctx, _json, params) => {
|
|
57475
|
-
const json2 = _json;
|
|
57476
|
-
const def = schema._zod.def;
|
|
57477
|
-
if (Object.getOwnPropertySymbols(def.shape).length && handleUnrepresentable(schema, ctx, json2, params, "Symbol keys cannot be represented in JSON Schema")) {
|
|
57478
|
-
return;
|
|
57479
|
-
}
|
|
57480
|
-
if (ctx.io === "output") {
|
|
57481
|
-
for (const key in def.shape) {
|
|
57482
|
-
if (isTransforming(def.shape[key]) && handleUnrepresentable(schema, ctx, json2, params, `z.properties() returns its input, so the output of a transforming schema at key "${key}" cannot be represented in JSON Schema`)) {
|
|
57483
|
-
return;
|
|
57484
|
-
}
|
|
57485
|
-
}
|
|
57486
|
-
}
|
|
57487
|
-
json2.type = "object";
|
|
57488
|
-
json2.properties = {};
|
|
57489
|
-
for (const key in def.shape) {
|
|
57490
|
-
assignProp(json2.properties, key, processSchema(def.shape[key], ctx, {
|
|
57491
|
-
...params,
|
|
57492
|
-
path: [...params.path, "properties", key]
|
|
57493
|
-
}));
|
|
57494
|
-
}
|
|
57495
|
-
const required2 = Object.keys(def.shape).filter((key) => inputOptin(def.shape[key]) === void 0);
|
|
57496
|
-
if (required2.length > 0)
|
|
57497
|
-
json2.required = required2;
|
|
57498
|
-
};
|
|
57499
58151
|
var unionProcessor = (schema, ctx, json2, params) => {
|
|
57500
58152
|
const def = schema._zod.def;
|
|
57501
58153
|
const isExclusive = def.inclusive === false;
|
|
@@ -57815,7 +58467,6 @@ var allProcessors = {
|
|
|
57815
58467
|
file: fileProcessor,
|
|
57816
58468
|
success: successProcessor,
|
|
57817
58469
|
custom: customProcessor,
|
|
57818
|
-
properties: propertiesProcessor,
|
|
57819
58470
|
function: functionProcessor,
|
|
57820
58471
|
transform: transformProcessor,
|
|
57821
58472
|
map: mapProcessor,
|
|
@@ -58012,7 +58663,6 @@ __export(schemas_exports3, {
|
|
|
58012
58663
|
ZodPrefault: () => ZodPrefault,
|
|
58013
58664
|
ZodPreprocess: () => ZodPreprocess,
|
|
58014
58665
|
ZodPromise: () => ZodPromise,
|
|
58015
|
-
ZodProperties: () => ZodProperties,
|
|
58016
58666
|
ZodReadonly: () => ZodReadonly,
|
|
58017
58667
|
ZodRecord: () => ZodRecord,
|
|
58018
58668
|
ZodSet: () => ZodSet,
|
|
@@ -58050,6 +58700,7 @@ __export(schemas_exports3, {
|
|
|
58050
58700
|
creditCard: () => creditCard2,
|
|
58051
58701
|
cuid: () => cuid3,
|
|
58052
58702
|
cuid2: () => cuid22,
|
|
58703
|
+
currencyCode: () => currencyCode2,
|
|
58053
58704
|
custom: () => custom,
|
|
58054
58705
|
date: () => date2,
|
|
58055
58706
|
describe: () => describe2,
|
|
@@ -58104,7 +58755,6 @@ __export(schemas_exports3, {
|
|
|
58104
58755
|
prefault: () => prefault,
|
|
58105
58756
|
preprocess: () => preprocess3,
|
|
58106
58757
|
promise: () => promise,
|
|
58107
|
-
properties: () => properties,
|
|
58108
58758
|
readonly: () => readonly,
|
|
58109
58759
|
record: () => record3,
|
|
58110
58760
|
refine: () => refine,
|
|
@@ -58158,6 +58808,7 @@ __export(checks_exports2, {
|
|
|
58158
58808
|
normalize: () => _normalize,
|
|
58159
58809
|
overwrite: () => _overwrite,
|
|
58160
58810
|
positive: () => _positive,
|
|
58811
|
+
properties: () => _properties,
|
|
58161
58812
|
property: () => _property,
|
|
58162
58813
|
regex: () => _regex,
|
|
58163
58814
|
size: () => _size,
|
|
@@ -58617,8 +59268,8 @@ function url3(params) {
|
|
|
58617
59268
|
}
|
|
58618
59269
|
function httpUrl(params) {
|
|
58619
59270
|
return _url(ZodURL, {
|
|
58620
|
-
protocol:
|
|
58621
|
-
hostname:
|
|
59271
|
+
protocol: httpProtocol,
|
|
59272
|
+
hostname: domain,
|
|
58622
59273
|
...util_exports.normalizeParams(params)
|
|
58623
59274
|
});
|
|
58624
59275
|
}
|
|
@@ -58756,10 +59407,13 @@ function stringFormat(format, fnOrRegex, _params = {}) {
|
|
|
58756
59407
|
return _stringFormat(ZodCustomStringFormat, format, fnOrRegex, _params);
|
|
58757
59408
|
}
|
|
58758
59409
|
function hostname2(_params) {
|
|
58759
|
-
return _stringFormat(ZodCustomStringFormat, "hostname",
|
|
59410
|
+
return _stringFormat(ZodCustomStringFormat, "hostname", hostname, _params);
|
|
58760
59411
|
}
|
|
58761
59412
|
function hex2(_params) {
|
|
58762
|
-
return _stringFormat(ZodCustomStringFormat, "hex",
|
|
59413
|
+
return _stringFormat(ZodCustomStringFormat, "hex", hex, _params);
|
|
59414
|
+
}
|
|
59415
|
+
function currencyCode2(_params) {
|
|
59416
|
+
return _stringFormat(ZodCustomStringFormat, "currency_code", currencyCode, _params);
|
|
58763
59417
|
}
|
|
58764
59418
|
function hash(alg, params) {
|
|
58765
59419
|
const enc6 = params?.enc ?? "hex";
|
|
@@ -59624,14 +60278,6 @@ var ZodCustom = /* @__PURE__ */ $constructor("ZodCustom", (inst, def) => {
|
|
|
59624
60278
|
ZodType.init(inst, def);
|
|
59625
60279
|
inst._zod.processJSONSchema = (ctx, json2, params) => customProcessor(inst, ctx, json2, params);
|
|
59626
60280
|
});
|
|
59627
|
-
var ZodProperties = /* @__PURE__ */ $constructor("ZodProperties", (inst, def) => {
|
|
59628
|
-
_ensureDefaultMemoizer();
|
|
59629
|
-
$ZodProperties.init(inst, def);
|
|
59630
|
-
ZodType.init(inst, def);
|
|
59631
|
-
});
|
|
59632
|
-
function properties(shape, params) {
|
|
59633
|
-
return _properties(ZodProperties, shape, params);
|
|
59634
|
-
}
|
|
59635
60281
|
function check(fn) {
|
|
59636
60282
|
const ch = new $ZodCheck({
|
|
59637
60283
|
check: "custom"
|
|
@@ -59655,7 +60301,7 @@ var ZodInstanceOf = /* @__PURE__ */ $constructor("ZodInstanceOf", (inst, def) =>
|
|
|
59655
60301
|
ZodCustom.init(inst, def);
|
|
59656
60302
|
}, {
|
|
59657
60303
|
properties(shape, params) {
|
|
59658
|
-
return this.check(
|
|
60304
|
+
return this.check(_properties(shape, params));
|
|
59659
60305
|
}
|
|
59660
60306
|
});
|
|
59661
60307
|
function _instanceof(cls, params = {}) {
|
|
@@ -60242,10 +60888,10 @@ function convertBaseSchema(schema, ctx) {
|
|
|
60242
60888
|
}
|
|
60243
60889
|
case "object": {
|
|
60244
60890
|
const shape = {};
|
|
60245
|
-
const
|
|
60891
|
+
const properties = schema.properties || {};
|
|
60246
60892
|
const requiredSet = new Set(schema.required || []);
|
|
60247
60893
|
const additionalSchema = typeof schema.additionalProperties === "object" ? convertSchema(schema.additionalProperties, ctx) : void 0;
|
|
60248
|
-
for (const [key, propSchema] of Object.entries(
|
|
60894
|
+
for (const [key, propSchema] of Object.entries(properties)) {
|
|
60249
60895
|
const propZodSchema = convertSchema(propSchema, ctx);
|
|
60250
60896
|
assignProp(shape, key, requiredSet.has(key) ? propZodSchema : propZodSchema.optional());
|
|
60251
60897
|
}
|
|
@@ -60606,18 +61252,6 @@ function visit(schema, fnOrHandlers) {
|
|
|
60606
61252
|
const { _cachedInner, ...rest } = def;
|
|
60607
61253
|
return clone(s, { ...rest, getter: () => run(original()) });
|
|
60608
61254
|
}
|
|
60609
|
-
case "properties": {
|
|
60610
|
-
const oldShape = def.shape;
|
|
60611
|
-
let changed = false;
|
|
60612
|
-
const newShape = {};
|
|
60613
|
-
for (const k of Reflect.ownKeys(oldShape)) {
|
|
60614
|
-
const mapped = run(oldShape[k]);
|
|
60615
|
-
if (mapped !== oldShape[k])
|
|
60616
|
-
changed = true;
|
|
60617
|
-
newShape[k] = mapped;
|
|
60618
|
-
}
|
|
60619
|
-
return changed ? clone(s, { ...def, shape: newShape }) : s;
|
|
60620
|
-
}
|
|
60621
61255
|
// A leaf by choice: `parts` are regex fragments, not data positions.
|
|
60622
61256
|
case "template_literal":
|
|
60623
61257
|
// Leaves.
|
|
@@ -60838,7 +61472,7 @@ async function createMcpServer(opts) {
|
|
|
60838
61472
|
}
|
|
60839
61473
|
return server;
|
|
60840
61474
|
}
|
|
60841
|
-
function withGracefulShutdown(
|
|
61475
|
+
function withGracefulShutdown(target, opts = {}) {
|
|
60842
61476
|
const shouldExit = opts.exit ?? true;
|
|
60843
61477
|
let shuttingDown = false;
|
|
60844
61478
|
const handler = (signal) => {
|
|
@@ -60849,7 +61483,7 @@ function withGracefulShutdown(server, opts = {}) {
|
|
|
60849
61483
|
try {
|
|
60850
61484
|
if (opts.onSignal)
|
|
60851
61485
|
await opts.onSignal(signal);
|
|
60852
|
-
await
|
|
61486
|
+
await target.close();
|
|
60853
61487
|
} catch (err) {
|
|
60854
61488
|
console.error(`[mcp-utils] error during graceful shutdown on ${signal}: ${err instanceof Error ? err.message : String(err)}`);
|
|
60855
61489
|
} finally {
|
|
@@ -60861,16 +61495,26 @@ function withGracefulShutdown(server, opts = {}) {
|
|
|
60861
61495
|
process.on("SIGINT", () => handler("SIGINT"));
|
|
60862
61496
|
process.on("SIGTERM", () => handler("SIGTERM"));
|
|
60863
61497
|
}
|
|
60864
|
-
|
|
60865
|
-
|
|
61498
|
+
function runMcp(opts) {
|
|
61499
|
+
if (opts.banner !== void 0) {
|
|
61500
|
+
console.error(opts.banner);
|
|
61501
|
+
}
|
|
61502
|
+
const spec = opts.transport ?? "stdio";
|
|
61503
|
+
const handle = serveStdio(() => createMcpServer({ ...opts, banner: void 0 }), {
|
|
61504
|
+
legacy: opts.legacy ?? "serve",
|
|
61505
|
+
onerror: opts.onerror ?? ((error62) => {
|
|
61506
|
+
console.error(`[mcp-utils] stdio server error: ${redactSecrets(error62.message)}`);
|
|
61507
|
+
}),
|
|
61508
|
+
// `'stdio'` means "let the entry make its own StdioServerTransport over
|
|
61509
|
+
// this process"; anything else is the caller's transport, which the entry
|
|
61510
|
+
// then owns (it starts it, pumps it, and closes it with the handle).
|
|
61511
|
+
...spec === "stdio" ? {} : { transport: spec }
|
|
61512
|
+
});
|
|
60866
61513
|
const shutdown = opts.shutdown ?? true;
|
|
60867
61514
|
if (shutdown !== false) {
|
|
60868
|
-
withGracefulShutdown(
|
|
61515
|
+
withGracefulShutdown(handle, shutdown === true ? {} : shutdown);
|
|
60869
61516
|
}
|
|
60870
|
-
|
|
60871
|
-
const transport = spec === "stdio" ? new StdioServerTransport() : spec;
|
|
60872
|
-
await server.connect(transport);
|
|
60873
|
-
return server;
|
|
61517
|
+
return handle;
|
|
60874
61518
|
}
|
|
60875
61519
|
|
|
60876
61520
|
// node_modules/@chrischall/mcp-utils/dist/config/index.js
|
|
@@ -66243,7 +66887,7 @@ function loadAccount(env = process.env) {
|
|
|
66243
66887
|
// package.json
|
|
66244
66888
|
var package_default = {
|
|
66245
66889
|
name: "canvas-parent-mcp",
|
|
66246
|
-
version: "2.
|
|
66890
|
+
version: "2.1.1",
|
|
66247
66891
|
mcpName: "io.github.chrischall/canvas-parent-mcp",
|
|
66248
66892
|
description: "Canvas LMS (Instructure) MCP server \u2014 student/observer read access with optional file download",
|
|
66249
66893
|
author: "Claude Code (AI) <https://www.anthropic.com/claude>",
|
|
@@ -66290,11 +66934,11 @@ var package_default = {
|
|
|
66290
66934
|
typecheck: "tsc -p tsconfig.json --noEmit"
|
|
66291
66935
|
},
|
|
66292
66936
|
dependencies: {
|
|
66293
|
-
"@chrischall/mcp-utils": "^0.
|
|
66937
|
+
"@chrischall/mcp-utils": "^1.0.0",
|
|
66294
66938
|
"@fetchproxy/bootstrap": "^3.0.1",
|
|
66295
66939
|
"@fetchproxy/server": "^3.0.1",
|
|
66296
66940
|
"@modelcontextprotocol/server": "^2.0.0",
|
|
66297
|
-
dotenv: "^
|
|
66941
|
+
dotenv: "^18.0.0",
|
|
66298
66942
|
zod: "^4.6.2"
|
|
66299
66943
|
},
|
|
66300
66944
|
devDependencies: {
|
|
@@ -67714,7 +68358,7 @@ try {
|
|
|
67714
68358
|
}
|
|
67715
68359
|
await runMcp({
|
|
67716
68360
|
name: "canvas",
|
|
67717
|
-
version: "2.
|
|
68361
|
+
version: "2.1.1",
|
|
67718
68362
|
// x-release-please-version
|
|
67719
68363
|
tools: [
|
|
67720
68364
|
// Outside the `if (resolved)` on purpose: an unconfigured server must
|