@continuous-excellence/ze-great-dashboard-aws 0.30.4 → 0.30.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lambda.mjs +178 -185
- package/package.json +2 -2
package/dist/lambda.mjs
CHANGED
|
@@ -5655,7 +5655,7 @@ var init_getEndpointProperties = __esm({
|
|
|
5655
5655
|
"node_modules/@smithy/core/dist-es/submodules/endpoints/util-endpoints/utils/getEndpointProperties.js"() {
|
|
5656
5656
|
init_types2();
|
|
5657
5657
|
init_evaluateTemplate();
|
|
5658
|
-
getEndpointProperties = (
|
|
5658
|
+
getEndpointProperties = (properties, options) => Object.entries(properties).reduce((acc, [propertyKey, propertyVal]) => {
|
|
5659
5659
|
acc[propertyKey] = group2.getEndpointProperty(propertyVal, options);
|
|
5660
5660
|
return acc;
|
|
5661
5661
|
}, {});
|
|
@@ -5742,10 +5742,10 @@ var init_decideEndpoint = __esm({
|
|
|
5742
5742
|
const [, errorExpression] = result;
|
|
5743
5743
|
throw new EndpointError(evaluateExpression(errorExpression, "Error", closure));
|
|
5744
5744
|
}
|
|
5745
|
-
const [url2,
|
|
5745
|
+
const [url2, properties, headers] = result;
|
|
5746
5746
|
return {
|
|
5747
5747
|
url: getEndpointUrl(url2, closure),
|
|
5748
|
-
properties: getEndpointProperties(
|
|
5748
|
+
properties: getEndpointProperties(properties, closure),
|
|
5749
5749
|
headers: getEndpointHeaders(headers ?? {}, closure)
|
|
5750
5750
|
};
|
|
5751
5751
|
}
|
|
@@ -5806,14 +5806,14 @@ var init_evaluateEndpointRule = __esm({
|
|
|
5806
5806
|
...options,
|
|
5807
5807
|
referenceRecord: { ...options.referenceRecord, ...referenceRecord }
|
|
5808
5808
|
} : options;
|
|
5809
|
-
const { url: url2, properties
|
|
5809
|
+
const { url: url2, properties, headers } = endpoint;
|
|
5810
5810
|
options.logger?.debug?.(`${debugId} Resolving endpoint from template: ${toDebugString(endpoint)}`);
|
|
5811
5811
|
const endpointToReturn = { url: getEndpointUrl(url2, endpointRuleOptions) };
|
|
5812
5812
|
if (headers != null) {
|
|
5813
5813
|
endpointToReturn.headers = getEndpointHeaders(headers, endpointRuleOptions);
|
|
5814
5814
|
}
|
|
5815
|
-
if (
|
|
5816
|
-
endpointToReturn.properties = getEndpointProperties(
|
|
5815
|
+
if (properties != null) {
|
|
5816
|
+
endpointToReturn.properties = getEndpointProperties(properties, endpointRuleOptions);
|
|
5817
5817
|
}
|
|
5818
5818
|
return endpointToReturn;
|
|
5819
5819
|
};
|
|
@@ -23336,7 +23336,7 @@ var init_httpAuthSchemeProvider3 = __esm({
|
|
|
23336
23336
|
}
|
|
23337
23337
|
const options = [];
|
|
23338
23338
|
for (const scheme of authSchemes) {
|
|
23339
|
-
const { name: resolvedName, properties
|
|
23339
|
+
const { name: resolvedName, properties = {}, ...rest } = scheme;
|
|
23340
23340
|
const name = resolvedName.toLowerCase();
|
|
23341
23341
|
if (resolvedName !== name) {
|
|
23342
23342
|
console.warn(`HttpAuthScheme has been normalized with lowercasing: '${resolvedName}' to '${name}'`);
|
|
@@ -23362,7 +23362,7 @@ var init_httpAuthSchemeProvider3 = __esm({
|
|
|
23362
23362
|
}
|
|
23363
23363
|
const option = createOption(authParameters);
|
|
23364
23364
|
option.schemeId = schemeId;
|
|
23365
|
-
option.signingProperties = { ...option.signingProperties || {}, ...rest, ...
|
|
23365
|
+
option.signingProperties = { ...option.signingProperties || {}, ...rest, ...properties };
|
|
23366
23366
|
options.push(option);
|
|
23367
23367
|
}
|
|
23368
23368
|
return options;
|
|
@@ -49494,7 +49494,6 @@ __export(external_exports, {
|
|
|
49494
49494
|
ZodPrefault: () => ZodPrefault,
|
|
49495
49495
|
ZodPreprocess: () => ZodPreprocess,
|
|
49496
49496
|
ZodPromise: () => ZodPromise,
|
|
49497
|
-
ZodProperties: () => ZodProperties,
|
|
49498
49497
|
ZodReadonly: () => ZodReadonly,
|
|
49499
49498
|
ZodRealError: () => ZodRealError,
|
|
49500
49499
|
ZodRecord: () => ZodRecord,
|
|
@@ -49538,6 +49537,7 @@ __export(external_exports, {
|
|
|
49538
49537
|
creditCard: () => creditCard2,
|
|
49539
49538
|
cuid: () => cuid3,
|
|
49540
49539
|
cuid2: () => cuid22,
|
|
49540
|
+
currencyCode: () => currencyCode2,
|
|
49541
49541
|
custom: () => custom,
|
|
49542
49542
|
date: () => date2,
|
|
49543
49543
|
decode: () => decode2,
|
|
@@ -49631,7 +49631,7 @@ __export(external_exports, {
|
|
|
49631
49631
|
preprocess: () => preprocess,
|
|
49632
49632
|
prettifyError: () => prettifyError,
|
|
49633
49633
|
promise: () => promise,
|
|
49634
|
-
properties: () =>
|
|
49634
|
+
properties: () => _properties,
|
|
49635
49635
|
property: () => _property,
|
|
49636
49636
|
readonly: () => readonly,
|
|
49637
49637
|
record: () => record,
|
|
@@ -49719,6 +49719,7 @@ __export(core_exports2, {
|
|
|
49719
49719
|
$ZodCheckMultipleOf: () => $ZodCheckMultipleOf,
|
|
49720
49720
|
$ZodCheckNumberFormat: () => $ZodCheckNumberFormat,
|
|
49721
49721
|
$ZodCheckOverwrite: () => $ZodCheckOverwrite,
|
|
49722
|
+
$ZodCheckProperties: () => $ZodCheckProperties,
|
|
49722
49723
|
$ZodCheckProperty: () => $ZodCheckProperty,
|
|
49723
49724
|
$ZodCheckRegex: () => $ZodCheckRegex,
|
|
49724
49725
|
$ZodCheckSizeEquals: () => $ZodCheckSizeEquals,
|
|
@@ -49772,7 +49773,6 @@ __export(core_exports2, {
|
|
|
49772
49773
|
$ZodPrefault: () => $ZodPrefault,
|
|
49773
49774
|
$ZodPreprocess: () => $ZodPreprocess,
|
|
49774
49775
|
$ZodPromise: () => $ZodPromise,
|
|
49775
|
-
$ZodProperties: () => $ZodProperties,
|
|
49776
49776
|
$ZodReadonly: () => $ZodReadonly,
|
|
49777
49777
|
$ZodRealError: () => $ZodRealError,
|
|
49778
49778
|
$ZodRecord: () => $ZodRecord,
|
|
@@ -49940,6 +49940,7 @@ __export(core_exports2, {
|
|
|
49940
49940
|
_xor: () => _xor,
|
|
49941
49941
|
base64Charset: () => base64Charset,
|
|
49942
49942
|
base64urlCharset: () => base64urlCharset,
|
|
49943
|
+
canParseURL: () => canParseURL,
|
|
49943
49944
|
clone: () => clone,
|
|
49944
49945
|
compile: () => compile,
|
|
49945
49946
|
compileFn: () => compileFn,
|
|
@@ -49962,7 +49963,6 @@ __export(core_exports2, {
|
|
|
49962
49963
|
initializeContext: () => initializeContext,
|
|
49963
49964
|
isBackEdge: () => isBackEdge,
|
|
49964
49965
|
isRecursiveSchema: () => isRecursiveSchema,
|
|
49965
|
-
isTransforming: () => isTransforming,
|
|
49966
49966
|
isValidBase64: () => isValidBase64,
|
|
49967
49967
|
isValidBase64URL: () => isValidBase64URL,
|
|
49968
49968
|
isValidCIDRv6: () => isValidCIDRv6,
|
|
@@ -49999,6 +49999,7 @@ __export(core_exports2, {
|
|
|
49999
49999
|
util: () => util_exports,
|
|
50000
50000
|
validate: () => validate,
|
|
50001
50001
|
validateAsync: () => validateAsync,
|
|
50002
|
+
validateURL: () => validateURL,
|
|
50002
50003
|
version: () => version,
|
|
50003
50004
|
withParser: () => withParser
|
|
50004
50005
|
});
|
|
@@ -50740,9 +50741,6 @@ function members(proto, table2) {
|
|
|
50740
50741
|
else
|
|
50741
50742
|
defineBound(proto, key, desc.value);
|
|
50742
50743
|
}
|
|
50743
|
-
for (const sym of Object.getOwnPropertySymbols(table2)) {
|
|
50744
|
-
defineBound(proto, sym, table2[sym]);
|
|
50745
|
-
}
|
|
50746
50744
|
}
|
|
50747
50745
|
function own(inst, key, value, enumerable = true) {
|
|
50748
50746
|
Object.defineProperty(inst, key, { configurable: true, writable: true, enumerable, value });
|
|
@@ -50895,8 +50893,7 @@ function $constructor(name, initializer3, proto, params) {
|
|
|
50895
50893
|
} finally {
|
|
50896
50894
|
_zodDesc.value = void 0;
|
|
50897
50895
|
}
|
|
50898
|
-
}
|
|
50899
|
-
if (inst._zod.traits.has(name)) {
|
|
50896
|
+
} else if (inst._zod.traits.has(name)) {
|
|
50900
50897
|
return;
|
|
50901
50898
|
}
|
|
50902
50899
|
inst._zod.traits.add(name);
|
|
@@ -51338,6 +51335,7 @@ __export(regexes_exports, {
|
|
|
51338
51335
|
creditCard: () => creditCard,
|
|
51339
51336
|
cuid: () => cuid,
|
|
51340
51337
|
cuid2: () => cuid2,
|
|
51338
|
+
currencyCode: () => currencyCode,
|
|
51341
51339
|
date: () => date,
|
|
51342
51340
|
datetime: () => datetime,
|
|
51343
51341
|
domain: () => domain,
|
|
@@ -51436,6 +51434,7 @@ var domain = /^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a
|
|
|
51436
51434
|
var httpProtocol = /^https?$/;
|
|
51437
51435
|
var e164 = /^\+[1-9]\d{6,14}$/;
|
|
51438
51436
|
var creditCard = /^\d(?:[ -]?\d){11,18}$/;
|
|
51437
|
+
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)$/;
|
|
51439
51438
|
var iban = /^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/;
|
|
51440
51439
|
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])))`;
|
|
51441
51440
|
function anchor(source) {
|
|
@@ -51920,6 +51919,34 @@ var $ZodCheckProperty = /* @__PURE__ */ $constructor("$ZodCheckProperty", (inst,
|
|
|
51920
51919
|
return;
|
|
51921
51920
|
};
|
|
51922
51921
|
});
|
|
51922
|
+
var $ZodCheckProperties = /* @__PURE__ */ $constructor("$ZodCheckProperties", (inst, def) => {
|
|
51923
|
+
$ZodCheck.init(inst, def);
|
|
51924
|
+
hide(inst, Symbol.iterator, function* () {
|
|
51925
|
+
yield inst;
|
|
51926
|
+
});
|
|
51927
|
+
let entries;
|
|
51928
|
+
inst._zod.check = (payload2) => {
|
|
51929
|
+
if (payload2.value == null) {
|
|
51930
|
+
payload2.issues.push({ expected: "object", code: "invalid_type", input: payload2.value, inst });
|
|
51931
|
+
return void 0;
|
|
51932
|
+
}
|
|
51933
|
+
entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
|
|
51934
|
+
const input2 = payload2.value;
|
|
51935
|
+
let proms;
|
|
51936
|
+
for (const [key, schema] of entries) {
|
|
51937
|
+
const result = schema._zod.run({ value: input2[key], issues: [] }, {});
|
|
51938
|
+
if (result instanceof Promise) {
|
|
51939
|
+
proms ?? (proms = []);
|
|
51940
|
+
proms.push(result.then((result2) => handleCheckPropertyResult(result2, payload2, key)));
|
|
51941
|
+
} else {
|
|
51942
|
+
handleCheckPropertyResult(result, payload2, key);
|
|
51943
|
+
}
|
|
51944
|
+
}
|
|
51945
|
+
if (proms)
|
|
51946
|
+
return Promise.all(proms).then(() => void 0);
|
|
51947
|
+
return void 0;
|
|
51948
|
+
};
|
|
51949
|
+
});
|
|
51923
51950
|
var $ZodCheckMimeType = /* @__PURE__ */ $constructor("$ZodCheckMimeType", (inst, def) => {
|
|
51924
51951
|
$ZodCheck.init(inst, def);
|
|
51925
51952
|
const mimeSet = new Set(def.mime);
|
|
@@ -51987,7 +52014,7 @@ ${content.join("\n")}
|
|
|
51987
52014
|
var version = {
|
|
51988
52015
|
major: 4,
|
|
51989
52016
|
minor: 6,
|
|
51990
|
-
patch:
|
|
52017
|
+
patch: 4
|
|
51991
52018
|
};
|
|
51992
52019
|
|
|
51993
52020
|
// node_modules/zod/v4/core/schemas.js
|
|
@@ -52175,11 +52202,32 @@ var $ZodEmail = /* @__PURE__ */ $constructor("$ZodEmail", (inst, def) => {
|
|
|
52175
52202
|
});
|
|
52176
52203
|
var URL_BAD_FORMAT = 1;
|
|
52177
52204
|
var URL_UNPARSEABLE = 2;
|
|
52205
|
+
function canParseURL(input2) {
|
|
52206
|
+
try {
|
|
52207
|
+
if (typeof URL !== "undefined" && typeof URL.canParse === "function")
|
|
52208
|
+
return URL.canParse(input2);
|
|
52209
|
+
new URL(input2);
|
|
52210
|
+
return true;
|
|
52211
|
+
} catch {
|
|
52212
|
+
return false;
|
|
52213
|
+
}
|
|
52214
|
+
}
|
|
52215
|
+
function validateURL(trimmed, def) {
|
|
52216
|
+
if (!("normalize" in def) && !("hostname" in def) && !("protocol" in def)) {
|
|
52217
|
+
return canParseURL(trimmed) || URL_UNPARSEABLE;
|
|
52218
|
+
}
|
|
52219
|
+
return parseURLObject(trimmed, def);
|
|
52220
|
+
}
|
|
52178
52221
|
function parseURLObject(trimmed, def) {
|
|
52179
52222
|
if (!def.normalize && def.protocol?.source === httpProtocol.source && !/^https?:\/\//i.test(trimmed)) {
|
|
52180
52223
|
return URL_BAD_FORMAT;
|
|
52181
52224
|
}
|
|
52182
52225
|
try {
|
|
52226
|
+
if (typeof URL !== "undefined") {
|
|
52227
|
+
const URLStatic = URL;
|
|
52228
|
+
if (typeof URLStatic.parse === "function")
|
|
52229
|
+
return URLStatic.parse(trimmed) ?? URL_UNPARSEABLE;
|
|
52230
|
+
}
|
|
52183
52231
|
return new URL(trimmed);
|
|
52184
52232
|
} catch {
|
|
52185
52233
|
return URL_UNPARSEABLE;
|
|
@@ -52202,7 +52250,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
52202
52250
|
inst._zod.check = (payload2) => {
|
|
52203
52251
|
try {
|
|
52204
52252
|
const trimmed = payload2.value.trim();
|
|
52205
|
-
const url2 =
|
|
52253
|
+
const url2 = validateURL(trimmed, def);
|
|
52206
52254
|
if (url2 === URL_BAD_FORMAT) {
|
|
52207
52255
|
payload2.issues.push({
|
|
52208
52256
|
code: "invalid_format",
|
|
@@ -52224,6 +52272,10 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
52224
52272
|
});
|
|
52225
52273
|
return;
|
|
52226
52274
|
}
|
|
52275
|
+
if (url2 === true) {
|
|
52276
|
+
payload2.value = stripTabAndNewline(trimmed);
|
|
52277
|
+
return;
|
|
52278
|
+
}
|
|
52227
52279
|
if (def.hostname && !urlHostnameOk(url2, def.hostname)) {
|
|
52228
52280
|
payload2.issues.push({
|
|
52229
52281
|
code: "invalid_format",
|
|
@@ -52313,12 +52365,7 @@ var ipv6Alphabet = /^[0-9a-fA-F:.]+$/;
|
|
|
52313
52365
|
function isValidIPv6(value) {
|
|
52314
52366
|
if (!ipv6Alphabet.test(value))
|
|
52315
52367
|
return false;
|
|
52316
|
-
|
|
52317
|
-
new URL(`http://[${value}]`);
|
|
52318
|
-
return true;
|
|
52319
|
-
} catch {
|
|
52320
|
-
return false;
|
|
52321
|
-
}
|
|
52368
|
+
return canParseURL(`http://[${value}]`);
|
|
52322
52369
|
}
|
|
52323
52370
|
var $ZodIPv6 = /* @__PURE__ */ $constructor("$ZodIPv6", (inst, def) => {
|
|
52324
52371
|
def.pattern ?? (def.pattern = ipv6);
|
|
@@ -54383,59 +54430,6 @@ function handleRefineResult(result, payload2, input2, inst) {
|
|
|
54383
54430
|
payload2.issues.push(issue(_iss));
|
|
54384
54431
|
}
|
|
54385
54432
|
}
|
|
54386
|
-
function handlePropertiesResult(result, payload2, key) {
|
|
54387
|
-
if (result.issues.length) {
|
|
54388
|
-
payload2.issues.push(...prefixIssues(key, result.issues));
|
|
54389
|
-
}
|
|
54390
|
-
}
|
|
54391
|
-
var $ZodProperties = /* @__PURE__ */ $constructor("$ZodProperties", (inst, def) => {
|
|
54392
|
-
$ZodType.init(inst, def);
|
|
54393
|
-
$ZodCheck.init(inst, def);
|
|
54394
|
-
const memo2 = globalConfig.memoizer;
|
|
54395
|
-
memo2?.attach(inst);
|
|
54396
|
-
let entries;
|
|
54397
|
-
const runShape = (payload2, ctx) => {
|
|
54398
|
-
entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
|
|
54399
|
-
const input2 = payload2.value;
|
|
54400
|
-
let proms;
|
|
54401
|
-
for (const [key, schema] of entries) {
|
|
54402
|
-
const result = schema._zod.run({ value: input2[key], issues: [] }, ctx);
|
|
54403
|
-
if (result instanceof Promise) {
|
|
54404
|
-
proms ?? (proms = []);
|
|
54405
|
-
proms.push(result.then((result2) => handlePropertiesResult(result2, payload2, key)));
|
|
54406
|
-
} else {
|
|
54407
|
-
handlePropertiesResult(result, payload2, key);
|
|
54408
|
-
}
|
|
54409
|
-
}
|
|
54410
|
-
if (proms)
|
|
54411
|
-
return Promise.all(proms).then(() => void 0);
|
|
54412
|
-
return void 0;
|
|
54413
|
-
};
|
|
54414
|
-
inst._zod.parse = (payload2, ctx) => {
|
|
54415
|
-
const input2 = payload2.value;
|
|
54416
|
-
if (input2 === null || typeof input2 !== "object" && typeof input2 !== "function") {
|
|
54417
|
-
payload2.issues.push({ expected: "object", code: "invalid_type", input: input2, inst });
|
|
54418
|
-
return payload2;
|
|
54419
|
-
}
|
|
54420
|
-
if (ctx.direction === "backward")
|
|
54421
|
-
ctx = { ...ctx, direction: "forward" };
|
|
54422
|
-
if (memo2)
|
|
54423
|
-
memo2.alloc(inst, payload2, input2, ctx);
|
|
54424
|
-
const result = runShape(payload2, ctx);
|
|
54425
|
-
return result instanceof Promise ? result.then(() => payload2) : payload2;
|
|
54426
|
-
};
|
|
54427
|
-
inst._zod.check = (payload2) => {
|
|
54428
|
-
if (payload2.value == null) {
|
|
54429
|
-
payload2.issues.push({ expected: "object", code: "invalid_type", input: payload2.value, inst });
|
|
54430
|
-
return void 0;
|
|
54431
|
-
}
|
|
54432
|
-
return runShape(payload2, {});
|
|
54433
|
-
};
|
|
54434
|
-
}, {
|
|
54435
|
-
*[Symbol.iterator]() {
|
|
54436
|
-
yield this;
|
|
54437
|
-
}
|
|
54438
|
-
});
|
|
54439
54433
|
|
|
54440
54434
|
// node_modules/zod/v4/core/memoizer.js
|
|
54441
54435
|
var $ZodCyclicError = class extends Error {
|
|
@@ -54447,7 +54441,7 @@ var $ZodCyclicError = class extends Error {
|
|
|
54447
54441
|
var STATE = "~memo";
|
|
54448
54442
|
var NO_ISSUES = [];
|
|
54449
54443
|
function isRef(value) {
|
|
54450
|
-
return value !== null &&
|
|
54444
|
+
return value !== null && typeof value === "object";
|
|
54451
54445
|
}
|
|
54452
54446
|
function cloneIssues(issues) {
|
|
54453
54447
|
return issues.map((iss) => iss.path ? { ...iss, path: iss.path.slice() } : { ...iss });
|
|
@@ -54496,9 +54490,6 @@ function isRecursive(inst, stack, resolve) {
|
|
|
54496
54490
|
check2(def.catchall);
|
|
54497
54491
|
break;
|
|
54498
54492
|
}
|
|
54499
|
-
case "properties":
|
|
54500
|
-
merge3(shape(def.shape, false));
|
|
54501
|
-
break;
|
|
54502
54493
|
case "array":
|
|
54503
54494
|
check2(def.element);
|
|
54504
54495
|
break;
|
|
@@ -54826,6 +54817,7 @@ var error = () => {
|
|
|
54826
54817
|
json_string: "\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",
|
|
54827
54818
|
e164: "\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",
|
|
54828
54819
|
credit_card: "\u0631\u0642\u0645 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0627\u0626\u062A\u0645\u0627\u0646",
|
|
54820
|
+
currency_code: "\u0631\u0645\u0632 \u0627\u0644\u0639\u0645\u0644\u0629",
|
|
54829
54821
|
iban: "IBAN",
|
|
54830
54822
|
jwt: "JWT",
|
|
54831
54823
|
template_literal: "\u0645\u062F\u062E\u0644"
|
|
@@ -54937,6 +54929,7 @@ var error2 = () => {
|
|
|
54937
54929
|
json_string: "JSON string",
|
|
54938
54930
|
e164: "E.164 number",
|
|
54939
54931
|
credit_card: "kredit kart\u0131 n\xF6mr\u0259si",
|
|
54932
|
+
currency_code: "valyuta kodu",
|
|
54940
54933
|
iban: "IBAN",
|
|
54941
54934
|
jwt: "JWT",
|
|
54942
54935
|
template_literal: "input"
|
|
@@ -55097,6 +55090,7 @@ var error3 = () => {
|
|
|
55097
55090
|
json_string: "JSON \u0440\u0430\u0434\u043E\u043A",
|
|
55098
55091
|
e164: "\u043D\u0443\u043C\u0430\u0440 E.164",
|
|
55099
55092
|
credit_card: "\u043D\u0443\u043C\u0430\u0440 \u043A\u0440\u044D\u0434\u044B\u0442\u043D\u0430\u0439 \u043A\u0430\u0440\u0442\u044B",
|
|
55093
|
+
currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
|
|
55100
55094
|
iban: "IBAN",
|
|
55101
55095
|
jwt: "JWT",
|
|
55102
55096
|
template_literal: "\u0443\u0432\u043E\u0434"
|
|
@@ -55215,6 +55209,7 @@ var error4 = () => {
|
|
|
55215
55209
|
json_string: "JSON \u043D\u0438\u0437",
|
|
55216
55210
|
e164: "E.164 \u043D\u043E\u043C\u0435\u0440",
|
|
55217
55211
|
credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0430",
|
|
55212
|
+
currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
|
|
55218
55213
|
iban: "IBAN",
|
|
55219
55214
|
jwt: "JWT",
|
|
55220
55215
|
template_literal: "\u0432\u0445\u043E\u0434"
|
|
@@ -55340,6 +55335,7 @@ var error5 = () => {
|
|
|
55340
55335
|
json_string: "JSON \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",
|
|
55341
55336
|
e164: "E.164 \u09A8\u09AE\u09CD\u09AC\u09B0",
|
|
55342
55337
|
credit_card: "\u0995\u09CD\u09B0\u09C7\u09A1\u09BF\u099F \u0995\u09BE\u09B0\u09CD\u09A1 \u09A8\u09AE\u09CD\u09AC\u09B0",
|
|
55338
|
+
currency_code: "\u09AE\u09C1\u09A6\u09CD\u09B0\u09BE \u0995\u09CB\u09A1",
|
|
55343
55339
|
iban: "IBAN",
|
|
55344
55340
|
jwt: "JWT",
|
|
55345
55341
|
template_literal: "\u0987\u09A8\u09AA\u09C1\u099F"
|
|
@@ -55453,6 +55449,7 @@ var error6 = () => {
|
|
|
55453
55449
|
json_string: "cadena JSON",
|
|
55454
55450
|
e164: "n\xFAmero E.164",
|
|
55455
55451
|
credit_card: "n\xFAmero de targeta de cr\xE8dit",
|
|
55452
|
+
currency_code: "codi de moneda",
|
|
55456
55453
|
iban: "IBAN",
|
|
55457
55454
|
jwt: "JWT",
|
|
55458
55455
|
template_literal: "entrada"
|
|
@@ -55566,6 +55563,7 @@ var error7 = () => {
|
|
|
55566
55563
|
json_string: "\u062F\u06D5\u0642\u06CC JSON",
|
|
55567
55564
|
e164: "\u0698\u0645\u0627\u0631\u06D5\u06CC E.164",
|
|
55568
55565
|
credit_card: "\u0698\u0645\u0627\u0631\u06D5\u06CC \u06A9\u0627\u0631\u062A\u06CC \u06A9\u0631\u06CE\u062F\u06CC\u062A",
|
|
55566
|
+
currency_code: "\u06A9\u06C6\u062F\u06CC \u062F\u0631\u0627\u0648",
|
|
55569
55567
|
iban: "IBAN",
|
|
55570
55568
|
jwt: "JWT",
|
|
55571
55569
|
template_literal: "\u062A\u06CE\u06A9\u0631\u062F\u06D5"
|
|
@@ -55698,6 +55696,7 @@ var error8 = () => {
|
|
|
55698
55696
|
json_string: "\u0159et\u011Bzec ve form\xE1tu JSON",
|
|
55699
55697
|
e164: "\u010D\xEDslo E.164",
|
|
55700
55698
|
credit_card: "\u010D\xEDslo kreditn\xED karty",
|
|
55699
|
+
currency_code: "k\xF3d m\u011Bny",
|
|
55701
55700
|
iban: "IBAN",
|
|
55702
55701
|
jwt: "JWT",
|
|
55703
55702
|
template_literal: "vstup"
|
|
@@ -55814,6 +55813,7 @@ var error9 = () => {
|
|
|
55814
55813
|
json_string: "JSON-streng",
|
|
55815
55814
|
e164: "E.164-nummer",
|
|
55816
55815
|
credit_card: "kreditkortnummer",
|
|
55816
|
+
currency_code: "valutakode",
|
|
55817
55817
|
iban: "IBAN",
|
|
55818
55818
|
jwt: "JWT",
|
|
55819
55819
|
template_literal: "input"
|
|
@@ -55934,6 +55934,7 @@ var error10 = () => {
|
|
|
55934
55934
|
json_string: "JSON-String",
|
|
55935
55935
|
e164: "E.164-Nummer",
|
|
55936
55936
|
credit_card: "Kreditkartennummer",
|
|
55937
|
+
currency_code: "W\xE4hrungscode",
|
|
55937
55938
|
iban: "IBAN",
|
|
55938
55939
|
jwt: "JWT",
|
|
55939
55940
|
template_literal: "Eingabe"
|
|
@@ -56047,6 +56048,7 @@ var error11 = () => {
|
|
|
56047
56048
|
json_string: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",
|
|
56048
56049
|
e164: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",
|
|
56049
56050
|
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",
|
|
56051
|
+
currency_code: "\u03BA\u03C9\u03B4\u03B9\u03BA\u03CC\u03C2 \u03BD\u03BF\u03BC\u03AF\u03C3\u03BC\u03B1\u03C4\u03BF\u03C2",
|
|
56050
56052
|
iban: "IBAN",
|
|
56051
56053
|
jwt: "JWT",
|
|
56052
56054
|
template_literal: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"
|
|
@@ -56158,6 +56160,7 @@ var error12 = () => {
|
|
|
56158
56160
|
base64url: "base64url-encoded string",
|
|
56159
56161
|
json_string: "JSON string",
|
|
56160
56162
|
e164: "E.164 number",
|
|
56163
|
+
currency_code: "currency code",
|
|
56161
56164
|
credit_card: "credit card number",
|
|
56162
56165
|
iban: "IBAN",
|
|
56163
56166
|
jwt: "JWT",
|
|
@@ -56283,6 +56286,7 @@ var error13 = () => {
|
|
|
56283
56286
|
json_string: "JSON-karaktraro",
|
|
56284
56287
|
e164: "E.164-nombro",
|
|
56285
56288
|
credit_card: "kreditkarta numero",
|
|
56289
|
+
currency_code: "valuta kodo",
|
|
56286
56290
|
iban: "IBAN",
|
|
56287
56291
|
jwt: "JWT",
|
|
56288
56292
|
template_literal: "enigo"
|
|
@@ -56396,6 +56400,7 @@ var error14 = () => {
|
|
|
56396
56400
|
json_string: "cadena JSON",
|
|
56397
56401
|
e164: "n\xFAmero E.164",
|
|
56398
56402
|
credit_card: "n\xFAmero de tarjeta de cr\xE9dito",
|
|
56403
|
+
currency_code: "c\xF3digo de moneda",
|
|
56399
56404
|
iban: "IBAN",
|
|
56400
56405
|
jwt: "JWT",
|
|
56401
56406
|
template_literal: "entrada"
|
|
@@ -56533,6 +56538,7 @@ var error15 = () => {
|
|
|
56533
56538
|
json_string: "JSON \u0631\u0634\u062A\u0647",
|
|
56534
56539
|
e164: "E.164 \u0639\u062F\u062F",
|
|
56535
56540
|
credit_card: "\u0634\u0645\u0627\u0631\u0647 \u06A9\u0627\u0631\u062A \u0627\u0639\u062A\u0628\u0627\u0631\u06CC",
|
|
56541
|
+
currency_code: "\u06A9\u062F \u0627\u0631\u0632",
|
|
56536
56542
|
iban: "IBAN",
|
|
56537
56543
|
jwt: "JWT",
|
|
56538
56544
|
template_literal: "\u0648\u0631\u0648\u062F\u06CC"
|
|
@@ -56656,6 +56662,7 @@ var error16 = () => {
|
|
|
56656
56662
|
json_string: "JSON-merkkijono",
|
|
56657
56663
|
e164: "E.164-luku",
|
|
56658
56664
|
credit_card: "luottokortin numero",
|
|
56665
|
+
currency_code: "valuuttakoodi",
|
|
56659
56666
|
iban: "IBAN",
|
|
56660
56667
|
jwt: "JWT",
|
|
56661
56668
|
template_literal: "templaattimerkkijono"
|
|
@@ -56768,6 +56775,7 @@ var error17 = () => {
|
|
|
56768
56775
|
json_string: "cha\xEEne de caract\xE8res JSON",
|
|
56769
56776
|
e164: "num\xE9ro au format E.164",
|
|
56770
56777
|
credit_card: "num\xE9ro de carte de cr\xE9dit",
|
|
56778
|
+
currency_code: "code de devise",
|
|
56771
56779
|
iban: "IBAN",
|
|
56772
56780
|
jwt: "JWT",
|
|
56773
56781
|
template_literal: "entr\xE9e"
|
|
@@ -56898,6 +56906,7 @@ var error18 = () => {
|
|
|
56898
56906
|
json_string: "cha\xEEne JSON",
|
|
56899
56907
|
e164: "num\xE9ro E.164",
|
|
56900
56908
|
credit_card: "num\xE9ro de carte de cr\xE9dit",
|
|
56909
|
+
currency_code: "code de devise",
|
|
56901
56910
|
iban: "IBAN",
|
|
56902
56911
|
jwt: "JWT",
|
|
56903
56912
|
template_literal: "entr\xE9e"
|
|
@@ -57010,6 +57019,7 @@ var error19 = () => {
|
|
|
57010
57019
|
json_string: "JSON \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",
|
|
57011
57020
|
e164: "E.164 \u0AA8\u0A82\u0AAC\u0AB0",
|
|
57012
57021
|
credit_card: "\u0A95\u0ACD\u0AB0\u0AC7\u0AA1\u0ABF\u0A9F \u0A95\u0ABE\u0AB0\u0ACD\u0AA1 \u0AA8\u0A82\u0AAC\u0AB0",
|
|
57022
|
+
currency_code: "\u0A9A\u0AB2\u0AA3 \u0A95\u0ACB\u0AA1",
|
|
57013
57023
|
iban: "IBAN",
|
|
57014
57024
|
jwt: "JWT",
|
|
57015
57025
|
template_literal: "\u0A87\u0AA8\u0AAA\u0AC1\u0A9F"
|
|
@@ -57159,6 +57169,7 @@ var error20 = () => {
|
|
|
57159
57169
|
json_string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON", gender: "f" },
|
|
57160
57170
|
e164: { label: "\u05DE\u05E1\u05E4\u05E8 E.164", gender: "m" },
|
|
57161
57171
|
credit_card: { label: "\u05DE\u05E1\u05E4\u05E8 \u05DB\u05E8\u05D8\u05D9\u05E1 \u05D0\u05E9\u05E8\u05D0\u05D9", gender: "m" },
|
|
57172
|
+
currency_code: { label: "\u05E7\u05D5\u05D3 \u05DE\u05D8\u05D1\u05E2", gender: "m" },
|
|
57162
57173
|
iban: { label: "IBAN", gender: "m" },
|
|
57163
57174
|
jwt: { label: "JWT", gender: "m" },
|
|
57164
57175
|
template_literal: { label: "\u05E7\u05DC\u05D8", gender: "m" },
|
|
@@ -57324,6 +57335,7 @@ var error21 = () => {
|
|
|
57324
57335
|
json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",
|
|
57325
57336
|
e164: "E.164 \u0938\u0902\u0916\u094D\u092F\u093E",
|
|
57326
57337
|
credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0938\u0902\u0916\u094D\u092F\u093E",
|
|
57338
|
+
currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
|
|
57327
57339
|
iban: "IBAN",
|
|
57328
57340
|
jwt: "JWT",
|
|
57329
57341
|
template_literal: "\u0907\u0928\u092A\u0941\u091F"
|
|
@@ -57434,6 +57446,7 @@ var error22 = () => {
|
|
|
57434
57446
|
json_string: "JSON tekst",
|
|
57435
57447
|
e164: "E.164 broj",
|
|
57436
57448
|
credit_card: "broj kreditne kartice",
|
|
57449
|
+
currency_code: "kod valute",
|
|
57437
57450
|
iban: "IBAN",
|
|
57438
57451
|
jwt: "JWT",
|
|
57439
57452
|
template_literal: "unos"
|
|
@@ -57561,6 +57574,7 @@ var error23 = () => {
|
|
|
57561
57574
|
json_string: "JSON string",
|
|
57562
57575
|
e164: "E.164 sz\xE1m",
|
|
57563
57576
|
credit_card: "hitelk\xE1rtyasz\xE1m",
|
|
57577
|
+
currency_code: "p\xE9nznemk\xF3d",
|
|
57564
57578
|
iban: "IBAN",
|
|
57565
57579
|
jwt: "JWT",
|
|
57566
57580
|
template_literal: "bemenet"
|
|
@@ -57714,6 +57728,7 @@ var error24 = () => {
|
|
|
57714
57728
|
json_string: "JSON \u057F\u0578\u0572",
|
|
57715
57729
|
e164: "E.164 \u0570\u0561\u0574\u0561\u0580",
|
|
57716
57730
|
credit_card: "\u056F\u0580\u0565\u0564\u056B\u057F \u0584\u0561\u0580\u057F\u056B \u0570\u0561\u0574\u0561\u0580",
|
|
57731
|
+
currency_code: "\u0561\u0580\u056A\u0578\u0582\u0575\u0569\u056B \u056F\u0578\u0564",
|
|
57717
57732
|
iban: "IBAN",
|
|
57718
57733
|
jwt: "JWT",
|
|
57719
57734
|
template_literal: "\u0574\u0578\u0582\u057F\u0584"
|
|
@@ -57832,6 +57847,7 @@ var error25 = () => {
|
|
|
57832
57847
|
json_string: "string JSON",
|
|
57833
57848
|
e164: "angka E.164",
|
|
57834
57849
|
credit_card: "nomor kartu kredit",
|
|
57850
|
+
currency_code: "kode mata uang",
|
|
57835
57851
|
iban: "IBAN",
|
|
57836
57852
|
jwt: "JWT",
|
|
57837
57853
|
template_literal: "input"
|
|
@@ -57943,6 +57959,7 @@ var error26 = () => {
|
|
|
57943
57959
|
json_string: "JSON strengur",
|
|
57944
57960
|
e164: "E.164 t\xF6lugildi",
|
|
57945
57961
|
credit_card: "kreditkortan\xFAmer",
|
|
57962
|
+
currency_code: "gjaldmi\xF0ilsk\xF3\xF0i",
|
|
57946
57963
|
iban: "IBAN",
|
|
57947
57964
|
jwt: "JWT",
|
|
57948
57965
|
template_literal: "gildi"
|
|
@@ -58057,6 +58074,7 @@ var error27 = () => {
|
|
|
58057
58074
|
json_string: "stringa JSON",
|
|
58058
58075
|
e164: "numero E.164",
|
|
58059
58076
|
credit_card: "numero di carta di credito",
|
|
58077
|
+
currency_code: "codice valuta",
|
|
58060
58078
|
iban: "IBAN",
|
|
58061
58079
|
jwt: "JWT",
|
|
58062
58080
|
template_literal: "input"
|
|
@@ -58170,6 +58188,7 @@ var error28 = () => {
|
|
|
58170
58188
|
json_string: "JSON\u6587\u5B57\u5217",
|
|
58171
58189
|
e164: "E.164\u756A\u53F7",
|
|
58172
58190
|
credit_card: "\u30AF\u30EC\u30B8\u30C3\u30C8\u30AB\u30FC\u30C9\u756A\u53F7",
|
|
58191
|
+
currency_code: "\u901A\u8CA8\u30B3\u30FC\u30C9",
|
|
58173
58192
|
iban: "IBAN",
|
|
58174
58193
|
jwt: "JWT",
|
|
58175
58194
|
template_literal: "\u5165\u529B\u5024"
|
|
@@ -58282,6 +58301,7 @@ var error29 = () => {
|
|
|
58282
58301
|
json_string: "JSON \u10D5\u10D4\u10DA\u10D8",
|
|
58283
58302
|
e164: "E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
|
|
58284
58303
|
credit_card: "\u10E1\u10D0\u10D9\u10E0\u10D4\u10D3\u10D8\u10E2\u10DD \u10D1\u10D0\u10E0\u10D0\u10D7\u10D8\u10E1 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
|
|
58304
|
+
currency_code: "\u10D5\u10D0\u10DA\u10E3\u10E2\u10D8\u10E1 \u10D9\u10DD\u10D3\u10D8",
|
|
58285
58305
|
iban: "IBAN",
|
|
58286
58306
|
jwt: "JWT",
|
|
58287
58307
|
template_literal: "\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"
|
|
@@ -58399,6 +58419,7 @@ var error30 = () => {
|
|
|
58399
58419
|
json_string: "\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",
|
|
58400
58420
|
e164: "\u179B\u17C1\u1781 E.164",
|
|
58401
58421
|
credit_card: "\u179B\u17C1\u1781\u1794\u17D0\u178E\u17D2\u178E\u17A5\u178E\u1791\u17B6\u1793",
|
|
58422
|
+
currency_code: "\u1780\u17BC\u178A\u179A\u17BC\u1794\u17B7\u1799\u1794\u17D0\u178E\u17D2\u178E",
|
|
58402
58423
|
iban: "IBAN",
|
|
58403
58424
|
jwt: "JWT",
|
|
58404
58425
|
template_literal: "\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"
|
|
@@ -58519,6 +58540,7 @@ var error31 = () => {
|
|
|
58519
58540
|
json_string: "JSON\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",
|
|
58520
58541
|
e164: "E.164 \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
|
|
58521
58542
|
credit_card: "\u0C95\u0CCD\u0CB0\u0CC6\u0CA1\u0CBF\u0C9F\u0CCD \u0C95\u0CBE\u0CB0\u0CCD\u0CA1\u0CCD \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
|
|
58543
|
+
currency_code: "\u0C95\u0CB0\u0CC6\u0CA8\u0CCD\u0CB8\u0CBF \u0C95\u0CCB\u0CA1\u0CCD",
|
|
58522
58544
|
iban: "IBAN",
|
|
58523
58545
|
jwt: "JWT",
|
|
58524
58546
|
template_literal: "\u0C87\u0CA8\u0CCD\u0CAA\u0CC1\u0C9F\u0CCD"
|
|
@@ -58634,6 +58656,7 @@ var error32 = () => {
|
|
|
58634
58656
|
json_string: "JSON \uBB38\uC790\uC5F4",
|
|
58635
58657
|
e164: "E.164 \uBC88\uD638",
|
|
58636
58658
|
credit_card: "\uC2E0\uC6A9\uCE74\uB4DC \uBC88\uD638",
|
|
58659
|
+
currency_code: "\uD1B5\uD654 \uCF54\uB4DC",
|
|
58637
58660
|
iban: "IBAN",
|
|
58638
58661
|
jwt: "JWT",
|
|
58639
58662
|
template_literal: "\uC785\uB825"
|
|
@@ -58832,6 +58855,7 @@ var error33 = () => {
|
|
|
58832
58855
|
json_string: "JSON eilut\u0117",
|
|
58833
58856
|
e164: "E.164 numeris",
|
|
58834
58857
|
credit_card: "kredito kortel\u0117s numeris",
|
|
58858
|
+
currency_code: "valiutos kodas",
|
|
58835
58859
|
iban: "IBAN",
|
|
58836
58860
|
jwt: "JWT",
|
|
58837
58861
|
template_literal: "\u012Fvestis"
|
|
@@ -58957,6 +58981,7 @@ var error34 = () => {
|
|
|
58957
58981
|
json_string: "JSON \u043D\u0438\u0437\u0430",
|
|
58958
58982
|
e164: "E.164 \u0431\u0440\u043E\u0458",
|
|
58959
58983
|
credit_card: "\u0431\u0440\u043E\u0458 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u0447\u043A\u0430",
|
|
58984
|
+
currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
|
|
58960
58985
|
iban: "IBAN",
|
|
58961
58986
|
jwt: "JWT",
|
|
58962
58987
|
template_literal: "\u0432\u043D\u0435\u0441"
|
|
@@ -59071,6 +59096,7 @@ var error35 = () => {
|
|
|
59071
59096
|
json_string: "string JSON",
|
|
59072
59097
|
e164: "nombor E.164",
|
|
59073
59098
|
credit_card: "nombor kad kredit",
|
|
59099
|
+
currency_code: "kod mata wang",
|
|
59074
59100
|
iban: "IBAN",
|
|
59075
59101
|
jwt: "JWT",
|
|
59076
59102
|
template_literal: "input"
|
|
@@ -59183,6 +59209,7 @@ var error36 = () => {
|
|
|
59183
59209
|
json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0919",
|
|
59184
59210
|
e164: "E.164 \u0928\u092E\u094D\u092C\u0930",
|
|
59185
59211
|
credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0928\u092E\u094D\u092C\u0930",
|
|
59212
|
+
currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
|
|
59186
59213
|
iban: "IBAN",
|
|
59187
59214
|
jwt: "JWT",
|
|
59188
59215
|
template_literal: "\u0907\u0928\u092A\u0941\u091F"
|
|
@@ -59294,6 +59321,7 @@ var error37 = () => {
|
|
|
59294
59321
|
json_string: "JSON string",
|
|
59295
59322
|
e164: "E.164-nummer",
|
|
59296
59323
|
credit_card: "creditcardnummer",
|
|
59324
|
+
currency_code: "valutacode",
|
|
59297
59325
|
iban: "IBAN",
|
|
59298
59326
|
jwt: "JWT",
|
|
59299
59327
|
template_literal: "invoer"
|
|
@@ -59409,6 +59437,7 @@ var error38 = () => {
|
|
|
59409
59437
|
json_string: "JSON-streng",
|
|
59410
59438
|
e164: "E.164-nummer",
|
|
59411
59439
|
credit_card: "kredittkortnummer",
|
|
59440
|
+
currency_code: "valutakode",
|
|
59412
59441
|
iban: "IBAN",
|
|
59413
59442
|
jwt: "JWT",
|
|
59414
59443
|
template_literal: "input"
|
|
@@ -59522,6 +59551,7 @@ var error39 = () => {
|
|
|
59522
59551
|
json_string: "JSON-streng",
|
|
59523
59552
|
e164: "E.164-nummer",
|
|
59524
59553
|
credit_card: "kredittkortnummer",
|
|
59554
|
+
currency_code: "valutakode",
|
|
59525
59555
|
iban: "IBAN",
|
|
59526
59556
|
jwt: "JWT",
|
|
59527
59557
|
template_literal: "input"
|
|
@@ -59635,6 +59665,7 @@ var error40 = () => {
|
|
|
59635
59665
|
json_string: "JSON metin",
|
|
59636
59666
|
e164: "E.164 say\u0131s\u0131",
|
|
59637
59667
|
credit_card: "i'tib\xE2r kart\u0131 numaras\u0131",
|
|
59668
|
+
currency_code: "para birimi kodu",
|
|
59638
59669
|
iban: "IBAN",
|
|
59639
59670
|
jwt: "JWT",
|
|
59640
59671
|
template_literal: "giren"
|
|
@@ -59749,6 +59780,7 @@ var error41 = () => {
|
|
|
59749
59780
|
json_string: "JSON \u0645\u062A\u0646",
|
|
59750
59781
|
e164: "\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",
|
|
59751
59782
|
credit_card: "\u062F \u06A9\u0631\u06CC\u0689\u06CC\u067C \u06A9\u0627\u0631\u062A \u0634\u0645\u06CC\u0631\u0647",
|
|
59783
|
+
currency_code: "\u062F \u0627\u0633\u0639\u0627\u0631\u0648 \u06A9\u0648\u0689",
|
|
59752
59784
|
iban: "IBAN",
|
|
59753
59785
|
jwt: "JWT",
|
|
59754
59786
|
template_literal: "\u0648\u0631\u0648\u062F\u064A"
|
|
@@ -59868,6 +59900,7 @@ var error42 = () => {
|
|
|
59868
59900
|
json_string: "ci\u0105g znak\xF3w w formacie JSON",
|
|
59869
59901
|
e164: "liczba E.164",
|
|
59870
59902
|
credit_card: "numer karty kredytowej",
|
|
59903
|
+
currency_code: "kod waluty",
|
|
59871
59904
|
iban: "IBAN",
|
|
59872
59905
|
jwt: "JWT",
|
|
59873
59906
|
template_literal: "wej\u015Bcie"
|
|
@@ -59982,6 +60015,7 @@ var error43 = () => {
|
|
|
59982
60015
|
json_string: "o texto JSON",
|
|
59983
60016
|
e164: "o n\xFAmero E.164",
|
|
59984
60017
|
credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
|
|
60018
|
+
currency_code: "o c\xF3digo de moeda",
|
|
59985
60019
|
iban: "o IBAN",
|
|
59986
60020
|
jwt: "o JWT",
|
|
59987
60021
|
template_literal: "a entrada"
|
|
@@ -60125,6 +60159,7 @@ var error44 = () => {
|
|
|
60125
60159
|
json_string: "o texto JSON",
|
|
60126
60160
|
e164: "o n\xFAmero E.164",
|
|
60127
60161
|
credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
|
|
60162
|
+
currency_code: "o c\xF3digo de moeda",
|
|
60128
60163
|
iban: "o IBAN",
|
|
60129
60164
|
jwt: "o JWT",
|
|
60130
60165
|
template_literal: "a entrada"
|
|
@@ -60269,6 +60304,7 @@ var error45 = () => {
|
|
|
60269
60304
|
json_string: "\u0219ir JSON",
|
|
60270
60305
|
e164: "num\u0103r E.164",
|
|
60271
60306
|
credit_card: "num\u0103r de card de credit",
|
|
60307
|
+
currency_code: "cod valutar",
|
|
60272
60308
|
iban: "IBAN",
|
|
60273
60309
|
jwt: "JWT",
|
|
60274
60310
|
template_literal: "intrare"
|
|
@@ -60441,6 +60477,7 @@ var error46 = () => {
|
|
|
60441
60477
|
json_string: "JSON \u0441\u0442\u0440\u043E\u043A\u0430",
|
|
60442
60478
|
e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
|
|
60443
60479
|
credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0439 \u043A\u0430\u0440\u0442\u044B",
|
|
60480
|
+
currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
|
|
60444
60481
|
iban: "IBAN",
|
|
60445
60482
|
jwt: "JWT",
|
|
60446
60483
|
template_literal: "\u0432\u0432\u043E\u0434"
|
|
@@ -60559,6 +60596,7 @@ var error47 = () => {
|
|
|
60559
60596
|
json_string: "re\u0165azec vo form\xE1te JSON",
|
|
60560
60597
|
e164: "\u010D\xEDslo E.164",
|
|
60561
60598
|
credit_card: "\u010D\xEDslo kreditnej karty",
|
|
60599
|
+
currency_code: "k\xF3d meny",
|
|
60562
60600
|
iban: "IBAN",
|
|
60563
60601
|
jwt: "JWT",
|
|
60564
60602
|
template_literal: "vstup"
|
|
@@ -60675,6 +60713,7 @@ var error48 = () => {
|
|
|
60675
60713
|
json_string: "JSON niz",
|
|
60676
60714
|
e164: "E.164 \u0161tevilka",
|
|
60677
60715
|
credit_card: "\u0161tevilka kreditne kartice",
|
|
60716
|
+
currency_code: "koda valute",
|
|
60678
60717
|
iban: "IBAN",
|
|
60679
60718
|
jwt: "JWT",
|
|
60680
60719
|
template_literal: "vnos"
|
|
@@ -60789,6 +60828,7 @@ var error49 = () => {
|
|
|
60789
60828
|
json_string: "JSON-str\xE4ng",
|
|
60790
60829
|
e164: "E.164-nummer",
|
|
60791
60830
|
credit_card: "kreditkortsnummer",
|
|
60831
|
+
currency_code: "valutakod",
|
|
60792
60832
|
iban: "IBAN",
|
|
60793
60833
|
jwt: "JWT",
|
|
60794
60834
|
template_literal: "mall-literal"
|
|
@@ -60904,6 +60944,7 @@ var error50 = () => {
|
|
|
60904
60944
|
json_string: "JSON \u0B9A\u0BB0\u0BAE\u0BCD",
|
|
60905
60945
|
e164: "E.164 \u0B8E\u0BA3\u0BCD",
|
|
60906
60946
|
credit_card: "\u0B95\u0B9F\u0BA9\u0BCD \u0B85\u0B9F\u0BCD\u0B9F\u0BC8 \u0B8E\u0BA3\u0BCD",
|
|
60947
|
+
currency_code: "\u0BA8\u0BBE\u0BA3\u0BAF\u0B95\u0BCD \u0B95\u0BC1\u0BB1\u0BBF\u0BAF\u0BC0\u0B9F\u0BC1",
|
|
60907
60948
|
iban: "IBAN",
|
|
60908
60949
|
jwt: "JWT",
|
|
60909
60950
|
template_literal: "input"
|
|
@@ -61019,6 +61060,7 @@ var error51 = () => {
|
|
|
61019
61060
|
json_string: "\u0441\u0430\u0442\u0440\u0438 JSON",
|
|
61020
61061
|
e164: "\u0440\u0430\u049B\u0430\u043C\u0438 E.164",
|
|
61021
61062
|
credit_card: "\u0440\u0430\u049B\u0430\u043C\u0438 \u043A\u043E\u0440\u0442\u0438 \u043A\u0440\u0435\u0434\u0438\u0442\u04E3",
|
|
61063
|
+
currency_code: "\u0440\u0430\u043C\u0437\u0438 \u0430\u0441\u044A\u043E\u0440",
|
|
61022
61064
|
iban: "IBAN",
|
|
61023
61065
|
jwt: "JWT",
|
|
61024
61066
|
template_literal: "\u0432\u0443\u0440\u0443\u0434"
|
|
@@ -61135,6 +61177,7 @@ var error52 = () => {
|
|
|
61135
61177
|
json_string: "\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",
|
|
61136
61178
|
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)",
|
|
61137
61179
|
credit_card: "\u0E2B\u0E21\u0E32\u0E22\u0E40\u0E25\u0E02\u0E1A\u0E31\u0E15\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15",
|
|
61180
|
+
currency_code: "\u0E23\u0E2B\u0E31\u0E2A\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19",
|
|
61138
61181
|
iban: "IBAN",
|
|
61139
61182
|
jwt: "\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",
|
|
61140
61183
|
template_literal: "\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"
|
|
@@ -61250,6 +61293,7 @@ var error53 = () => {
|
|
|
61250
61293
|
json_string: "JSON setiri",
|
|
61251
61294
|
e164: "E.164 nomeri",
|
|
61252
61295
|
credit_card: "kredit kartyny\u0148 nomeri",
|
|
61296
|
+
currency_code: "wal\xFDuta kody",
|
|
61253
61297
|
iban: "IBAN",
|
|
61254
61298
|
jwt: "JWT",
|
|
61255
61299
|
template_literal: "\u015Fablon"
|
|
@@ -61357,6 +61401,7 @@ var error54 = () => {
|
|
|
61357
61401
|
json_string: "JSON dizesi",
|
|
61358
61402
|
e164: "E.164 say\u0131s\u0131",
|
|
61359
61403
|
credit_card: "kredi kart\u0131 numaras\u0131",
|
|
61404
|
+
currency_code: "para birimi kodu",
|
|
61360
61405
|
iban: "IBAN",
|
|
61361
61406
|
jwt: "JWT",
|
|
61362
61407
|
template_literal: "\u015Eablon dizesi"
|
|
@@ -61467,6 +61512,7 @@ var error55 = () => {
|
|
|
61467
61512
|
json_string: "\u0440\u044F\u0434\u043E\u043A JSON",
|
|
61468
61513
|
e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
|
|
61469
61514
|
credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0457 \u043A\u0430\u0440\u0442\u043A\u0438",
|
|
61515
|
+
currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u0438",
|
|
61470
61516
|
iban: "IBAN",
|
|
61471
61517
|
jwt: "JWT",
|
|
61472
61518
|
template_literal: "\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"
|
|
@@ -61585,6 +61631,7 @@ var error56 = () => {
|
|
|
61585
61631
|
json_string: "\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",
|
|
61586
61632
|
e164: "\u0627\u06CC 164 \u0646\u0645\u0628\u0631",
|
|
61587
61633
|
credit_card: "\u06A9\u0631\u06CC\u0688\u0679 \u06A9\u0627\u0631\u0688 \u0646\u0645\u0628\u0631",
|
|
61634
|
+
currency_code: "\u06A9\u0631\u0646\u0633\u06CC \u06A9\u0648\u0688",
|
|
61588
61635
|
iban: "IBAN",
|
|
61589
61636
|
jwt: "\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",
|
|
61590
61637
|
template_literal: "\u0627\u0646 \u067E\u0679"
|
|
@@ -61700,6 +61747,7 @@ var error57 = () => {
|
|
|
61700
61747
|
json_string: "JSON satr",
|
|
61701
61748
|
e164: "E.164 raqam",
|
|
61702
61749
|
credit_card: "kredit karta raqami",
|
|
61750
|
+
currency_code: "valyuta kodi",
|
|
61703
61751
|
iban: "IBAN",
|
|
61704
61752
|
jwt: "JWT",
|
|
61705
61753
|
template_literal: "kirish"
|
|
@@ -61813,6 +61861,7 @@ var error58 = () => {
|
|
|
61813
61861
|
json_string: "chu\u1ED7i JSON",
|
|
61814
61862
|
e164: "s\u1ED1 E.164",
|
|
61815
61863
|
credit_card: "s\u1ED1 th\u1EBB t\xEDn d\u1EE5ng",
|
|
61864
|
+
currency_code: "m\xE3 ti\u1EC1n t\u1EC7",
|
|
61816
61865
|
iban: "IBAN",
|
|
61817
61866
|
jwt: "JWT",
|
|
61818
61867
|
template_literal: "\u0111\u1EA7u v\xE0o"
|
|
@@ -61926,6 +61975,7 @@ var error59 = () => {
|
|
|
61926
61975
|
json_string: "JSON\u5B57\u7B26\u4E32",
|
|
61927
61976
|
e164: "E.164\u53F7\u7801",
|
|
61928
61977
|
credit_card: "\u4FE1\u7528\u5361\u53F7",
|
|
61978
|
+
currency_code: "\u8D27\u5E01\u4EE3\u7801",
|
|
61929
61979
|
iban: "IBAN",
|
|
61930
61980
|
jwt: "JWT",
|
|
61931
61981
|
template_literal: "\u8F93\u5165"
|
|
@@ -62040,6 +62090,7 @@ var error60 = () => {
|
|
|
62040
62090
|
json_string: "JSON \u5B57\u4E32",
|
|
62041
62091
|
e164: "E.164 \u6578\u503C",
|
|
62042
62092
|
credit_card: "\u4FE1\u7528\u5361\u865F",
|
|
62093
|
+
currency_code: "\u8CA8\u5E63\u4EE3\u78BC",
|
|
62043
62094
|
iban: "IBAN",
|
|
62044
62095
|
jwt: "JWT",
|
|
62045
62096
|
template_literal: "\u8F38\u5165"
|
|
@@ -62152,6 +62203,7 @@ var error61 = () => {
|
|
|
62152
62203
|
json_string: "\u1ECD\u0300r\u1ECD\u0300 JSON",
|
|
62153
62204
|
e164: "n\u1ECD\u0301mb\xE0 E.164",
|
|
62154
62205
|
credit_card: "n\u1ECDmba kaadi gbese",
|
|
62206
|
+
currency_code: "koodu ow\xF3",
|
|
62155
62207
|
iban: "IBAN",
|
|
62156
62208
|
jwt: "JWT",
|
|
62157
62209
|
template_literal: "\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"
|
|
@@ -62530,7 +62582,7 @@ function generateChecks(doc, ctx, schema, accessor) {
|
|
|
62530
62582
|
generatePropertyCheck(doc, ctx, def, currentAccessor);
|
|
62531
62583
|
break;
|
|
62532
62584
|
case "properties":
|
|
62533
|
-
generatePropertiesChecks(doc, ctx, def, currentAccessor
|
|
62585
|
+
generatePropertiesChecks(doc, ctx, def, currentAccessor);
|
|
62534
62586
|
break;
|
|
62535
62587
|
case "overwrite": {
|
|
62536
62588
|
const newAccessor = newVar(ctx);
|
|
@@ -62640,11 +62692,11 @@ function generateMimeTypeCheck(doc, ctx, def, accessor) {
|
|
|
62640
62692
|
doc.write(`if (!${mimeSet}.has(${accessor}.type)) return INVALID;`);
|
|
62641
62693
|
}
|
|
62642
62694
|
}
|
|
62643
|
-
function generatePropertiesChecks(doc, ctx, def, accessor
|
|
62695
|
+
function generatePropertiesChecks(doc, ctx, def, accessor) {
|
|
62644
62696
|
if (def.when) {
|
|
62645
62697
|
throw new ZodCompileUnsupportedError(`check with a custom "when" condition`);
|
|
62646
62698
|
}
|
|
62647
|
-
doc.write(
|
|
62699
|
+
doc.write(`if (${accessor} == null) return INVALID;`);
|
|
62648
62700
|
const shape = def.shape;
|
|
62649
62701
|
for (const key of Reflect.ownKeys(shape)) {
|
|
62650
62702
|
const keyExpr = typeof key === "symbol" ? addConstant(ctx, key) : esc(key);
|
|
@@ -62734,7 +62786,7 @@ var PATTERN_IS_COMPLETE = /* @__PURE__ */ new Set([
|
|
|
62734
62786
|
"uuid",
|
|
62735
62787
|
"xid"
|
|
62736
62788
|
]);
|
|
62737
|
-
function generateStringFormatCheck(doc, ctx, def, accessor) {
|
|
62789
|
+
function generateStringFormatCheck(doc, ctx, def, accessor, needsValue = true) {
|
|
62738
62790
|
const fmt = def.format;
|
|
62739
62791
|
if (fmt === "base64") {
|
|
62740
62792
|
const validator = addConstant(ctx, isValidBase64);
|
|
@@ -62774,7 +62826,7 @@ function generateStringFormatCheck(doc, ctx, def, accessor) {
|
|
|
62774
62826
|
}
|
|
62775
62827
|
const formatDef = def;
|
|
62776
62828
|
if (fmt === "url" || fmt === "httpurl" || formatDef.normalize || formatDef.hostname !== void 0 || formatDef.protocol !== void 0) {
|
|
62777
|
-
const parseConst = addConstant(ctx,
|
|
62829
|
+
const parseConst = addConstant(ctx, validateURL);
|
|
62778
62830
|
const defConst = addConstant(ctx, def);
|
|
62779
62831
|
const trimVar = newVar(ctx);
|
|
62780
62832
|
const urlVar = newVar(ctx);
|
|
@@ -62789,6 +62841,8 @@ function generateStringFormatCheck(doc, ctx, def, accessor) {
|
|
|
62789
62841
|
const protocolConst = addConstant(ctx, urlProtocolOk);
|
|
62790
62842
|
doc.write(`if (!${protocolConst}(${urlVar}, ${defConst}.protocol)) return INVALID;`);
|
|
62791
62843
|
}
|
|
62844
|
+
if (!needsValue)
|
|
62845
|
+
return null;
|
|
62792
62846
|
const outputVar = newVar(ctx);
|
|
62793
62847
|
const outputExpr = formatDef.normalize ? `${urlVar}.href` : `${addConstant(ctx, stripTabAndNewline)}(${trimVar})`;
|
|
62794
62848
|
doc.write(`const ${outputVar} = ${outputExpr};`);
|
|
@@ -62848,7 +62902,7 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
|
|
|
62848
62902
|
let typeAccessor;
|
|
62849
62903
|
switch (type) {
|
|
62850
62904
|
case "string":
|
|
62851
|
-
typeAccessor = generateStringCheck(doc, ctx, schema, accessor);
|
|
62905
|
+
typeAccessor = generateStringCheck(doc, ctx, schema, accessor, buildsValue);
|
|
62852
62906
|
break;
|
|
62853
62907
|
case "number":
|
|
62854
62908
|
typeAccessor = generateNumberCheck(doc, schema, accessor);
|
|
@@ -62954,10 +63008,6 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
|
|
|
62954
63008
|
case "custom":
|
|
62955
63009
|
typeAccessor = generateCustomCheck(doc, ctx, schema, accessor);
|
|
62956
63010
|
break;
|
|
62957
|
-
case "properties":
|
|
62958
|
-
generatePropertiesChecks(doc, ctx, schema._zod.def, accessor, true);
|
|
62959
|
-
typeAccessor = accessor;
|
|
62960
|
-
break;
|
|
62961
63011
|
case "transform":
|
|
62962
63012
|
typeAccessor = generateTransformCheck(doc, ctx, schema, accessor);
|
|
62963
63013
|
break;
|
|
@@ -62973,12 +63023,12 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
|
|
|
62973
63023
|
return null;
|
|
62974
63024
|
return generateChecks(doc, ctx, schema, typeAccessor);
|
|
62975
63025
|
}
|
|
62976
|
-
function generateStringCheck(doc, ctx, schema, accessor) {
|
|
63026
|
+
function generateStringCheck(doc, ctx, schema, accessor, needsValue = true) {
|
|
62977
63027
|
doc.write(`if (typeof ${accessor} !== "string") return INVALID;`);
|
|
62978
63028
|
const def = schema._zod.def;
|
|
62979
63029
|
if (def.format === void 0)
|
|
62980
63030
|
return accessor;
|
|
62981
|
-
return generateStringFormatCheck(doc, ctx, def, accessor);
|
|
63031
|
+
return generateStringFormatCheck(doc, ctx, def, accessor, needsValue);
|
|
62982
63032
|
}
|
|
62983
63033
|
function generateNumberCheck(doc, schema, accessor) {
|
|
62984
63034
|
doc.write(`if (typeof ${accessor} !== "number" || !Number.isFinite(${accessor})) return INVALID;`);
|
|
@@ -63878,20 +63928,18 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
|
|
|
63878
63928
|
}
|
|
63879
63929
|
|
|
63880
63930
|
// node_modules/zod/v4/core/api.js
|
|
63931
|
+
function snapshotChecks(def) {
|
|
63932
|
+
if (def.checks)
|
|
63933
|
+
def.checks = [...def.checks];
|
|
63934
|
+
return def;
|
|
63935
|
+
}
|
|
63881
63936
|
// @__NO_SIDE_EFFECTS__
|
|
63882
63937
|
function _string(Class2, params) {
|
|
63883
|
-
return new Class2({
|
|
63884
|
-
type: "string",
|
|
63885
|
-
...normalizeParams(params)
|
|
63886
|
-
});
|
|
63938
|
+
return new Class2(snapshotChecks({ type: "string", ...normalizeParams(params) }));
|
|
63887
63939
|
}
|
|
63888
63940
|
// @__NO_SIDE_EFFECTS__
|
|
63889
63941
|
function _coercedString(Class2, params) {
|
|
63890
|
-
return new Class2({
|
|
63891
|
-
type: "string",
|
|
63892
|
-
coerce: true,
|
|
63893
|
-
...normalizeParams(params)
|
|
63894
|
-
});
|
|
63942
|
+
return new Class2(snapshotChecks({ type: "string", coerce: true, ...normalizeParams(params) }));
|
|
63895
63943
|
}
|
|
63896
63944
|
// @__NO_SIDE_EFFECTS__
|
|
63897
63945
|
function _email(Class2, params) {
|
|
@@ -64195,20 +64243,11 @@ function _isoDuration(Class2, params) {
|
|
|
64195
64243
|
}
|
|
64196
64244
|
// @__NO_SIDE_EFFECTS__
|
|
64197
64245
|
function _number(Class2, params) {
|
|
64198
|
-
return new Class2({
|
|
64199
|
-
type: "number",
|
|
64200
|
-
checks: [],
|
|
64201
|
-
...normalizeParams(params)
|
|
64202
|
-
});
|
|
64246
|
+
return new Class2(snapshotChecks({ type: "number", checks: [], ...normalizeParams(params) }));
|
|
64203
64247
|
}
|
|
64204
64248
|
// @__NO_SIDE_EFFECTS__
|
|
64205
64249
|
function _coercedNumber(Class2, params) {
|
|
64206
|
-
return new Class2({
|
|
64207
|
-
type: "number",
|
|
64208
|
-
coerce: true,
|
|
64209
|
-
checks: [],
|
|
64210
|
-
...normalizeParams(params)
|
|
64211
|
-
});
|
|
64250
|
+
return new Class2(snapshotChecks({ type: "number", coerce: true, checks: [], ...normalizeParams(params) }));
|
|
64212
64251
|
}
|
|
64213
64252
|
// @__NO_SIDE_EFFECTS__
|
|
64214
64253
|
function _int(Class2, params) {
|
|
@@ -64550,9 +64589,8 @@ function _property(property, schema, params) {
|
|
|
64550
64589
|
});
|
|
64551
64590
|
}
|
|
64552
64591
|
// @__NO_SIDE_EFFECTS__
|
|
64553
|
-
function _properties(
|
|
64554
|
-
return new
|
|
64555
|
-
type: "properties",
|
|
64592
|
+
function _properties(shape, params) {
|
|
64593
|
+
return new $ZodCheckProperties({
|
|
64556
64594
|
check: "properties",
|
|
64557
64595
|
shape,
|
|
64558
64596
|
...normalizeParams(params)
|
|
@@ -65187,11 +65225,11 @@ function foldObjects(members2) {
|
|
|
65187
65225
|
}
|
|
65188
65226
|
objects.push(member2);
|
|
65189
65227
|
}
|
|
65190
|
-
const
|
|
65228
|
+
const properties = {};
|
|
65191
65229
|
const required2 = /* @__PURE__ */ new Set();
|
|
65192
65230
|
for (const object2 of objects) {
|
|
65193
65231
|
for (const key in object2.properties) {
|
|
65194
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
65232
|
+
if (Object.prototype.hasOwnProperty.call(properties, key))
|
|
65195
65233
|
continue;
|
|
65196
65234
|
const parts = [];
|
|
65197
65235
|
for (const other of objects) {
|
|
@@ -65202,12 +65240,12 @@ function foldObjects(members2) {
|
|
|
65202
65240
|
parts.push(part);
|
|
65203
65241
|
}
|
|
65204
65242
|
const merged = parts.length === 1 ? parts[0] : foldObjects(parts) ?? { allOf: parts };
|
|
65205
|
-
assignProp(
|
|
65243
|
+
assignProp(properties, key, merged);
|
|
65206
65244
|
}
|
|
65207
65245
|
for (const key of object2.required ?? [])
|
|
65208
65246
|
required2.add(key);
|
|
65209
65247
|
}
|
|
65210
|
-
const folded = { type: "object", properties
|
|
65248
|
+
const folded = { type: "object", properties };
|
|
65211
65249
|
if (required2.size)
|
|
65212
65250
|
folded.required = [...required2];
|
|
65213
65251
|
if (objects.every((object2) => object2.additionalProperties === false)) {
|
|
@@ -65829,17 +65867,15 @@ var objectProcessor = (schema, ctx, _json2, params) => {
|
|
|
65829
65867
|
path: [...params.path, "properties", key]
|
|
65830
65868
|
}));
|
|
65831
65869
|
}
|
|
65832
|
-
const
|
|
65833
|
-
const
|
|
65870
|
+
const requiredKeys = [];
|
|
65871
|
+
for (const key of Object.keys(shape)) {
|
|
65834
65872
|
const field = def.shape[key];
|
|
65835
|
-
if (ctx.io === "input") {
|
|
65836
|
-
|
|
65837
|
-
} else {
|
|
65838
|
-
return field._zod.optout === void 0;
|
|
65873
|
+
if (ctx.io === "input" ? inputOptin(field) === void 0 : field._zod.optout === void 0) {
|
|
65874
|
+
requiredKeys.push(key);
|
|
65839
65875
|
}
|
|
65840
|
-
}
|
|
65841
|
-
if (requiredKeys.
|
|
65842
|
-
json2.required =
|
|
65876
|
+
}
|
|
65877
|
+
if (requiredKeys.length > 0) {
|
|
65878
|
+
json2.required = requiredKeys;
|
|
65843
65879
|
}
|
|
65844
65880
|
if (def.catchall?._zod.def.type === "never") {
|
|
65845
65881
|
json2.additionalProperties = false;
|
|
@@ -65853,31 +65889,6 @@ var objectProcessor = (schema, ctx, _json2, params) => {
|
|
|
65853
65889
|
});
|
|
65854
65890
|
}
|
|
65855
65891
|
};
|
|
65856
|
-
var propertiesProcessor = (schema, ctx, _json2, params) => {
|
|
65857
|
-
const json2 = _json2;
|
|
65858
|
-
const def = schema._zod.def;
|
|
65859
|
-
if (Object.getOwnPropertySymbols(def.shape).length && handleUnrepresentable(schema, ctx, json2, params, "Symbol keys cannot be represented in JSON Schema")) {
|
|
65860
|
-
return;
|
|
65861
|
-
}
|
|
65862
|
-
if (ctx.io === "output") {
|
|
65863
|
-
for (const key in def.shape) {
|
|
65864
|
-
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`)) {
|
|
65865
|
-
return;
|
|
65866
|
-
}
|
|
65867
|
-
}
|
|
65868
|
-
}
|
|
65869
|
-
json2.type = "object";
|
|
65870
|
-
json2.properties = {};
|
|
65871
|
-
for (const key in def.shape) {
|
|
65872
|
-
assignProp(json2.properties, key, processSchema(def.shape[key], ctx, {
|
|
65873
|
-
...params,
|
|
65874
|
-
path: [...params.path, "properties", key]
|
|
65875
|
-
}));
|
|
65876
|
-
}
|
|
65877
|
-
const required2 = Object.keys(def.shape).filter((key) => inputOptin(def.shape[key]) === void 0);
|
|
65878
|
-
if (required2.length > 0)
|
|
65879
|
-
json2.required = required2;
|
|
65880
|
-
};
|
|
65881
65892
|
var unionProcessor = (schema, ctx, json2, params) => {
|
|
65882
65893
|
const def = schema._zod.def;
|
|
65883
65894
|
const isExclusive = def.inclusive === false;
|
|
@@ -66197,7 +66208,6 @@ var allProcessors = {
|
|
|
66197
66208
|
file: fileProcessor,
|
|
66198
66209
|
success: successProcessor,
|
|
66199
66210
|
custom: customProcessor,
|
|
66200
|
-
properties: propertiesProcessor,
|
|
66201
66211
|
function: functionProcessor,
|
|
66202
66212
|
transform: transformProcessor,
|
|
66203
66213
|
map: mapProcessor,
|
|
@@ -66394,7 +66404,6 @@ __export(schemas_exports2, {
|
|
|
66394
66404
|
ZodPrefault: () => ZodPrefault,
|
|
66395
66405
|
ZodPreprocess: () => ZodPreprocess,
|
|
66396
66406
|
ZodPromise: () => ZodPromise,
|
|
66397
|
-
ZodProperties: () => ZodProperties,
|
|
66398
66407
|
ZodReadonly: () => ZodReadonly,
|
|
66399
66408
|
ZodRecord: () => ZodRecord,
|
|
66400
66409
|
ZodSet: () => ZodSet,
|
|
@@ -66432,6 +66441,7 @@ __export(schemas_exports2, {
|
|
|
66432
66441
|
creditCard: () => creditCard2,
|
|
66433
66442
|
cuid: () => cuid3,
|
|
66434
66443
|
cuid2: () => cuid22,
|
|
66444
|
+
currencyCode: () => currencyCode2,
|
|
66435
66445
|
custom: () => custom,
|
|
66436
66446
|
date: () => date2,
|
|
66437
66447
|
describe: () => describe2,
|
|
@@ -66486,7 +66496,6 @@ __export(schemas_exports2, {
|
|
|
66486
66496
|
prefault: () => prefault,
|
|
66487
66497
|
preprocess: () => preprocess,
|
|
66488
66498
|
promise: () => promise,
|
|
66489
|
-
properties: () => properties,
|
|
66490
66499
|
readonly: () => readonly,
|
|
66491
66500
|
record: () => record,
|
|
66492
66501
|
refine: () => refine,
|
|
@@ -66540,6 +66549,7 @@ __export(checks_exports2, {
|
|
|
66540
66549
|
normalize: () => _normalize,
|
|
66541
66550
|
overwrite: () => _overwrite,
|
|
66542
66551
|
positive: () => _positive,
|
|
66552
|
+
properties: () => _properties,
|
|
66543
66553
|
property: () => _property,
|
|
66544
66554
|
regex: () => _regex,
|
|
66545
66555
|
size: () => _size,
|
|
@@ -66999,8 +67009,8 @@ function url(params) {
|
|
|
66999
67009
|
}
|
|
67000
67010
|
function httpUrl(params) {
|
|
67001
67011
|
return _url(ZodURL, {
|
|
67002
|
-
protocol:
|
|
67003
|
-
hostname:
|
|
67012
|
+
protocol: httpProtocol,
|
|
67013
|
+
hostname: domain,
|
|
67004
67014
|
...util_exports.normalizeParams(params)
|
|
67005
67015
|
});
|
|
67006
67016
|
}
|
|
@@ -67138,10 +67148,13 @@ function stringFormat(format2, fnOrRegex, _params = {}) {
|
|
|
67138
67148
|
return _stringFormat(ZodCustomStringFormat, format2, fnOrRegex, _params);
|
|
67139
67149
|
}
|
|
67140
67150
|
function hostname2(_params) {
|
|
67141
|
-
return _stringFormat(ZodCustomStringFormat, "hostname",
|
|
67151
|
+
return _stringFormat(ZodCustomStringFormat, "hostname", hostname, _params);
|
|
67142
67152
|
}
|
|
67143
67153
|
function hex2(_params) {
|
|
67144
|
-
return _stringFormat(ZodCustomStringFormat, "hex",
|
|
67154
|
+
return _stringFormat(ZodCustomStringFormat, "hex", hex, _params);
|
|
67155
|
+
}
|
|
67156
|
+
function currencyCode2(_params) {
|
|
67157
|
+
return _stringFormat(ZodCustomStringFormat, "currency_code", currencyCode, _params);
|
|
67145
67158
|
}
|
|
67146
67159
|
function hash(alg, params) {
|
|
67147
67160
|
const enc = params?.enc ?? "hex";
|
|
@@ -68006,14 +68019,6 @@ var ZodCustom = /* @__PURE__ */ $constructor("ZodCustom", (inst, def) => {
|
|
|
68006
68019
|
ZodType.init(inst, def);
|
|
68007
68020
|
inst._zod.processJSONSchema = (ctx, json2, params) => customProcessor(inst, ctx, json2, params);
|
|
68008
68021
|
});
|
|
68009
|
-
var ZodProperties = /* @__PURE__ */ $constructor("ZodProperties", (inst, def) => {
|
|
68010
|
-
_ensureDefaultMemoizer();
|
|
68011
|
-
$ZodProperties.init(inst, def);
|
|
68012
|
-
ZodType.init(inst, def);
|
|
68013
|
-
});
|
|
68014
|
-
function properties(shape, params) {
|
|
68015
|
-
return _properties(ZodProperties, shape, params);
|
|
68016
|
-
}
|
|
68017
68022
|
function check(fn) {
|
|
68018
68023
|
const ch = new $ZodCheck({
|
|
68019
68024
|
check: "custom"
|
|
@@ -68037,7 +68042,7 @@ var ZodInstanceOf = /* @__PURE__ */ $constructor("ZodInstanceOf", (inst, def) =>
|
|
|
68037
68042
|
ZodCustom.init(inst, def);
|
|
68038
68043
|
}, {
|
|
68039
68044
|
properties(shape, params) {
|
|
68040
|
-
return this.check(
|
|
68045
|
+
return this.check(_properties(shape, params));
|
|
68041
68046
|
}
|
|
68042
68047
|
});
|
|
68043
68048
|
function _instanceof(cls, params = {}) {
|
|
@@ -68624,10 +68629,10 @@ function convertBaseSchema(schema, ctx) {
|
|
|
68624
68629
|
}
|
|
68625
68630
|
case "object": {
|
|
68626
68631
|
const shape = {};
|
|
68627
|
-
const
|
|
68632
|
+
const properties = schema.properties || {};
|
|
68628
68633
|
const requiredSet = new Set(schema.required || []);
|
|
68629
68634
|
const additionalSchema = typeof schema.additionalProperties === "object" ? convertSchema(schema.additionalProperties, ctx) : void 0;
|
|
68630
|
-
for (const [key, propSchema] of Object.entries(
|
|
68635
|
+
for (const [key, propSchema] of Object.entries(properties)) {
|
|
68631
68636
|
const propZodSchema = convertSchema(propSchema, ctx);
|
|
68632
68637
|
assignProp(shape, key, requiredSet.has(key) ? propZodSchema : propZodSchema.optional());
|
|
68633
68638
|
}
|
|
@@ -68988,18 +68993,6 @@ function visit(schema, fnOrHandlers) {
|
|
|
68988
68993
|
const { _cachedInner, ...rest } = def;
|
|
68989
68994
|
return clone(s2, { ...rest, getter: () => run(original()) });
|
|
68990
68995
|
}
|
|
68991
|
-
case "properties": {
|
|
68992
|
-
const oldShape = def.shape;
|
|
68993
|
-
let changed = false;
|
|
68994
|
-
const newShape = {};
|
|
68995
|
-
for (const k5 of Reflect.ownKeys(oldShape)) {
|
|
68996
|
-
const mapped = run(oldShape[k5]);
|
|
68997
|
-
if (mapped !== oldShape[k5])
|
|
68998
|
-
changed = true;
|
|
68999
|
-
newShape[k5] = mapped;
|
|
69000
|
-
}
|
|
69001
|
-
return changed ? clone(s2, { ...def, shape: newShape }) : s2;
|
|
69002
|
-
}
|
|
69003
68996
|
// A leaf by choice: `parts` are regex fragments, not data positions.
|
|
69004
68997
|
case "template_literal":
|
|
69005
68998
|
// Leaves.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@continuous-excellence/ze-great-dashboard-aws",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AWS server runtime and CloudFormation deployment tooling for Ze Great Dashboard.",
|
|
6
6
|
"keywords": [
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"fflate": "^0.8.3",
|
|
38
38
|
"yaml": "^2.9.1",
|
|
39
|
-
"zod": "^4.6.
|
|
39
|
+
"zod": "^4.6.4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"esbuild": "^0.28.2",
|