@lousy-agents/agent-shell 5.11.2 → 5.11.3
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/300.js +2 -2
- package/dist/index.js +384 -385
- package/package.json +2 -2
- package/dist/index.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,144 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire as __rspack_createRequire } from "node:module";
|
|
3
3
|
const __rspack_createRequire_require = __rspack_createRequire(import.meta.url);
|
|
4
|
-
var __webpack_modules__ = ({
|
|
5
|
-
|
|
6
|
-
var __webpack_module_cache__ = {};
|
|
7
|
-
|
|
8
|
-
// The require function
|
|
9
|
-
function __webpack_require__(moduleId) {
|
|
10
|
-
|
|
11
|
-
// Check if module is in cache
|
|
12
|
-
var cachedModule = __webpack_module_cache__[moduleId];
|
|
13
|
-
if (cachedModule !== undefined) {
|
|
14
|
-
return cachedModule.exports;
|
|
15
|
-
}
|
|
16
|
-
// Create a new module (and put it into the cache)
|
|
17
|
-
var module = (__webpack_module_cache__[moduleId] = {
|
|
18
|
-
exports: {}
|
|
19
|
-
});
|
|
20
|
-
// Execute the module function
|
|
21
|
-
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
22
|
-
|
|
23
|
-
// Return the exports of the module
|
|
24
|
-
return module.exports;
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// expose the modules object (__webpack_modules__)
|
|
29
|
-
__webpack_require__.m = __webpack_modules__;
|
|
30
|
-
|
|
31
|
-
// webpack/runtime/define_property_getters
|
|
32
|
-
(() => {
|
|
33
|
-
__webpack_require__.d = (exports, definition) => {
|
|
34
|
-
for(var key in definition) {
|
|
35
|
-
if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
36
|
-
Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
})();
|
|
41
|
-
// webpack/runtime/ensure_chunk
|
|
42
|
-
(() => {
|
|
43
|
-
__webpack_require__.f = {};
|
|
44
|
-
// This file contains only the entry chunk.
|
|
45
|
-
// The chunk loading function for additional chunks
|
|
46
|
-
__webpack_require__.e = (chunkId) => {
|
|
47
|
-
return Promise.all(
|
|
48
|
-
Object.keys(__webpack_require__.f).reduce((promises, key) => {
|
|
49
|
-
__webpack_require__.f[key](chunkId, promises);
|
|
50
|
-
return promises;
|
|
51
|
-
}, [])
|
|
52
|
-
);
|
|
53
|
-
};
|
|
54
|
-
})();
|
|
55
|
-
// webpack/runtime/get javascript chunk filename
|
|
56
|
-
(() => {
|
|
57
|
-
// This function allow to reference chunks
|
|
58
|
-
__webpack_require__.u = (chunkId) => {
|
|
59
|
-
// return url for filenames not based on template
|
|
60
|
-
|
|
61
|
-
// return url for filenames based on template
|
|
62
|
-
return "" + chunkId + ".js"
|
|
63
|
-
}
|
|
64
|
-
})();
|
|
65
|
-
// webpack/runtime/has_own_property
|
|
66
|
-
(() => {
|
|
67
|
-
__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
68
|
-
})();
|
|
69
|
-
// webpack/runtime/make_namespace_object
|
|
70
|
-
(() => {
|
|
71
|
-
// define __esModule on exports
|
|
72
|
-
__webpack_require__.r = (exports) => {
|
|
73
|
-
if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
74
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
75
|
-
}
|
|
76
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
77
|
-
};
|
|
78
|
-
})();
|
|
79
|
-
// webpack/runtime/public_path
|
|
80
|
-
(() => {
|
|
81
|
-
__webpack_require__.p = "";
|
|
82
|
-
})();
|
|
83
|
-
// webpack/runtime/module_chunk_loading
|
|
84
|
-
(() => {
|
|
85
|
-
// no BaseURI
|
|
86
|
-
// object to store loaded and loading chunks
|
|
87
|
-
// undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
88
|
-
// [resolve, Promise] = chunk loading, 0 = chunk loaded
|
|
89
|
-
var installedChunks = {"410": 0,};
|
|
90
|
-
var installChunk = (data) => {
|
|
91
|
-
var __rspack_esm_ids = data.__rspack_esm_ids;
|
|
92
|
-
var __webpack_modules__ = data.__webpack_modules__;
|
|
93
|
-
var __rspack_esm_runtime = data.__rspack_esm_runtime;
|
|
94
|
-
// add "modules" to the modules object,
|
|
95
|
-
// then flag all "ids" as loaded and fire callback
|
|
96
|
-
var moduleId, chunkId, i = 0;
|
|
97
|
-
for (moduleId in __webpack_modules__) {
|
|
98
|
-
if (__webpack_require__.o(__webpack_modules__, moduleId)) {
|
|
99
|
-
__webpack_require__.m[moduleId] = __webpack_modules__[moduleId];
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
if (__rspack_esm_runtime) __rspack_esm_runtime(__webpack_require__);
|
|
103
|
-
for (; i < __rspack_esm_ids.length; i++) {
|
|
104
|
-
chunkId = __rspack_esm_ids[i];
|
|
105
|
-
if (__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
106
|
-
installedChunks[chunkId][0]();
|
|
107
|
-
}
|
|
108
|
-
installedChunks[__rspack_esm_ids[i]] = 0;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
};
|
|
112
|
-
__webpack_require__.f.j = function (chunkId, promises) {
|
|
113
|
-
// import() chunk loading for javascript
|
|
114
|
-
var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
|
|
115
|
-
if (installedChunkData !== 0) { // 0 means "already installed".'
|
|
116
|
-
// a Promise means "currently loading".
|
|
117
|
-
if (installedChunkData) {
|
|
118
|
-
promises.push(installedChunkData[1]);
|
|
119
|
-
} else {
|
|
120
|
-
if (true) {
|
|
121
|
-
// setup Promise in chunk cache
|
|
122
|
-
var promise = import("./" + __webpack_require__.u(chunkId)).then(installChunk, (e) => {
|
|
123
|
-
if (installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
|
|
124
|
-
throw e;
|
|
125
|
-
});
|
|
126
|
-
var promise = Promise.race([promise, new Promise((resolve) => {
|
|
127
|
-
installedChunkData = installedChunks[chunkId] = [resolve];
|
|
128
|
-
})]);
|
|
129
|
-
promises.push(installedChunkData[1] = promise);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
// no external install chunk
|
|
136
|
-
// no on chunks loaded
|
|
137
|
-
// no HMR
|
|
138
|
-
// no HMR manifest
|
|
139
|
-
|
|
140
|
-
})();
|
|
141
|
-
var __webpack_exports__ = {};
|
|
4
|
+
var __webpack_modules__ = ({
|
|
5
|
+
543(__unused_rspack_module, __unused_rspack___webpack_exports__, __webpack_require__) {
|
|
142
6
|
// NAMESPACE OBJECT: ../../node_modules/zod/v4/core/regexes.js
|
|
143
7
|
var regexes_namespaceObject = {};
|
|
144
8
|
__webpack_require__.r(regexes_namespaceObject);
|
|
@@ -4802,7 +4666,7 @@ const ar_error = () => {
|
|
|
4802
4666
|
switch (issue.code) {
|
|
4803
4667
|
case "invalid_type": {
|
|
4804
4668
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
4805
|
-
const receivedType = parsedType(issue.input);
|
|
4669
|
+
const receivedType = util.parsedType(issue.input);
|
|
4806
4670
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
4807
4671
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
4808
4672
|
return `مدخلات غير مقبولة: يفترض إدخال instanceof ${issue.expected}، ولكن تم إدخال ${received}`;
|
|
@@ -4811,8 +4675,8 @@ const ar_error = () => {
|
|
|
4811
4675
|
}
|
|
4812
4676
|
case "invalid_value":
|
|
4813
4677
|
if (issue.values.length === 1)
|
|
4814
|
-
return `مدخلات غير مقبولة: يفترض إدخال ${stringifyPrimitive(issue.values[0])}`;
|
|
4815
|
-
return `اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${joinValues(issue.values, "|")}`;
|
|
4678
|
+
return `مدخلات غير مقبولة: يفترض إدخال ${util.stringifyPrimitive(issue.values[0])}`;
|
|
4679
|
+
return `اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${util.joinValues(issue.values, "|")}`;
|
|
4816
4680
|
case "too_big": {
|
|
4817
4681
|
const adj = issue.inclusive ? "<=" : "<";
|
|
4818
4682
|
const sizing = getSizing(issue.origin);
|
|
@@ -4843,7 +4707,7 @@ const ar_error = () => {
|
|
|
4843
4707
|
case "not_multiple_of":
|
|
4844
4708
|
return `رقم غير مقبول: يجب أن يكون من مضاعفات ${issue.divisor}`;
|
|
4845
4709
|
case "unrecognized_keys":
|
|
4846
|
-
return `معرف${issue.keys.length > 1 ? "ات" : ""} غريب${issue.keys.length > 1 ? "ة" : ""}: ${joinValues(issue.keys, "، ")}`;
|
|
4710
|
+
return `معرف${issue.keys.length > 1 ? "ات" : ""} غريب${issue.keys.length > 1 ? "ة" : ""}: ${util.joinValues(issue.keys, "، ")}`;
|
|
4847
4711
|
case "invalid_key":
|
|
4848
4712
|
return `معرف غير مقبول في ${issue.origin}`;
|
|
4849
4713
|
case "invalid_union":
|
|
@@ -4910,7 +4774,7 @@ const az_error = () => {
|
|
|
4910
4774
|
switch (issue.code) {
|
|
4911
4775
|
case "invalid_type": {
|
|
4912
4776
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
4913
|
-
const receivedType = parsedType(issue.input);
|
|
4777
|
+
const receivedType = util.parsedType(issue.input);
|
|
4914
4778
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
4915
4779
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
4916
4780
|
return `Yanlış dəyər: gözlənilən instanceof ${issue.expected}, daxil olan ${received}`;
|
|
@@ -4919,8 +4783,8 @@ const az_error = () => {
|
|
|
4919
4783
|
}
|
|
4920
4784
|
case "invalid_value":
|
|
4921
4785
|
if (issue.values.length === 1)
|
|
4922
|
-
return `Yanlış dəyər: gözlənilən ${stringifyPrimitive(issue.values[0])}`;
|
|
4923
|
-
return `Yanlış seçim: aşağıdakılardan biri olmalıdır: ${joinValues(issue.values, "|")}`;
|
|
4786
|
+
return `Yanlış dəyər: gözlənilən ${util.stringifyPrimitive(issue.values[0])}`;
|
|
4787
|
+
return `Yanlış seçim: aşağıdakılardan biri olmalıdır: ${util.joinValues(issue.values, "|")}`;
|
|
4924
4788
|
case "too_big": {
|
|
4925
4789
|
const adj = issue.inclusive ? "<=" : "<";
|
|
4926
4790
|
const sizing = getSizing(issue.origin);
|
|
@@ -4950,7 +4814,7 @@ const az_error = () => {
|
|
|
4950
4814
|
case "not_multiple_of":
|
|
4951
4815
|
return `Yanlış ədəd: ${issue.divisor} ilə bölünə bilən olmalıdır`;
|
|
4952
4816
|
case "unrecognized_keys":
|
|
4953
|
-
return `Tanınmayan açar${issue.keys.length > 1 ? "lar" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
4817
|
+
return `Tanınmayan açar${issue.keys.length > 1 ? "lar" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
4954
4818
|
case "invalid_key":
|
|
4955
4819
|
return `${issue.origin} daxilində yanlış açar`;
|
|
4956
4820
|
case "invalid_union":
|
|
@@ -5062,7 +4926,7 @@ const be_error = () => {
|
|
|
5062
4926
|
switch (issue.code) {
|
|
5063
4927
|
case "invalid_type": {
|
|
5064
4928
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
5065
|
-
const receivedType = parsedType(issue.input);
|
|
4929
|
+
const receivedType = util.parsedType(issue.input);
|
|
5066
4930
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
5067
4931
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
5068
4932
|
return `Няправільны ўвод: чакаўся instanceof ${issue.expected}, атрымана ${received}`;
|
|
@@ -5071,8 +4935,8 @@ const be_error = () => {
|
|
|
5071
4935
|
}
|
|
5072
4936
|
case "invalid_value":
|
|
5073
4937
|
if (issue.values.length === 1)
|
|
5074
|
-
return `Няправільны ўвод: чакалася ${stringifyPrimitive(issue.values[0])}`;
|
|
5075
|
-
return `Няправільны варыянт: чакаўся адзін з ${joinValues(issue.values, "|")}`;
|
|
4938
|
+
return `Няправільны ўвод: чакалася ${util.stringifyPrimitive(issue.values[0])}`;
|
|
4939
|
+
return `Няправільны варыянт: чакаўся адзін з ${util.joinValues(issue.values, "|")}`;
|
|
5076
4940
|
case "too_big": {
|
|
5077
4941
|
const adj = issue.inclusive ? "<=" : "<";
|
|
5078
4942
|
const sizing = getSizing(issue.origin);
|
|
@@ -5108,7 +4972,7 @@ const be_error = () => {
|
|
|
5108
4972
|
case "not_multiple_of":
|
|
5109
4973
|
return `Няправільны лік: павінен быць кратным ${issue.divisor}`;
|
|
5110
4974
|
case "unrecognized_keys":
|
|
5111
|
-
return `Нераспазнаны ${issue.keys.length > 1 ? "ключы" : "ключ"}: ${joinValues(issue.keys, ", ")}`;
|
|
4975
|
+
return `Нераспазнаны ${issue.keys.length > 1 ? "ключы" : "ключ"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
5112
4976
|
case "invalid_key":
|
|
5113
4977
|
return `Няправільны ключ у ${issue.origin}`;
|
|
5114
4978
|
case "invalid_union":
|
|
@@ -5177,7 +5041,7 @@ const bg_error = () => {
|
|
|
5177
5041
|
switch (issue.code) {
|
|
5178
5042
|
case "invalid_type": {
|
|
5179
5043
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
5180
|
-
const receivedType = parsedType(issue.input);
|
|
5044
|
+
const receivedType = util.parsedType(issue.input);
|
|
5181
5045
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
5182
5046
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
5183
5047
|
return `Невалиден вход: очакван instanceof ${issue.expected}, получен ${received}`;
|
|
@@ -5186,8 +5050,8 @@ const bg_error = () => {
|
|
|
5186
5050
|
}
|
|
5187
5051
|
case "invalid_value":
|
|
5188
5052
|
if (issue.values.length === 1)
|
|
5189
|
-
return `Невалиден вход: очакван ${stringifyPrimitive(issue.values[0])}`;
|
|
5190
|
-
return `Невалидна опция: очаквано едно от ${joinValues(issue.values, "|")}`;
|
|
5053
|
+
return `Невалиден вход: очакван ${util.stringifyPrimitive(issue.values[0])}`;
|
|
5054
|
+
return `Невалидна опция: очаквано едно от ${util.joinValues(issue.values, "|")}`;
|
|
5191
5055
|
case "too_big": {
|
|
5192
5056
|
const adj = issue.inclusive ? "<=" : "<";
|
|
5193
5057
|
const sizing = getSizing(issue.origin);
|
|
@@ -5230,7 +5094,7 @@ const bg_error = () => {
|
|
|
5230
5094
|
case "not_multiple_of":
|
|
5231
5095
|
return `Невалидно число: трябва да бъде кратно на ${issue.divisor}`;
|
|
5232
5096
|
case "unrecognized_keys":
|
|
5233
|
-
return `Неразпознат${issue.keys.length > 1 ? "и" : ""} ключ${issue.keys.length > 1 ? "ове" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
5097
|
+
return `Неразпознат${issue.keys.length > 1 ? "и" : ""} ключ${issue.keys.length > 1 ? "ове" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
5234
5098
|
case "invalid_key":
|
|
5235
5099
|
return `Невалиден ключ в ${issue.origin}`;
|
|
5236
5100
|
case "invalid_union":
|
|
@@ -5297,7 +5161,7 @@ const ca_error = () => {
|
|
|
5297
5161
|
switch (issue.code) {
|
|
5298
5162
|
case "invalid_type": {
|
|
5299
5163
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
5300
|
-
const receivedType = parsedType(issue.input);
|
|
5164
|
+
const receivedType = util.parsedType(issue.input);
|
|
5301
5165
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
5302
5166
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
5303
5167
|
return `Tipus invàlid: s'esperava instanceof ${issue.expected}, s'ha rebut ${received}`;
|
|
@@ -5306,8 +5170,8 @@ const ca_error = () => {
|
|
|
5306
5170
|
}
|
|
5307
5171
|
case "invalid_value":
|
|
5308
5172
|
if (issue.values.length === 1)
|
|
5309
|
-
return `Valor invàlid: s'esperava ${stringifyPrimitive(issue.values[0])}`;
|
|
5310
|
-
return `Opció invàlida: s'esperava una de ${joinValues(issue.values, " o ")}`;
|
|
5173
|
+
return `Valor invàlid: s'esperava ${util.stringifyPrimitive(issue.values[0])}`;
|
|
5174
|
+
return `Opció invàlida: s'esperava una de ${util.joinValues(issue.values, " o ")}`;
|
|
5311
5175
|
case "too_big": {
|
|
5312
5176
|
const adj = issue.inclusive ? "com a màxim" : "menys de";
|
|
5313
5177
|
const sizing = getSizing(issue.origin);
|
|
@@ -5339,7 +5203,7 @@ const ca_error = () => {
|
|
|
5339
5203
|
case "not_multiple_of":
|
|
5340
5204
|
return `Número invàlid: ha de ser múltiple de ${issue.divisor}`;
|
|
5341
5205
|
case "unrecognized_keys":
|
|
5342
|
-
return `Clau${issue.keys.length > 1 ? "s" : ""} no reconeguda${issue.keys.length > 1 ? "s" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
5206
|
+
return `Clau${issue.keys.length > 1 ? "s" : ""} no reconeguda${issue.keys.length > 1 ? "s" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
5343
5207
|
case "invalid_key":
|
|
5344
5208
|
return `Clau invàlida a ${issue.origin}`;
|
|
5345
5209
|
case "invalid_union":
|
|
@@ -5410,7 +5274,7 @@ const cs_error = () => {
|
|
|
5410
5274
|
switch (issue.code) {
|
|
5411
5275
|
case "invalid_type": {
|
|
5412
5276
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
5413
|
-
const receivedType = parsedType(issue.input);
|
|
5277
|
+
const receivedType = util.parsedType(issue.input);
|
|
5414
5278
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
5415
5279
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
5416
5280
|
return `Neplatný vstup: očekáváno instanceof ${issue.expected}, obdrženo ${received}`;
|
|
@@ -5419,8 +5283,8 @@ const cs_error = () => {
|
|
|
5419
5283
|
}
|
|
5420
5284
|
case "invalid_value":
|
|
5421
5285
|
if (issue.values.length === 1)
|
|
5422
|
-
return `Neplatný vstup: očekáváno ${stringifyPrimitive(issue.values[0])}`;
|
|
5423
|
-
return `Neplatná možnost: očekávána jedna z hodnot ${joinValues(issue.values, "|")}`;
|
|
5286
|
+
return `Neplatný vstup: očekáváno ${util.stringifyPrimitive(issue.values[0])}`;
|
|
5287
|
+
return `Neplatná možnost: očekávána jedna z hodnot ${util.joinValues(issue.values, "|")}`;
|
|
5424
5288
|
case "too_big": {
|
|
5425
5289
|
const adj = issue.inclusive ? "<=" : "<";
|
|
5426
5290
|
const sizing = getSizing(issue.origin);
|
|
@@ -5452,7 +5316,7 @@ const cs_error = () => {
|
|
|
5452
5316
|
case "not_multiple_of":
|
|
5453
5317
|
return `Neplatné číslo: musí být násobkem ${issue.divisor}`;
|
|
5454
5318
|
case "unrecognized_keys":
|
|
5455
|
-
return `Neznámé klíče: ${joinValues(issue.keys, ", ")}`;
|
|
5319
|
+
return `Neznámé klíče: ${util.joinValues(issue.keys, ", ")}`;
|
|
5456
5320
|
case "invalid_key":
|
|
5457
5321
|
return `Neplatný klíč v ${issue.origin}`;
|
|
5458
5322
|
case "invalid_union":
|
|
@@ -5526,7 +5390,7 @@ const da_error = () => {
|
|
|
5526
5390
|
switch (issue.code) {
|
|
5527
5391
|
case "invalid_type": {
|
|
5528
5392
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
5529
|
-
const receivedType = parsedType(issue.input);
|
|
5393
|
+
const receivedType = util.parsedType(issue.input);
|
|
5530
5394
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
5531
5395
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
5532
5396
|
return `Ugyldigt input: forventede instanceof ${issue.expected}, fik ${received}`;
|
|
@@ -5535,8 +5399,8 @@ const da_error = () => {
|
|
|
5535
5399
|
}
|
|
5536
5400
|
case "invalid_value":
|
|
5537
5401
|
if (issue.values.length === 1)
|
|
5538
|
-
return `Ugyldig værdi: forventede ${stringifyPrimitive(issue.values[0])}`;
|
|
5539
|
-
return `Ugyldigt valg: forventede en af følgende ${joinValues(issue.values, "|")}`;
|
|
5402
|
+
return `Ugyldig værdi: forventede ${util.stringifyPrimitive(issue.values[0])}`;
|
|
5403
|
+
return `Ugyldigt valg: forventede en af følgende ${util.joinValues(issue.values, "|")}`;
|
|
5540
5404
|
case "too_big": {
|
|
5541
5405
|
const adj = issue.inclusive ? "<=" : "<";
|
|
5542
5406
|
const sizing = getSizing(issue.origin);
|
|
@@ -5569,7 +5433,7 @@ const da_error = () => {
|
|
|
5569
5433
|
case "not_multiple_of":
|
|
5570
5434
|
return `Ugyldigt tal: skal være deleligt med ${issue.divisor}`;
|
|
5571
5435
|
case "unrecognized_keys":
|
|
5572
|
-
return `${issue.keys.length > 1 ? "Ukendte nøgler" : "Ukendt nøgle"}: ${joinValues(issue.keys, ", ")}`;
|
|
5436
|
+
return `${issue.keys.length > 1 ? "Ukendte nøgler" : "Ukendt nøgle"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
5573
5437
|
case "invalid_key":
|
|
5574
5438
|
return `Ugyldig nøgle i ${issue.origin}`;
|
|
5575
5439
|
case "invalid_union":
|
|
@@ -5638,7 +5502,7 @@ const de_error = () => {
|
|
|
5638
5502
|
switch (issue.code) {
|
|
5639
5503
|
case "invalid_type": {
|
|
5640
5504
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
5641
|
-
const receivedType = parsedType(issue.input);
|
|
5505
|
+
const receivedType = util.parsedType(issue.input);
|
|
5642
5506
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
5643
5507
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
5644
5508
|
return `Ungültige Eingabe: erwartet instanceof ${issue.expected}, erhalten ${received}`;
|
|
@@ -5647,8 +5511,8 @@ const de_error = () => {
|
|
|
5647
5511
|
}
|
|
5648
5512
|
case "invalid_value":
|
|
5649
5513
|
if (issue.values.length === 1)
|
|
5650
|
-
return `Ungültige Eingabe: erwartet ${stringifyPrimitive(issue.values[0])}`;
|
|
5651
|
-
return `Ungültige Option: erwartet eine von ${joinValues(issue.values, "|")}`;
|
|
5514
|
+
return `Ungültige Eingabe: erwartet ${util.stringifyPrimitive(issue.values[0])}`;
|
|
5515
|
+
return `Ungültige Option: erwartet eine von ${util.joinValues(issue.values, "|")}`;
|
|
5652
5516
|
case "too_big": {
|
|
5653
5517
|
const adj = issue.inclusive ? "<=" : "<";
|
|
5654
5518
|
const sizing = getSizing(issue.origin);
|
|
@@ -5679,7 +5543,7 @@ const de_error = () => {
|
|
|
5679
5543
|
case "not_multiple_of":
|
|
5680
5544
|
return `Ungültige Zahl: muss ein Vielfaches von ${issue.divisor} sein`;
|
|
5681
5545
|
case "unrecognized_keys":
|
|
5682
|
-
return `${issue.keys.length > 1 ? "Unbekannte Schlüssel" : "Unbekannter Schlüssel"}: ${joinValues(issue.keys, ", ")}`;
|
|
5546
|
+
return `${issue.keys.length > 1 ? "Unbekannte Schlüssel" : "Unbekannter Schlüssel"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
5683
5547
|
case "invalid_key":
|
|
5684
5548
|
return `Ungültiger Schlüssel in ${issue.origin}`;
|
|
5685
5549
|
case "invalid_union":
|
|
@@ -5860,7 +5724,7 @@ const eo_error = () => {
|
|
|
5860
5724
|
switch (issue.code) {
|
|
5861
5725
|
case "invalid_type": {
|
|
5862
5726
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
5863
|
-
const receivedType = parsedType(issue.input);
|
|
5727
|
+
const receivedType = util.parsedType(issue.input);
|
|
5864
5728
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
5865
5729
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
5866
5730
|
return `Nevalida enigo: atendiĝis instanceof ${issue.expected}, riceviĝis ${received}`;
|
|
@@ -5869,8 +5733,8 @@ const eo_error = () => {
|
|
|
5869
5733
|
}
|
|
5870
5734
|
case "invalid_value":
|
|
5871
5735
|
if (issue.values.length === 1)
|
|
5872
|
-
return `Nevalida enigo: atendiĝis ${stringifyPrimitive(issue.values[0])}`;
|
|
5873
|
-
return `Nevalida opcio: atendiĝis unu el ${joinValues(issue.values, "|")}`;
|
|
5736
|
+
return `Nevalida enigo: atendiĝis ${util.stringifyPrimitive(issue.values[0])}`;
|
|
5737
|
+
return `Nevalida opcio: atendiĝis unu el ${util.joinValues(issue.values, "|")}`;
|
|
5874
5738
|
case "too_big": {
|
|
5875
5739
|
const adj = issue.inclusive ? "<=" : "<";
|
|
5876
5740
|
const sizing = getSizing(issue.origin);
|
|
@@ -5901,7 +5765,7 @@ const eo_error = () => {
|
|
|
5901
5765
|
case "not_multiple_of":
|
|
5902
5766
|
return `Nevalida nombro: devas esti oblo de ${issue.divisor}`;
|
|
5903
5767
|
case "unrecognized_keys":
|
|
5904
|
-
return `Nekonata${issue.keys.length > 1 ? "j" : ""} ŝlosilo${issue.keys.length > 1 ? "j" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
5768
|
+
return `Nekonata${issue.keys.length > 1 ? "j" : ""} ŝlosilo${issue.keys.length > 1 ? "j" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
5905
5769
|
case "invalid_key":
|
|
5906
5770
|
return `Nevalida ŝlosilo en ${issue.origin}`;
|
|
5907
5771
|
case "invalid_union":
|
|
@@ -5992,7 +5856,7 @@ const es_error = () => {
|
|
|
5992
5856
|
switch (issue.code) {
|
|
5993
5857
|
case "invalid_type": {
|
|
5994
5858
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
5995
|
-
const receivedType = parsedType(issue.input);
|
|
5859
|
+
const receivedType = util.parsedType(issue.input);
|
|
5996
5860
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
5997
5861
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
5998
5862
|
return `Entrada inválida: se esperaba instanceof ${issue.expected}, recibido ${received}`;
|
|
@@ -6001,8 +5865,8 @@ const es_error = () => {
|
|
|
6001
5865
|
}
|
|
6002
5866
|
case "invalid_value":
|
|
6003
5867
|
if (issue.values.length === 1)
|
|
6004
|
-
return `Entrada inválida: se esperaba ${stringifyPrimitive(issue.values[0])}`;
|
|
6005
|
-
return `Opción inválida: se esperaba una de ${joinValues(issue.values, "|")}`;
|
|
5868
|
+
return `Entrada inválida: se esperaba ${util.stringifyPrimitive(issue.values[0])}`;
|
|
5869
|
+
return `Opción inválida: se esperaba una de ${util.joinValues(issue.values, "|")}`;
|
|
6006
5870
|
case "too_big": {
|
|
6007
5871
|
const adj = issue.inclusive ? "<=" : "<";
|
|
6008
5872
|
const sizing = getSizing(issue.origin);
|
|
@@ -6035,7 +5899,7 @@ const es_error = () => {
|
|
|
6035
5899
|
case "not_multiple_of":
|
|
6036
5900
|
return `Número inválido: debe ser múltiplo de ${issue.divisor}`;
|
|
6037
5901
|
case "unrecognized_keys":
|
|
6038
|
-
return `Llave${issue.keys.length > 1 ? "s" : ""} desconocida${issue.keys.length > 1 ? "s" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
5902
|
+
return `Llave${issue.keys.length > 1 ? "s" : ""} desconocida${issue.keys.length > 1 ? "s" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
6039
5903
|
case "invalid_key":
|
|
6040
5904
|
return `Llave inválida en ${TypeDictionary[issue.origin] ?? issue.origin}`;
|
|
6041
5905
|
case "invalid_union":
|
|
@@ -6104,7 +5968,7 @@ const fa_error = () => {
|
|
|
6104
5968
|
switch (issue.code) {
|
|
6105
5969
|
case "invalid_type": {
|
|
6106
5970
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
6107
|
-
const receivedType = parsedType(issue.input);
|
|
5971
|
+
const receivedType = util.parsedType(issue.input);
|
|
6108
5972
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
6109
5973
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
6110
5974
|
return `ورودی نامعتبر: میبایست instanceof ${issue.expected} میبود، ${received} دریافت شد`;
|
|
@@ -6113,9 +5977,9 @@ const fa_error = () => {
|
|
|
6113
5977
|
}
|
|
6114
5978
|
case "invalid_value":
|
|
6115
5979
|
if (issue.values.length === 1) {
|
|
6116
|
-
return `ورودی نامعتبر: میبایست ${stringifyPrimitive(issue.values[0])} میبود`;
|
|
5980
|
+
return `ورودی نامعتبر: میبایست ${util.stringifyPrimitive(issue.values[0])} میبود`;
|
|
6117
5981
|
}
|
|
6118
|
-
return `گزینه نامعتبر: میبایست یکی از ${joinValues(issue.values, "|")} میبود`;
|
|
5982
|
+
return `گزینه نامعتبر: میبایست یکی از ${util.joinValues(issue.values, "|")} میبود`;
|
|
6119
5983
|
case "too_big": {
|
|
6120
5984
|
const adj = issue.inclusive ? "<=" : "<";
|
|
6121
5985
|
const sizing = getSizing(issue.origin);
|
|
@@ -6151,7 +6015,7 @@ const fa_error = () => {
|
|
|
6151
6015
|
case "not_multiple_of":
|
|
6152
6016
|
return `عدد نامعتبر: باید مضرب ${issue.divisor} باشد`;
|
|
6153
6017
|
case "unrecognized_keys":
|
|
6154
|
-
return `کلید${issue.keys.length > 1 ? "های" : ""} ناشناس: ${joinValues(issue.keys, ", ")}`;
|
|
6018
|
+
return `کلید${issue.keys.length > 1 ? "های" : ""} ناشناس: ${util.joinValues(issue.keys, ", ")}`;
|
|
6155
6019
|
case "invalid_key":
|
|
6156
6020
|
return `کلید ناشناس در ${issue.origin}`;
|
|
6157
6021
|
case "invalid_union":
|
|
@@ -6222,7 +6086,7 @@ const fi_error = () => {
|
|
|
6222
6086
|
switch (issue.code) {
|
|
6223
6087
|
case "invalid_type": {
|
|
6224
6088
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
6225
|
-
const receivedType = parsedType(issue.input);
|
|
6089
|
+
const receivedType = util.parsedType(issue.input);
|
|
6226
6090
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
6227
6091
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
6228
6092
|
return `Virheellinen tyyppi: odotettiin instanceof ${issue.expected}, oli ${received}`;
|
|
@@ -6231,8 +6095,8 @@ const fi_error = () => {
|
|
|
6231
6095
|
}
|
|
6232
6096
|
case "invalid_value":
|
|
6233
6097
|
if (issue.values.length === 1)
|
|
6234
|
-
return `Virheellinen syöte: täytyy olla ${stringifyPrimitive(issue.values[0])}`;
|
|
6235
|
-
return `Virheellinen valinta: täytyy olla yksi seuraavista: ${joinValues(issue.values, "|")}`;
|
|
6098
|
+
return `Virheellinen syöte: täytyy olla ${util.stringifyPrimitive(issue.values[0])}`;
|
|
6099
|
+
return `Virheellinen valinta: täytyy olla yksi seuraavista: ${util.joinValues(issue.values, "|")}`;
|
|
6236
6100
|
case "too_big": {
|
|
6237
6101
|
const adj = issue.inclusive ? "<=" : "<";
|
|
6238
6102
|
const sizing = getSizing(issue.origin);
|
|
@@ -6265,7 +6129,7 @@ const fi_error = () => {
|
|
|
6265
6129
|
case "not_multiple_of":
|
|
6266
6130
|
return `Virheellinen luku: täytyy olla luvun ${issue.divisor} monikerta`;
|
|
6267
6131
|
case "unrecognized_keys":
|
|
6268
|
-
return `${issue.keys.length > 1 ? "Tuntemattomat avaimet" : "Tuntematon avain"}: ${joinValues(issue.keys, ", ")}`;
|
|
6132
|
+
return `${issue.keys.length > 1 ? "Tuntemattomat avaimet" : "Tuntematon avain"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
6269
6133
|
case "invalid_key":
|
|
6270
6134
|
return "Virheellinen avain tietueessa";
|
|
6271
6135
|
case "invalid_union":
|
|
@@ -6334,7 +6198,7 @@ const fr_error = () => {
|
|
|
6334
6198
|
switch (issue.code) {
|
|
6335
6199
|
case "invalid_type": {
|
|
6336
6200
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
6337
|
-
const receivedType = parsedType(issue.input);
|
|
6201
|
+
const receivedType = util.parsedType(issue.input);
|
|
6338
6202
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
6339
6203
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
6340
6204
|
return `Entrée invalide : instanceof ${issue.expected} attendu, ${received} reçu`;
|
|
@@ -6343,8 +6207,8 @@ const fr_error = () => {
|
|
|
6343
6207
|
}
|
|
6344
6208
|
case "invalid_value":
|
|
6345
6209
|
if (issue.values.length === 1)
|
|
6346
|
-
return `Entrée invalide : ${stringifyPrimitive(issue.values[0])} attendu`;
|
|
6347
|
-
return `Option invalide : une valeur parmi ${joinValues(issue.values, "|")} attendue`;
|
|
6210
|
+
return `Entrée invalide : ${util.stringifyPrimitive(issue.values[0])} attendu`;
|
|
6211
|
+
return `Option invalide : une valeur parmi ${util.joinValues(issue.values, "|")} attendue`;
|
|
6348
6212
|
case "too_big": {
|
|
6349
6213
|
const adj = issue.inclusive ? "<=" : "<";
|
|
6350
6214
|
const sizing = getSizing(issue.origin);
|
|
@@ -6375,7 +6239,7 @@ const fr_error = () => {
|
|
|
6375
6239
|
case "not_multiple_of":
|
|
6376
6240
|
return `Nombre invalide : doit être un multiple de ${issue.divisor}`;
|
|
6377
6241
|
case "unrecognized_keys":
|
|
6378
|
-
return `Clé${issue.keys.length > 1 ? "s" : ""} non reconnue${issue.keys.length > 1 ? "s" : ""} : ${joinValues(issue.keys, ", ")}`;
|
|
6242
|
+
return `Clé${issue.keys.length > 1 ? "s" : ""} non reconnue${issue.keys.length > 1 ? "s" : ""} : ${util.joinValues(issue.keys, ", ")}`;
|
|
6379
6243
|
case "invalid_key":
|
|
6380
6244
|
return `Clé invalide dans ${issue.origin}`;
|
|
6381
6245
|
case "invalid_union":
|
|
@@ -6442,7 +6306,7 @@ const fr_CA_error = () => {
|
|
|
6442
6306
|
switch (issue.code) {
|
|
6443
6307
|
case "invalid_type": {
|
|
6444
6308
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
6445
|
-
const receivedType = parsedType(issue.input);
|
|
6309
|
+
const receivedType = util.parsedType(issue.input);
|
|
6446
6310
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
6447
6311
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
6448
6312
|
return `Entrée invalide : attendu instanceof ${issue.expected}, reçu ${received}`;
|
|
@@ -6451,8 +6315,8 @@ const fr_CA_error = () => {
|
|
|
6451
6315
|
}
|
|
6452
6316
|
case "invalid_value":
|
|
6453
6317
|
if (issue.values.length === 1)
|
|
6454
|
-
return `Entrée invalide : attendu ${stringifyPrimitive(issue.values[0])}`;
|
|
6455
|
-
return `Option invalide : attendu l'une des valeurs suivantes ${joinValues(issue.values, "|")}`;
|
|
6318
|
+
return `Entrée invalide : attendu ${util.stringifyPrimitive(issue.values[0])}`;
|
|
6319
|
+
return `Option invalide : attendu l'une des valeurs suivantes ${util.joinValues(issue.values, "|")}`;
|
|
6456
6320
|
case "too_big": {
|
|
6457
6321
|
const adj = issue.inclusive ? "≤" : "<";
|
|
6458
6322
|
const sizing = getSizing(issue.origin);
|
|
@@ -6484,7 +6348,7 @@ const fr_CA_error = () => {
|
|
|
6484
6348
|
case "not_multiple_of":
|
|
6485
6349
|
return `Nombre invalide : doit être un multiple de ${issue.divisor}`;
|
|
6486
6350
|
case "unrecognized_keys":
|
|
6487
|
-
return `Clé${issue.keys.length > 1 ? "s" : ""} non reconnue${issue.keys.length > 1 ? "s" : ""} : ${joinValues(issue.keys, ", ")}`;
|
|
6351
|
+
return `Clé${issue.keys.length > 1 ? "s" : ""} non reconnue${issue.keys.length > 1 ? "s" : ""} : ${util.joinValues(issue.keys, ", ")}`;
|
|
6488
6352
|
case "invalid_key":
|
|
6489
6353
|
return `Clé invalide dans ${issue.origin}`;
|
|
6490
6354
|
case "invalid_union":
|
|
@@ -6596,7 +6460,7 @@ const he_error = () => {
|
|
|
6596
6460
|
const expectedKey = issue.expected;
|
|
6597
6461
|
const expected = TypeDictionary[expectedKey ?? ""] ?? typeLabel(expectedKey);
|
|
6598
6462
|
// Received: show localized label if known, otherwise constructor/raw
|
|
6599
|
-
const receivedType = parsedType(issue.input);
|
|
6463
|
+
const receivedType = util.parsedType(issue.input);
|
|
6600
6464
|
const received = TypeDictionary[receivedType] ?? TypeNames[receivedType]?.label ?? receivedType;
|
|
6601
6465
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
6602
6466
|
return `קלט לא תקין: צריך להיות instanceof ${issue.expected}, התקבל ${received}`;
|
|
@@ -6605,10 +6469,10 @@ const he_error = () => {
|
|
|
6605
6469
|
}
|
|
6606
6470
|
case "invalid_value": {
|
|
6607
6471
|
if (issue.values.length === 1) {
|
|
6608
|
-
return `ערך לא תקין: הערך חייב להיות ${stringifyPrimitive(issue.values[0])}`;
|
|
6472
|
+
return `ערך לא תקין: הערך חייב להיות ${util.stringifyPrimitive(issue.values[0])}`;
|
|
6609
6473
|
}
|
|
6610
6474
|
// Join values with proper Hebrew formatting
|
|
6611
|
-
const stringified = issue.values.map((v) => stringifyPrimitive(v));
|
|
6475
|
+
const stringified = issue.values.map((v) => util.stringifyPrimitive(v));
|
|
6612
6476
|
if (issue.values.length === 2) {
|
|
6613
6477
|
return `ערך לא תקין: האפשרויות המתאימות הן ${stringified[0]} או ${stringified[1]}`;
|
|
6614
6478
|
}
|
|
@@ -6697,7 +6561,7 @@ const he_error = () => {
|
|
|
6697
6561
|
case "not_multiple_of":
|
|
6698
6562
|
return `מספר לא תקין: חייב להיות מכפלה של ${issue.divisor}`;
|
|
6699
6563
|
case "unrecognized_keys":
|
|
6700
|
-
return `מפתח${issue.keys.length > 1 ? "ות" : ""} לא מזוה${issue.keys.length > 1 ? "ים" : "ה"}: ${joinValues(issue.keys, ", ")}`;
|
|
6564
|
+
return `מפתח${issue.keys.length > 1 ? "ות" : ""} לא מזוה${issue.keys.length > 1 ? "ים" : "ה"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
6701
6565
|
case "invalid_key": {
|
|
6702
6566
|
return `שדה לא תקין באובייקט`;
|
|
6703
6567
|
}
|
|
@@ -6769,7 +6633,7 @@ const hu_error = () => {
|
|
|
6769
6633
|
switch (issue.code) {
|
|
6770
6634
|
case "invalid_type": {
|
|
6771
6635
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
6772
|
-
const receivedType = parsedType(issue.input);
|
|
6636
|
+
const receivedType = util.parsedType(issue.input);
|
|
6773
6637
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
6774
6638
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
6775
6639
|
return `Érvénytelen bemenet: a várt érték instanceof ${issue.expected}, a kapott érték ${received}`;
|
|
@@ -6778,8 +6642,8 @@ const hu_error = () => {
|
|
|
6778
6642
|
}
|
|
6779
6643
|
case "invalid_value":
|
|
6780
6644
|
if (issue.values.length === 1)
|
|
6781
|
-
return `Érvénytelen bemenet: a várt érték ${stringifyPrimitive(issue.values[0])}`;
|
|
6782
|
-
return `Érvénytelen opció: valamelyik érték várt ${joinValues(issue.values, "|")}`;
|
|
6645
|
+
return `Érvénytelen bemenet: a várt érték ${util.stringifyPrimitive(issue.values[0])}`;
|
|
6646
|
+
return `Érvénytelen opció: valamelyik érték várt ${util.joinValues(issue.values, "|")}`;
|
|
6783
6647
|
case "too_big": {
|
|
6784
6648
|
const adj = issue.inclusive ? "<=" : "<";
|
|
6785
6649
|
const sizing = getSizing(issue.origin);
|
|
@@ -6810,7 +6674,7 @@ const hu_error = () => {
|
|
|
6810
6674
|
case "not_multiple_of":
|
|
6811
6675
|
return `Érvénytelen szám: ${issue.divisor} többszörösének kell lennie`;
|
|
6812
6676
|
case "unrecognized_keys":
|
|
6813
|
-
return `Ismeretlen kulcs${issue.keys.length > 1 ? "s" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
6677
|
+
return `Ismeretlen kulcs${issue.keys.length > 1 ? "s" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
6814
6678
|
case "invalid_key":
|
|
6815
6679
|
return `Érvénytelen kulcs ${issue.origin}`;
|
|
6816
6680
|
case "invalid_union":
|
|
@@ -6913,7 +6777,7 @@ const hy_error = () => {
|
|
|
6913
6777
|
switch (issue.code) {
|
|
6914
6778
|
case "invalid_type": {
|
|
6915
6779
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
6916
|
-
const receivedType = parsedType(issue.input);
|
|
6780
|
+
const receivedType = util.parsedType(issue.input);
|
|
6917
6781
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
6918
6782
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
6919
6783
|
return `Սխալ մուտքագրում․ սպասվում էր instanceof ${issue.expected}, ստացվել է ${received}`;
|
|
@@ -6922,8 +6786,8 @@ const hy_error = () => {
|
|
|
6922
6786
|
}
|
|
6923
6787
|
case "invalid_value":
|
|
6924
6788
|
if (issue.values.length === 1)
|
|
6925
|
-
return `Սխալ մուտքագրում․ սպասվում էր ${stringifyPrimitive(issue.values[1])}`;
|
|
6926
|
-
return `Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${joinValues(issue.values, "|")}`;
|
|
6789
|
+
return `Սխալ մուտքագրում․ սպասվում էր ${util.stringifyPrimitive(issue.values[1])}`;
|
|
6790
|
+
return `Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${util.joinValues(issue.values, "|")}`;
|
|
6927
6791
|
case "too_big": {
|
|
6928
6792
|
const adj = issue.inclusive ? "<=" : "<";
|
|
6929
6793
|
const sizing = getSizing(issue.origin);
|
|
@@ -6959,7 +6823,7 @@ const hy_error = () => {
|
|
|
6959
6823
|
case "not_multiple_of":
|
|
6960
6824
|
return `Սխալ թիվ․ պետք է բազմապատիկ լինի ${issue.divisor}-ի`;
|
|
6961
6825
|
case "unrecognized_keys":
|
|
6962
|
-
return `Չճանաչված բանալի${issue.keys.length > 1 ? "ներ" : ""}. ${joinValues(issue.keys, ", ")}`;
|
|
6826
|
+
return `Չճանաչված բանալի${issue.keys.length > 1 ? "ներ" : ""}. ${util.joinValues(issue.keys, ", ")}`;
|
|
6963
6827
|
case "invalid_key":
|
|
6964
6828
|
return `Սխալ բանալի ${withDefiniteArticle(issue.origin)}-ում`;
|
|
6965
6829
|
case "invalid_union":
|
|
@@ -7026,7 +6890,7 @@ const id_error = () => {
|
|
|
7026
6890
|
switch (issue.code) {
|
|
7027
6891
|
case "invalid_type": {
|
|
7028
6892
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
7029
|
-
const receivedType = parsedType(issue.input);
|
|
6893
|
+
const receivedType = util.parsedType(issue.input);
|
|
7030
6894
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
7031
6895
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
7032
6896
|
return `Input tidak valid: diharapkan instanceof ${issue.expected}, diterima ${received}`;
|
|
@@ -7035,8 +6899,8 @@ const id_error = () => {
|
|
|
7035
6899
|
}
|
|
7036
6900
|
case "invalid_value":
|
|
7037
6901
|
if (issue.values.length === 1)
|
|
7038
|
-
return `Input tidak valid: diharapkan ${stringifyPrimitive(issue.values[0])}`;
|
|
7039
|
-
return `Pilihan tidak valid: diharapkan salah satu dari ${joinValues(issue.values, "|")}`;
|
|
6902
|
+
return `Input tidak valid: diharapkan ${util.stringifyPrimitive(issue.values[0])}`;
|
|
6903
|
+
return `Pilihan tidak valid: diharapkan salah satu dari ${util.joinValues(issue.values, "|")}`;
|
|
7040
6904
|
case "too_big": {
|
|
7041
6905
|
const adj = issue.inclusive ? "<=" : "<";
|
|
7042
6906
|
const sizing = getSizing(issue.origin);
|
|
@@ -7067,7 +6931,7 @@ const id_error = () => {
|
|
|
7067
6931
|
case "not_multiple_of":
|
|
7068
6932
|
return `Angka tidak valid: harus kelipatan dari ${issue.divisor}`;
|
|
7069
6933
|
case "unrecognized_keys":
|
|
7070
|
-
return `Kunci tidak dikenali ${issue.keys.length > 1 ? "s" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
6934
|
+
return `Kunci tidak dikenali ${issue.keys.length > 1 ? "s" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
7071
6935
|
case "invalid_key":
|
|
7072
6936
|
return `Kunci tidak valid di ${issue.origin}`;
|
|
7073
6937
|
case "invalid_union":
|
|
@@ -7136,7 +7000,7 @@ const is_error = () => {
|
|
|
7136
7000
|
switch (issue.code) {
|
|
7137
7001
|
case "invalid_type": {
|
|
7138
7002
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
7139
|
-
const receivedType = parsedType(issue.input);
|
|
7003
|
+
const receivedType = util.parsedType(issue.input);
|
|
7140
7004
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
7141
7005
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
7142
7006
|
return `Rangt gildi: Þú slóst inn ${received} þar sem á að vera instanceof ${issue.expected}`;
|
|
@@ -7145,8 +7009,8 @@ const is_error = () => {
|
|
|
7145
7009
|
}
|
|
7146
7010
|
case "invalid_value":
|
|
7147
7011
|
if (issue.values.length === 1)
|
|
7148
|
-
return `Rangt gildi: gert ráð fyrir ${stringifyPrimitive(issue.values[0])}`;
|
|
7149
|
-
return `Ógilt val: má vera eitt af eftirfarandi ${joinValues(issue.values, "|")}`;
|
|
7012
|
+
return `Rangt gildi: gert ráð fyrir ${util.stringifyPrimitive(issue.values[0])}`;
|
|
7013
|
+
return `Ógilt val: má vera eitt af eftirfarandi ${util.joinValues(issue.values, "|")}`;
|
|
7150
7014
|
case "too_big": {
|
|
7151
7015
|
const adj = issue.inclusive ? "<=" : "<";
|
|
7152
7016
|
const sizing = getSizing(issue.origin);
|
|
@@ -7178,7 +7042,7 @@ const is_error = () => {
|
|
|
7178
7042
|
case "not_multiple_of":
|
|
7179
7043
|
return `Röng tala: verður að vera margfeldi af ${issue.divisor}`;
|
|
7180
7044
|
case "unrecognized_keys":
|
|
7181
|
-
return `Óþekkt ${issue.keys.length > 1 ? "ir lyklar" : "ur lykill"}: ${joinValues(issue.keys, ", ")}`;
|
|
7045
|
+
return `Óþekkt ${issue.keys.length > 1 ? "ir lyklar" : "ur lykill"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
7182
7046
|
case "invalid_key":
|
|
7183
7047
|
return `Rangur lykill í ${issue.origin}`;
|
|
7184
7048
|
case "invalid_union":
|
|
@@ -7247,7 +7111,7 @@ const it_error = () => {
|
|
|
7247
7111
|
switch (issue.code) {
|
|
7248
7112
|
case "invalid_type": {
|
|
7249
7113
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
7250
|
-
const receivedType = parsedType(issue.input);
|
|
7114
|
+
const receivedType = util.parsedType(issue.input);
|
|
7251
7115
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
7252
7116
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
7253
7117
|
return `Input non valido: atteso instanceof ${issue.expected}, ricevuto ${received}`;
|
|
@@ -7256,8 +7120,8 @@ const it_error = () => {
|
|
|
7256
7120
|
}
|
|
7257
7121
|
case "invalid_value":
|
|
7258
7122
|
if (issue.values.length === 1)
|
|
7259
|
-
return `Input non valido: atteso ${stringifyPrimitive(issue.values[0])}`;
|
|
7260
|
-
return `Opzione non valida: atteso uno tra ${joinValues(issue.values, "|")}`;
|
|
7123
|
+
return `Input non valido: atteso ${util.stringifyPrimitive(issue.values[0])}`;
|
|
7124
|
+
return `Opzione non valida: atteso uno tra ${util.joinValues(issue.values, "|")}`;
|
|
7261
7125
|
case "too_big": {
|
|
7262
7126
|
const adj = issue.inclusive ? "<=" : "<";
|
|
7263
7127
|
const sizing = getSizing(issue.origin);
|
|
@@ -7288,7 +7152,7 @@ const it_error = () => {
|
|
|
7288
7152
|
case "not_multiple_of":
|
|
7289
7153
|
return `Numero non valido: deve essere un multiplo di ${issue.divisor}`;
|
|
7290
7154
|
case "unrecognized_keys":
|
|
7291
|
-
return `Chiav${issue.keys.length > 1 ? "i" : "e"} non riconosciut${issue.keys.length > 1 ? "e" : "a"}: ${joinValues(issue.keys, ", ")}`;
|
|
7155
|
+
return `Chiav${issue.keys.length > 1 ? "i" : "e"} non riconosciut${issue.keys.length > 1 ? "e" : "a"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
7292
7156
|
case "invalid_key":
|
|
7293
7157
|
return `Chiave non valida in ${issue.origin}`;
|
|
7294
7158
|
case "invalid_union":
|
|
@@ -7357,7 +7221,7 @@ const ja_error = () => {
|
|
|
7357
7221
|
switch (issue.code) {
|
|
7358
7222
|
case "invalid_type": {
|
|
7359
7223
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
7360
|
-
const receivedType = parsedType(issue.input);
|
|
7224
|
+
const receivedType = util.parsedType(issue.input);
|
|
7361
7225
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
7362
7226
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
7363
7227
|
return `無効な入力: instanceof ${issue.expected}が期待されましたが、${received}が入力されました`;
|
|
@@ -7366,8 +7230,8 @@ const ja_error = () => {
|
|
|
7366
7230
|
}
|
|
7367
7231
|
case "invalid_value":
|
|
7368
7232
|
if (issue.values.length === 1)
|
|
7369
|
-
return `無効な入力: ${stringifyPrimitive(issue.values[0])}が期待されました`;
|
|
7370
|
-
return `無効な選択: ${joinValues(issue.values, "、")}のいずれかである必要があります`;
|
|
7233
|
+
return `無効な入力: ${util.stringifyPrimitive(issue.values[0])}が期待されました`;
|
|
7234
|
+
return `無効な選択: ${util.joinValues(issue.values, "、")}のいずれかである必要があります`;
|
|
7371
7235
|
case "too_big": {
|
|
7372
7236
|
const adj = issue.inclusive ? "以下である" : "より小さい";
|
|
7373
7237
|
const sizing = getSizing(issue.origin);
|
|
@@ -7397,7 +7261,7 @@ const ja_error = () => {
|
|
|
7397
7261
|
case "not_multiple_of":
|
|
7398
7262
|
return `無効な数値: ${issue.divisor}の倍数である必要があります`;
|
|
7399
7263
|
case "unrecognized_keys":
|
|
7400
|
-
return `認識されていないキー${issue.keys.length > 1 ? "群" : ""}: ${joinValues(issue.keys, "、")}`;
|
|
7264
|
+
return `認識されていないキー${issue.keys.length > 1 ? "群" : ""}: ${util.joinValues(issue.keys, "、")}`;
|
|
7401
7265
|
case "invalid_key":
|
|
7402
7266
|
return `${issue.origin}内の無効なキー`;
|
|
7403
7267
|
case "invalid_union":
|
|
@@ -7469,7 +7333,7 @@ const ka_error = () => {
|
|
|
7469
7333
|
switch (issue.code) {
|
|
7470
7334
|
case "invalid_type": {
|
|
7471
7335
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
7472
|
-
const receivedType = parsedType(issue.input);
|
|
7336
|
+
const receivedType = util.parsedType(issue.input);
|
|
7473
7337
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
7474
7338
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
7475
7339
|
return `არასწორი შეყვანა: მოსალოდნელი instanceof ${issue.expected}, მიღებული ${received}`;
|
|
@@ -7478,8 +7342,8 @@ const ka_error = () => {
|
|
|
7478
7342
|
}
|
|
7479
7343
|
case "invalid_value":
|
|
7480
7344
|
if (issue.values.length === 1)
|
|
7481
|
-
return `არასწორი შეყვანა: მოსალოდნელი ${stringifyPrimitive(issue.values[0])}`;
|
|
7482
|
-
return `არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${joinValues(issue.values, "|")}-დან`;
|
|
7345
|
+
return `არასწორი შეყვანა: მოსალოდნელი ${util.stringifyPrimitive(issue.values[0])}`;
|
|
7346
|
+
return `არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${util.joinValues(issue.values, "|")}-დან`;
|
|
7483
7347
|
case "too_big": {
|
|
7484
7348
|
const adj = issue.inclusive ? "<=" : "<";
|
|
7485
7349
|
const sizing = getSizing(issue.origin);
|
|
@@ -7511,7 +7375,7 @@ const ka_error = () => {
|
|
|
7511
7375
|
case "not_multiple_of":
|
|
7512
7376
|
return `არასწორი რიცხვი: უნდა იყოს ${issue.divisor}-ის ჯერადი`;
|
|
7513
7377
|
case "unrecognized_keys":
|
|
7514
|
-
return `უცნობი გასაღებ${issue.keys.length > 1 ? "ები" : "ი"}: ${joinValues(issue.keys, ", ")}`;
|
|
7378
|
+
return `უცნობი გასაღებ${issue.keys.length > 1 ? "ები" : "ი"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
7515
7379
|
case "invalid_key":
|
|
7516
7380
|
return `არასწორი გასაღები ${issue.origin}-ში`;
|
|
7517
7381
|
case "invalid_union":
|
|
@@ -7581,7 +7445,7 @@ const km_error = () => {
|
|
|
7581
7445
|
switch (issue.code) {
|
|
7582
7446
|
case "invalid_type": {
|
|
7583
7447
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
7584
|
-
const receivedType = parsedType(issue.input);
|
|
7448
|
+
const receivedType = util.parsedType(issue.input);
|
|
7585
7449
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
7586
7450
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
7587
7451
|
return `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${issue.expected} ប៉ុន្តែទទួលបាន ${received}`;
|
|
@@ -7590,8 +7454,8 @@ const km_error = () => {
|
|
|
7590
7454
|
}
|
|
7591
7455
|
case "invalid_value":
|
|
7592
7456
|
if (issue.values.length === 1)
|
|
7593
|
-
return `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${stringifyPrimitive(issue.values[0])}`;
|
|
7594
|
-
return `ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${joinValues(issue.values, "|")}`;
|
|
7457
|
+
return `ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${util.stringifyPrimitive(issue.values[0])}`;
|
|
7458
|
+
return `ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${util.joinValues(issue.values, "|")}`;
|
|
7595
7459
|
case "too_big": {
|
|
7596
7460
|
const adj = issue.inclusive ? "<=" : "<";
|
|
7597
7461
|
const sizing = getSizing(issue.origin);
|
|
@@ -7623,7 +7487,7 @@ const km_error = () => {
|
|
|
7623
7487
|
case "not_multiple_of":
|
|
7624
7488
|
return `លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${issue.divisor}`;
|
|
7625
7489
|
case "unrecognized_keys":
|
|
7626
|
-
return `រកឃើញសោមិនស្គាល់៖ ${joinValues(issue.keys, ", ")}`;
|
|
7490
|
+
return `រកឃើញសោមិនស្គាល់៖ ${util.joinValues(issue.keys, ", ")}`;
|
|
7627
7491
|
case "invalid_key":
|
|
7628
7492
|
return `សោមិនត្រឹមត្រូវនៅក្នុង ${issue.origin}`;
|
|
7629
7493
|
case "invalid_union":
|
|
@@ -7635,7 +7499,7 @@ const km_error = () => {
|
|
|
7635
7499
|
}
|
|
7636
7500
|
};
|
|
7637
7501
|
};
|
|
7638
|
-
/* export default */ function
|
|
7502
|
+
/* export default */ function locales_km() {
|
|
7639
7503
|
return {
|
|
7640
7504
|
localeError: km_error(),
|
|
7641
7505
|
};
|
|
@@ -7697,7 +7561,7 @@ const ko_error = () => {
|
|
|
7697
7561
|
switch (issue.code) {
|
|
7698
7562
|
case "invalid_type": {
|
|
7699
7563
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
7700
|
-
const receivedType = parsedType(issue.input);
|
|
7564
|
+
const receivedType = util.parsedType(issue.input);
|
|
7701
7565
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
7702
7566
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
7703
7567
|
return `잘못된 입력: 예상 타입은 instanceof ${issue.expected}, 받은 타입은 ${received}입니다`;
|
|
@@ -7706,8 +7570,8 @@ const ko_error = () => {
|
|
|
7706
7570
|
}
|
|
7707
7571
|
case "invalid_value":
|
|
7708
7572
|
if (issue.values.length === 1)
|
|
7709
|
-
return `잘못된 입력: 값은 ${stringifyPrimitive(issue.values[0])} 이어야 합니다`;
|
|
7710
|
-
return `잘못된 옵션: ${joinValues(issue.values, "또는 ")} 중 하나여야 합니다`;
|
|
7573
|
+
return `잘못된 입력: 값은 ${util.stringifyPrimitive(issue.values[0])} 이어야 합니다`;
|
|
7574
|
+
return `잘못된 옵션: ${util.joinValues(issue.values, "또는 ")} 중 하나여야 합니다`;
|
|
7711
7575
|
case "too_big": {
|
|
7712
7576
|
const adj = issue.inclusive ? "이하" : "미만";
|
|
7713
7577
|
const suffix = adj === "미만" ? "이어야 합니다" : "여야 합니다";
|
|
@@ -7743,7 +7607,7 @@ const ko_error = () => {
|
|
|
7743
7607
|
case "not_multiple_of":
|
|
7744
7608
|
return `잘못된 숫자: ${issue.divisor}의 배수여야 합니다`;
|
|
7745
7609
|
case "unrecognized_keys":
|
|
7746
|
-
return `인식할 수 없는 키: ${joinValues(issue.keys, ", ")}`;
|
|
7610
|
+
return `인식할 수 없는 키: ${util.joinValues(issue.keys, ", ")}`;
|
|
7747
7611
|
case "invalid_key":
|
|
7748
7612
|
return `잘못된 키: ${issue.origin}`;
|
|
7749
7613
|
case "invalid_union":
|
|
@@ -7903,7 +7767,7 @@ const lt_error = () => {
|
|
|
7903
7767
|
switch (issue.code) {
|
|
7904
7768
|
case "invalid_type": {
|
|
7905
7769
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
7906
|
-
const receivedType = parsedType(issue.input);
|
|
7770
|
+
const receivedType = util.parsedType(issue.input);
|
|
7907
7771
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
7908
7772
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
7909
7773
|
return `Gautas tipas ${received}, o tikėtasi - instanceof ${issue.expected}`;
|
|
@@ -7912,8 +7776,8 @@ const lt_error = () => {
|
|
|
7912
7776
|
}
|
|
7913
7777
|
case "invalid_value":
|
|
7914
7778
|
if (issue.values.length === 1)
|
|
7915
|
-
return `Privalo būti ${stringifyPrimitive(issue.values[0])}`;
|
|
7916
|
-
return `Privalo būti vienas iš ${joinValues(issue.values, "|")} pasirinkimų`;
|
|
7779
|
+
return `Privalo būti ${util.stringifyPrimitive(issue.values[0])}`;
|
|
7780
|
+
return `Privalo būti vienas iš ${util.joinValues(issue.values, "|")} pasirinkimų`;
|
|
7917
7781
|
case "too_big": {
|
|
7918
7782
|
const origin = TypeDictionary[issue.origin] ?? issue.origin;
|
|
7919
7783
|
const sizing = getSizing(issue.origin, getUnitTypeFromNumber(Number(issue.maximum)), issue.inclusive ?? false, "smaller");
|
|
@@ -7946,7 +7810,7 @@ const lt_error = () => {
|
|
|
7946
7810
|
case "not_multiple_of":
|
|
7947
7811
|
return `Skaičius privalo būti ${issue.divisor} kartotinis.`;
|
|
7948
7812
|
case "unrecognized_keys":
|
|
7949
|
-
return `Neatpažint${issue.keys.length > 1 ? "i" : "as"} rakt${issue.keys.length > 1 ? "ai" : "as"}: ${joinValues(issue.keys, ", ")}`;
|
|
7813
|
+
return `Neatpažint${issue.keys.length > 1 ? "i" : "as"} rakt${issue.keys.length > 1 ? "ai" : "as"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
7950
7814
|
case "invalid_key":
|
|
7951
7815
|
return "Rastas klaidingas raktas";
|
|
7952
7816
|
case "invalid_union":
|
|
@@ -8017,7 +7881,7 @@ const mk_error = () => {
|
|
|
8017
7881
|
switch (issue.code) {
|
|
8018
7882
|
case "invalid_type": {
|
|
8019
7883
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
8020
|
-
const receivedType = parsedType(issue.input);
|
|
7884
|
+
const receivedType = util.parsedType(issue.input);
|
|
8021
7885
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
8022
7886
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
8023
7887
|
return `Грешен внес: се очекува instanceof ${issue.expected}, примено ${received}`;
|
|
@@ -8026,8 +7890,8 @@ const mk_error = () => {
|
|
|
8026
7890
|
}
|
|
8027
7891
|
case "invalid_value":
|
|
8028
7892
|
if (issue.values.length === 1)
|
|
8029
|
-
return `Invalid input: expected ${stringifyPrimitive(issue.values[0])}`;
|
|
8030
|
-
return `Грешана опција: се очекува една ${joinValues(issue.values, "|")}`;
|
|
7893
|
+
return `Invalid input: expected ${util.stringifyPrimitive(issue.values[0])}`;
|
|
7894
|
+
return `Грешана опција: се очекува една ${util.joinValues(issue.values, "|")}`;
|
|
8031
7895
|
case "too_big": {
|
|
8032
7896
|
const adj = issue.inclusive ? "<=" : "<";
|
|
8033
7897
|
const sizing = getSizing(issue.origin);
|
|
@@ -8059,7 +7923,7 @@ const mk_error = () => {
|
|
|
8059
7923
|
case "not_multiple_of":
|
|
8060
7924
|
return `Грешен број: мора да биде делив со ${issue.divisor}`;
|
|
8061
7925
|
case "unrecognized_keys":
|
|
8062
|
-
return `${issue.keys.length > 1 ? "Непрепознаени клучеви" : "Непрепознаен клуч"}: ${joinValues(issue.keys, ", ")}`;
|
|
7926
|
+
return `${issue.keys.length > 1 ? "Непрепознаени клучеви" : "Непрепознаен клуч"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
8063
7927
|
case "invalid_key":
|
|
8064
7928
|
return `Грешен клуч во ${issue.origin}`;
|
|
8065
7929
|
case "invalid_union":
|
|
@@ -8127,7 +7991,7 @@ const ms_error = () => {
|
|
|
8127
7991
|
switch (issue.code) {
|
|
8128
7992
|
case "invalid_type": {
|
|
8129
7993
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
8130
|
-
const receivedType = parsedType(issue.input);
|
|
7994
|
+
const receivedType = util.parsedType(issue.input);
|
|
8131
7995
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
8132
7996
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
8133
7997
|
return `Input tidak sah: dijangka instanceof ${issue.expected}, diterima ${received}`;
|
|
@@ -8136,8 +8000,8 @@ const ms_error = () => {
|
|
|
8136
8000
|
}
|
|
8137
8001
|
case "invalid_value":
|
|
8138
8002
|
if (issue.values.length === 1)
|
|
8139
|
-
return `Input tidak sah: dijangka ${stringifyPrimitive(issue.values[0])}`;
|
|
8140
|
-
return `Pilihan tidak sah: dijangka salah satu daripada ${joinValues(issue.values, "|")}`;
|
|
8003
|
+
return `Input tidak sah: dijangka ${util.stringifyPrimitive(issue.values[0])}`;
|
|
8004
|
+
return `Pilihan tidak sah: dijangka salah satu daripada ${util.joinValues(issue.values, "|")}`;
|
|
8141
8005
|
case "too_big": {
|
|
8142
8006
|
const adj = issue.inclusive ? "<=" : "<";
|
|
8143
8007
|
const sizing = getSizing(issue.origin);
|
|
@@ -8168,7 +8032,7 @@ const ms_error = () => {
|
|
|
8168
8032
|
case "not_multiple_of":
|
|
8169
8033
|
return `Nombor tidak sah: perlu gandaan ${issue.divisor}`;
|
|
8170
8034
|
case "unrecognized_keys":
|
|
8171
|
-
return `Kunci tidak dikenali: ${joinValues(issue.keys, ", ")}`;
|
|
8035
|
+
return `Kunci tidak dikenali: ${util.joinValues(issue.keys, ", ")}`;
|
|
8172
8036
|
case "invalid_key":
|
|
8173
8037
|
return `Kunci tidak sah dalam ${issue.origin}`;
|
|
8174
8038
|
case "invalid_union":
|
|
@@ -8236,7 +8100,7 @@ const nl_error = () => {
|
|
|
8236
8100
|
switch (issue.code) {
|
|
8237
8101
|
case "invalid_type": {
|
|
8238
8102
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
8239
|
-
const receivedType = parsedType(issue.input);
|
|
8103
|
+
const receivedType = util.parsedType(issue.input);
|
|
8240
8104
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
8241
8105
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
8242
8106
|
return `Ongeldige invoer: verwacht instanceof ${issue.expected}, ontving ${received}`;
|
|
@@ -8245,8 +8109,8 @@ const nl_error = () => {
|
|
|
8245
8109
|
}
|
|
8246
8110
|
case "invalid_value":
|
|
8247
8111
|
if (issue.values.length === 1)
|
|
8248
|
-
return `Ongeldige invoer: verwacht ${stringifyPrimitive(issue.values[0])}`;
|
|
8249
|
-
return `Ongeldige optie: verwacht één van ${joinValues(issue.values, "|")}`;
|
|
8112
|
+
return `Ongeldige invoer: verwacht ${util.stringifyPrimitive(issue.values[0])}`;
|
|
8113
|
+
return `Ongeldige optie: verwacht één van ${util.joinValues(issue.values, "|")}`;
|
|
8250
8114
|
case "too_big": {
|
|
8251
8115
|
const adj = issue.inclusive ? "<=" : "<";
|
|
8252
8116
|
const sizing = getSizing(issue.origin);
|
|
@@ -8280,7 +8144,7 @@ const nl_error = () => {
|
|
|
8280
8144
|
case "not_multiple_of":
|
|
8281
8145
|
return `Ongeldig getal: moet een veelvoud van ${issue.divisor} zijn`;
|
|
8282
8146
|
case "unrecognized_keys":
|
|
8283
|
-
return `Onbekende key${issue.keys.length > 1 ? "s" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
8147
|
+
return `Onbekende key${issue.keys.length > 1 ? "s" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
8284
8148
|
case "invalid_key":
|
|
8285
8149
|
return `Ongeldige key in ${issue.origin}`;
|
|
8286
8150
|
case "invalid_union":
|
|
@@ -8349,7 +8213,7 @@ const no_error = () => {
|
|
|
8349
8213
|
switch (issue.code) {
|
|
8350
8214
|
case "invalid_type": {
|
|
8351
8215
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
8352
|
-
const receivedType = parsedType(issue.input);
|
|
8216
|
+
const receivedType = util.parsedType(issue.input);
|
|
8353
8217
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
8354
8218
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
8355
8219
|
return `Ugyldig input: forventet instanceof ${issue.expected}, fikk ${received}`;
|
|
@@ -8358,8 +8222,8 @@ const no_error = () => {
|
|
|
8358
8222
|
}
|
|
8359
8223
|
case "invalid_value":
|
|
8360
8224
|
if (issue.values.length === 1)
|
|
8361
|
-
return `Ugyldig verdi: forventet ${stringifyPrimitive(issue.values[0])}`;
|
|
8362
|
-
return `Ugyldig valg: forventet en av ${joinValues(issue.values, "|")}`;
|
|
8225
|
+
return `Ugyldig verdi: forventet ${util.stringifyPrimitive(issue.values[0])}`;
|
|
8226
|
+
return `Ugyldig valg: forventet en av ${util.joinValues(issue.values, "|")}`;
|
|
8363
8227
|
case "too_big": {
|
|
8364
8228
|
const adj = issue.inclusive ? "<=" : "<";
|
|
8365
8229
|
const sizing = getSizing(issue.origin);
|
|
@@ -8390,7 +8254,7 @@ const no_error = () => {
|
|
|
8390
8254
|
case "not_multiple_of":
|
|
8391
8255
|
return `Ugyldig tall: må være et multiplum av ${issue.divisor}`;
|
|
8392
8256
|
case "unrecognized_keys":
|
|
8393
|
-
return `${issue.keys.length > 1 ? "Ukjente nøkler" : "Ukjent nøkkel"}: ${joinValues(issue.keys, ", ")}`;
|
|
8257
|
+
return `${issue.keys.length > 1 ? "Ukjente nøkler" : "Ukjent nøkkel"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
8394
8258
|
case "invalid_key":
|
|
8395
8259
|
return `Ugyldig nøkkel i ${issue.origin}`;
|
|
8396
8260
|
case "invalid_union":
|
|
@@ -8460,7 +8324,7 @@ const ota_error = () => {
|
|
|
8460
8324
|
switch (issue.code) {
|
|
8461
8325
|
case "invalid_type": {
|
|
8462
8326
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
8463
|
-
const receivedType = parsedType(issue.input);
|
|
8327
|
+
const receivedType = util.parsedType(issue.input);
|
|
8464
8328
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
8465
8329
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
8466
8330
|
return `Fâsit giren: umulan instanceof ${issue.expected}, alınan ${received}`;
|
|
@@ -8469,8 +8333,8 @@ const ota_error = () => {
|
|
|
8469
8333
|
}
|
|
8470
8334
|
case "invalid_value":
|
|
8471
8335
|
if (issue.values.length === 1)
|
|
8472
|
-
return `Fâsit giren: umulan ${stringifyPrimitive(issue.values[0])}`;
|
|
8473
|
-
return `Fâsit tercih: mûteberler ${joinValues(issue.values, "|")}`;
|
|
8336
|
+
return `Fâsit giren: umulan ${util.stringifyPrimitive(issue.values[0])}`;
|
|
8337
|
+
return `Fâsit tercih: mûteberler ${util.joinValues(issue.values, "|")}`;
|
|
8474
8338
|
case "too_big": {
|
|
8475
8339
|
const adj = issue.inclusive ? "<=" : "<";
|
|
8476
8340
|
const sizing = getSizing(issue.origin);
|
|
@@ -8501,7 +8365,7 @@ const ota_error = () => {
|
|
|
8501
8365
|
case "not_multiple_of":
|
|
8502
8366
|
return `Fâsit sayı: ${issue.divisor} katı olmalıydı.`;
|
|
8503
8367
|
case "unrecognized_keys":
|
|
8504
|
-
return `Tanınmayan anahtar ${issue.keys.length > 1 ? "s" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
8368
|
+
return `Tanınmayan anahtar ${issue.keys.length > 1 ? "s" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
8505
8369
|
case "invalid_key":
|
|
8506
8370
|
return `${issue.origin} için tanınmayan anahtar var.`;
|
|
8507
8371
|
case "invalid_union":
|
|
@@ -8570,7 +8434,7 @@ const ps_error = () => {
|
|
|
8570
8434
|
switch (issue.code) {
|
|
8571
8435
|
case "invalid_type": {
|
|
8572
8436
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
8573
|
-
const receivedType = parsedType(issue.input);
|
|
8437
|
+
const receivedType = util.parsedType(issue.input);
|
|
8574
8438
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
8575
8439
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
8576
8440
|
return `ناسم ورودي: باید instanceof ${issue.expected} وای, مګر ${received} ترلاسه شو`;
|
|
@@ -8579,9 +8443,9 @@ const ps_error = () => {
|
|
|
8579
8443
|
}
|
|
8580
8444
|
case "invalid_value":
|
|
8581
8445
|
if (issue.values.length === 1) {
|
|
8582
|
-
return `ناسم ورودي: باید ${stringifyPrimitive(issue.values[0])} وای`;
|
|
8446
|
+
return `ناسم ورودي: باید ${util.stringifyPrimitive(issue.values[0])} وای`;
|
|
8583
8447
|
}
|
|
8584
|
-
return `ناسم انتخاب: باید یو له ${joinValues(issue.values, "|")} څخه وای`;
|
|
8448
|
+
return `ناسم انتخاب: باید یو له ${util.joinValues(issue.values, "|")} څخه وای`;
|
|
8585
8449
|
case "too_big": {
|
|
8586
8450
|
const adj = issue.inclusive ? "<=" : "<";
|
|
8587
8451
|
const sizing = getSizing(issue.origin);
|
|
@@ -8617,7 +8481,7 @@ const ps_error = () => {
|
|
|
8617
8481
|
case "not_multiple_of":
|
|
8618
8482
|
return `ناسم عدد: باید د ${issue.divisor} مضرب وي`;
|
|
8619
8483
|
case "unrecognized_keys":
|
|
8620
|
-
return `ناسم ${issue.keys.length > 1 ? "کلیډونه" : "کلیډ"}: ${joinValues(issue.keys, ", ")}`;
|
|
8484
|
+
return `ناسم ${issue.keys.length > 1 ? "کلیډونه" : "کلیډ"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
8621
8485
|
case "invalid_key":
|
|
8622
8486
|
return `ناسم کلیډ په ${issue.origin} کې`;
|
|
8623
8487
|
case "invalid_union":
|
|
@@ -8686,7 +8550,7 @@ const pl_error = () => {
|
|
|
8686
8550
|
switch (issue.code) {
|
|
8687
8551
|
case "invalid_type": {
|
|
8688
8552
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
8689
|
-
const receivedType = parsedType(issue.input);
|
|
8553
|
+
const receivedType = util.parsedType(issue.input);
|
|
8690
8554
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
8691
8555
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
8692
8556
|
return `Nieprawidłowe dane wejściowe: oczekiwano instanceof ${issue.expected}, otrzymano ${received}`;
|
|
@@ -8695,8 +8559,8 @@ const pl_error = () => {
|
|
|
8695
8559
|
}
|
|
8696
8560
|
case "invalid_value":
|
|
8697
8561
|
if (issue.values.length === 1)
|
|
8698
|
-
return `Nieprawidłowe dane wejściowe: oczekiwano ${stringifyPrimitive(issue.values[0])}`;
|
|
8699
|
-
return `Nieprawidłowa opcja: oczekiwano jednej z wartości ${joinValues(issue.values, "|")}`;
|
|
8562
|
+
return `Nieprawidłowe dane wejściowe: oczekiwano ${util.stringifyPrimitive(issue.values[0])}`;
|
|
8563
|
+
return `Nieprawidłowa opcja: oczekiwano jednej z wartości ${util.joinValues(issue.values, "|")}`;
|
|
8700
8564
|
case "too_big": {
|
|
8701
8565
|
const adj = issue.inclusive ? "<=" : "<";
|
|
8702
8566
|
const sizing = getSizing(issue.origin);
|
|
@@ -8728,7 +8592,7 @@ const pl_error = () => {
|
|
|
8728
8592
|
case "not_multiple_of":
|
|
8729
8593
|
return `Nieprawidłowa liczba: musi być wielokrotnością ${issue.divisor}`;
|
|
8730
8594
|
case "unrecognized_keys":
|
|
8731
|
-
return `Nierozpoznane klucze${issue.keys.length > 1 ? "s" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
8595
|
+
return `Nierozpoznane klucze${issue.keys.length > 1 ? "s" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
8732
8596
|
case "invalid_key":
|
|
8733
8597
|
return `Nieprawidłowy klucz w ${issue.origin}`;
|
|
8734
8598
|
case "invalid_union":
|
|
@@ -8797,7 +8661,7 @@ const pt_error = () => {
|
|
|
8797
8661
|
switch (issue.code) {
|
|
8798
8662
|
case "invalid_type": {
|
|
8799
8663
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
8800
|
-
const receivedType = parsedType(issue.input);
|
|
8664
|
+
const receivedType = util.parsedType(issue.input);
|
|
8801
8665
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
8802
8666
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
8803
8667
|
return `Tipo inválido: esperado instanceof ${issue.expected}, recebido ${received}`;
|
|
@@ -8806,8 +8670,8 @@ const pt_error = () => {
|
|
|
8806
8670
|
}
|
|
8807
8671
|
case "invalid_value":
|
|
8808
8672
|
if (issue.values.length === 1)
|
|
8809
|
-
return `Entrada inválida: esperado ${stringifyPrimitive(issue.values[0])}`;
|
|
8810
|
-
return `Opção inválida: esperada uma das ${joinValues(issue.values, "|")}`;
|
|
8673
|
+
return `Entrada inválida: esperado ${util.stringifyPrimitive(issue.values[0])}`;
|
|
8674
|
+
return `Opção inválida: esperada uma das ${util.joinValues(issue.values, "|")}`;
|
|
8811
8675
|
case "too_big": {
|
|
8812
8676
|
const adj = issue.inclusive ? "<=" : "<";
|
|
8813
8677
|
const sizing = getSizing(issue.origin);
|
|
@@ -8838,7 +8702,7 @@ const pt_error = () => {
|
|
|
8838
8702
|
case "not_multiple_of":
|
|
8839
8703
|
return `Número inválido: deve ser múltiplo de ${issue.divisor}`;
|
|
8840
8704
|
case "unrecognized_keys":
|
|
8841
|
-
return `Chave${issue.keys.length > 1 ? "s" : ""} desconhecida${issue.keys.length > 1 ? "s" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
8705
|
+
return `Chave${issue.keys.length > 1 ? "s" : ""} desconhecida${issue.keys.length > 1 ? "s" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
8842
8706
|
case "invalid_key":
|
|
8843
8707
|
return `Chave inválida em ${issue.origin}`;
|
|
8844
8708
|
case "invalid_union":
|
|
@@ -8950,7 +8814,7 @@ const ru_error = () => {
|
|
|
8950
8814
|
switch (issue.code) {
|
|
8951
8815
|
case "invalid_type": {
|
|
8952
8816
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
8953
|
-
const receivedType = parsedType(issue.input);
|
|
8817
|
+
const receivedType = util.parsedType(issue.input);
|
|
8954
8818
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
8955
8819
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
8956
8820
|
return `Неверный ввод: ожидалось instanceof ${issue.expected}, получено ${received}`;
|
|
@@ -8959,8 +8823,8 @@ const ru_error = () => {
|
|
|
8959
8823
|
}
|
|
8960
8824
|
case "invalid_value":
|
|
8961
8825
|
if (issue.values.length === 1)
|
|
8962
|
-
return `Неверный ввод: ожидалось ${stringifyPrimitive(issue.values[0])}`;
|
|
8963
|
-
return `Неверный вариант: ожидалось одно из ${joinValues(issue.values, "|")}`;
|
|
8826
|
+
return `Неверный ввод: ожидалось ${util.stringifyPrimitive(issue.values[0])}`;
|
|
8827
|
+
return `Неверный вариант: ожидалось одно из ${util.joinValues(issue.values, "|")}`;
|
|
8964
8828
|
case "too_big": {
|
|
8965
8829
|
const adj = issue.inclusive ? "<=" : "<";
|
|
8966
8830
|
const sizing = getSizing(issue.origin);
|
|
@@ -8996,7 +8860,7 @@ const ru_error = () => {
|
|
|
8996
8860
|
case "not_multiple_of":
|
|
8997
8861
|
return `Неверное число: должно быть кратным ${issue.divisor}`;
|
|
8998
8862
|
case "unrecognized_keys":
|
|
8999
|
-
return `Нераспознанн${issue.keys.length > 1 ? "ые" : "ый"} ключ${issue.keys.length > 1 ? "и" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
8863
|
+
return `Нераспознанн${issue.keys.length > 1 ? "ые" : "ый"} ключ${issue.keys.length > 1 ? "и" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
9000
8864
|
case "invalid_key":
|
|
9001
8865
|
return `Неверный ключ в ${issue.origin}`;
|
|
9002
8866
|
case "invalid_union":
|
|
@@ -9065,7 +8929,7 @@ const sl_error = () => {
|
|
|
9065
8929
|
switch (issue.code) {
|
|
9066
8930
|
case "invalid_type": {
|
|
9067
8931
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
9068
|
-
const receivedType = parsedType(issue.input);
|
|
8932
|
+
const receivedType = util.parsedType(issue.input);
|
|
9069
8933
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
9070
8934
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
9071
8935
|
return `Neveljaven vnos: pričakovano instanceof ${issue.expected}, prejeto ${received}`;
|
|
@@ -9074,8 +8938,8 @@ const sl_error = () => {
|
|
|
9074
8938
|
}
|
|
9075
8939
|
case "invalid_value":
|
|
9076
8940
|
if (issue.values.length === 1)
|
|
9077
|
-
return `Neveljaven vnos: pričakovano ${stringifyPrimitive(issue.values[0])}`;
|
|
9078
|
-
return `Neveljavna možnost: pričakovano eno izmed ${joinValues(issue.values, "|")}`;
|
|
8941
|
+
return `Neveljaven vnos: pričakovano ${util.stringifyPrimitive(issue.values[0])}`;
|
|
8942
|
+
return `Neveljavna možnost: pričakovano eno izmed ${util.joinValues(issue.values, "|")}`;
|
|
9079
8943
|
case "too_big": {
|
|
9080
8944
|
const adj = issue.inclusive ? "<=" : "<";
|
|
9081
8945
|
const sizing = getSizing(issue.origin);
|
|
@@ -9107,7 +8971,7 @@ const sl_error = () => {
|
|
|
9107
8971
|
case "not_multiple_of":
|
|
9108
8972
|
return `Neveljavno število: mora biti večkratnik ${issue.divisor}`;
|
|
9109
8973
|
case "unrecognized_keys":
|
|
9110
|
-
return `Neprepoznan${issue.keys.length > 1 ? "i ključi" : " ključ"}: ${joinValues(issue.keys, ", ")}`;
|
|
8974
|
+
return `Neprepoznan${issue.keys.length > 1 ? "i ključi" : " ključ"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
9111
8975
|
case "invalid_key":
|
|
9112
8976
|
return `Neveljaven ključ v ${issue.origin}`;
|
|
9113
8977
|
case "invalid_union":
|
|
@@ -9176,7 +9040,7 @@ const sv_error = () => {
|
|
|
9176
9040
|
switch (issue.code) {
|
|
9177
9041
|
case "invalid_type": {
|
|
9178
9042
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
9179
|
-
const receivedType = parsedType(issue.input);
|
|
9043
|
+
const receivedType = util.parsedType(issue.input);
|
|
9180
9044
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
9181
9045
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
9182
9046
|
return `Ogiltig inmatning: förväntat instanceof ${issue.expected}, fick ${received}`;
|
|
@@ -9185,8 +9049,8 @@ const sv_error = () => {
|
|
|
9185
9049
|
}
|
|
9186
9050
|
case "invalid_value":
|
|
9187
9051
|
if (issue.values.length === 1)
|
|
9188
|
-
return `Ogiltig inmatning: förväntat ${stringifyPrimitive(issue.values[0])}`;
|
|
9189
|
-
return `Ogiltigt val: förväntade en av ${joinValues(issue.values, "|")}`;
|
|
9052
|
+
return `Ogiltig inmatning: förväntat ${util.stringifyPrimitive(issue.values[0])}`;
|
|
9053
|
+
return `Ogiltigt val: förväntade en av ${util.joinValues(issue.values, "|")}`;
|
|
9190
9054
|
case "too_big": {
|
|
9191
9055
|
const adj = issue.inclusive ? "<=" : "<";
|
|
9192
9056
|
const sizing = getSizing(issue.origin);
|
|
@@ -9219,7 +9083,7 @@ const sv_error = () => {
|
|
|
9219
9083
|
case "not_multiple_of":
|
|
9220
9084
|
return `Ogiltigt tal: måste vara en multipel av ${issue.divisor}`;
|
|
9221
9085
|
case "unrecognized_keys":
|
|
9222
|
-
return `${issue.keys.length > 1 ? "Okända nycklar" : "Okänd nyckel"}: ${joinValues(issue.keys, ", ")}`;
|
|
9086
|
+
return `${issue.keys.length > 1 ? "Okända nycklar" : "Okänd nyckel"}: ${util.joinValues(issue.keys, ", ")}`;
|
|
9223
9087
|
case "invalid_key":
|
|
9224
9088
|
return `Ogiltig nyckel i ${issue.origin ?? "värdet"}`;
|
|
9225
9089
|
case "invalid_union":
|
|
@@ -9289,7 +9153,7 @@ const ta_error = () => {
|
|
|
9289
9153
|
switch (issue.code) {
|
|
9290
9154
|
case "invalid_type": {
|
|
9291
9155
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
9292
|
-
const receivedType = parsedType(issue.input);
|
|
9156
|
+
const receivedType = util.parsedType(issue.input);
|
|
9293
9157
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
9294
9158
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
9295
9159
|
return `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${issue.expected}, பெறப்பட்டது ${received}`;
|
|
@@ -9298,8 +9162,8 @@ const ta_error = () => {
|
|
|
9298
9162
|
}
|
|
9299
9163
|
case "invalid_value":
|
|
9300
9164
|
if (issue.values.length === 1)
|
|
9301
|
-
return `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${stringifyPrimitive(issue.values[0])}`;
|
|
9302
|
-
return `தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${joinValues(issue.values, "|")} இல் ஒன்று`;
|
|
9165
|
+
return `தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${util.stringifyPrimitive(issue.values[0])}`;
|
|
9166
|
+
return `தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${util.joinValues(issue.values, "|")} இல் ஒன்று`;
|
|
9303
9167
|
case "too_big": {
|
|
9304
9168
|
const adj = issue.inclusive ? "<=" : "<";
|
|
9305
9169
|
const sizing = getSizing(issue.origin);
|
|
@@ -9331,7 +9195,7 @@ const ta_error = () => {
|
|
|
9331
9195
|
case "not_multiple_of":
|
|
9332
9196
|
return `தவறான எண்: ${issue.divisor} இன் பலமாக இருக்க வேண்டும்`;
|
|
9333
9197
|
case "unrecognized_keys":
|
|
9334
|
-
return `அடையாளம் தெரியாத விசை${issue.keys.length > 1 ? "கள்" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
9198
|
+
return `அடையாளம் தெரியாத விசை${issue.keys.length > 1 ? "கள்" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
9335
9199
|
case "invalid_key":
|
|
9336
9200
|
return `${issue.origin} இல் தவறான விசை`;
|
|
9337
9201
|
case "invalid_union":
|
|
@@ -9401,7 +9265,7 @@ const th_error = () => {
|
|
|
9401
9265
|
switch (issue.code) {
|
|
9402
9266
|
case "invalid_type": {
|
|
9403
9267
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
9404
|
-
const receivedType = parsedType(issue.input);
|
|
9268
|
+
const receivedType = util.parsedType(issue.input);
|
|
9405
9269
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
9406
9270
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
9407
9271
|
return `ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${issue.expected} แต่ได้รับ ${received}`;
|
|
@@ -9410,8 +9274,8 @@ const th_error = () => {
|
|
|
9410
9274
|
}
|
|
9411
9275
|
case "invalid_value":
|
|
9412
9276
|
if (issue.values.length === 1)
|
|
9413
|
-
return `ค่าไม่ถูกต้อง: ควรเป็น ${stringifyPrimitive(issue.values[0])}`;
|
|
9414
|
-
return `ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${joinValues(issue.values, "|")}`;
|
|
9277
|
+
return `ค่าไม่ถูกต้อง: ควรเป็น ${util.stringifyPrimitive(issue.values[0])}`;
|
|
9278
|
+
return `ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${util.joinValues(issue.values, "|")}`;
|
|
9415
9279
|
case "too_big": {
|
|
9416
9280
|
const adj = issue.inclusive ? "ไม่เกิน" : "น้อยกว่า";
|
|
9417
9281
|
const sizing = getSizing(issue.origin);
|
|
@@ -9443,7 +9307,7 @@ const th_error = () => {
|
|
|
9443
9307
|
case "not_multiple_of":
|
|
9444
9308
|
return `ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${issue.divisor} ได้ลงตัว`;
|
|
9445
9309
|
case "unrecognized_keys":
|
|
9446
|
-
return `พบคีย์ที่ไม่รู้จัก: ${joinValues(issue.keys, ", ")}`;
|
|
9310
|
+
return `พบคีย์ที่ไม่รู้จัก: ${util.joinValues(issue.keys, ", ")}`;
|
|
9447
9311
|
case "invalid_key":
|
|
9448
9312
|
return `คีย์ไม่ถูกต้องใน ${issue.origin}`;
|
|
9449
9313
|
case "invalid_union":
|
|
@@ -9510,7 +9374,7 @@ const tr_error = () => {
|
|
|
9510
9374
|
switch (issue.code) {
|
|
9511
9375
|
case "invalid_type": {
|
|
9512
9376
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
9513
|
-
const receivedType = parsedType(issue.input);
|
|
9377
|
+
const receivedType = util.parsedType(issue.input);
|
|
9514
9378
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
9515
9379
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
9516
9380
|
return `Geçersiz değer: beklenen instanceof ${issue.expected}, alınan ${received}`;
|
|
@@ -9519,8 +9383,8 @@ const tr_error = () => {
|
|
|
9519
9383
|
}
|
|
9520
9384
|
case "invalid_value":
|
|
9521
9385
|
if (issue.values.length === 1)
|
|
9522
|
-
return `Geçersiz değer: beklenen ${stringifyPrimitive(issue.values[0])}`;
|
|
9523
|
-
return `Geçersiz seçenek: aşağıdakilerden biri olmalı: ${joinValues(issue.values, "|")}`;
|
|
9386
|
+
return `Geçersiz değer: beklenen ${util.stringifyPrimitive(issue.values[0])}`;
|
|
9387
|
+
return `Geçersiz seçenek: aşağıdakilerden biri olmalı: ${util.joinValues(issue.values, "|")}`;
|
|
9524
9388
|
case "too_big": {
|
|
9525
9389
|
const adj = issue.inclusive ? "<=" : "<";
|
|
9526
9390
|
const sizing = getSizing(issue.origin);
|
|
@@ -9550,7 +9414,7 @@ const tr_error = () => {
|
|
|
9550
9414
|
case "not_multiple_of":
|
|
9551
9415
|
return `Geçersiz sayı: ${issue.divisor} ile tam bölünebilmeli`;
|
|
9552
9416
|
case "unrecognized_keys":
|
|
9553
|
-
return `Tanınmayan anahtar${issue.keys.length > 1 ? "lar" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
9417
|
+
return `Tanınmayan anahtar${issue.keys.length > 1 ? "lar" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
9554
9418
|
case "invalid_key":
|
|
9555
9419
|
return `${issue.origin} içinde geçersiz anahtar`;
|
|
9556
9420
|
case "invalid_union":
|
|
@@ -9619,7 +9483,7 @@ const uk_error = () => {
|
|
|
9619
9483
|
switch (issue.code) {
|
|
9620
9484
|
case "invalid_type": {
|
|
9621
9485
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
9622
|
-
const receivedType = parsedType(issue.input);
|
|
9486
|
+
const receivedType = util.parsedType(issue.input);
|
|
9623
9487
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
9624
9488
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
9625
9489
|
return `Неправильні вхідні дані: очікується instanceof ${issue.expected}, отримано ${received}`;
|
|
@@ -9628,8 +9492,8 @@ const uk_error = () => {
|
|
|
9628
9492
|
}
|
|
9629
9493
|
case "invalid_value":
|
|
9630
9494
|
if (issue.values.length === 1)
|
|
9631
|
-
return `Неправильні вхідні дані: очікується ${stringifyPrimitive(issue.values[0])}`;
|
|
9632
|
-
return `Неправильна опція: очікується одне з ${joinValues(issue.values, "|")}`;
|
|
9495
|
+
return `Неправильні вхідні дані: очікується ${util.stringifyPrimitive(issue.values[0])}`;
|
|
9496
|
+
return `Неправильна опція: очікується одне з ${util.joinValues(issue.values, "|")}`;
|
|
9633
9497
|
case "too_big": {
|
|
9634
9498
|
const adj = issue.inclusive ? "<=" : "<";
|
|
9635
9499
|
const sizing = getSizing(issue.origin);
|
|
@@ -9660,7 +9524,7 @@ const uk_error = () => {
|
|
|
9660
9524
|
case "not_multiple_of":
|
|
9661
9525
|
return `Неправильне число: повинно бути кратним ${issue.divisor}`;
|
|
9662
9526
|
case "unrecognized_keys":
|
|
9663
|
-
return `Нерозпізнаний ключ${issue.keys.length > 1 ? "і" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
9527
|
+
return `Нерозпізнаний ключ${issue.keys.length > 1 ? "і" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
9664
9528
|
case "invalid_key":
|
|
9665
9529
|
return `Неправильний ключ у ${issue.origin}`;
|
|
9666
9530
|
case "invalid_union":
|
|
@@ -9672,7 +9536,7 @@ const uk_error = () => {
|
|
|
9672
9536
|
}
|
|
9673
9537
|
};
|
|
9674
9538
|
};
|
|
9675
|
-
/* export default */ function
|
|
9539
|
+
/* export default */ function locales_uk() {
|
|
9676
9540
|
return {
|
|
9677
9541
|
localeError: uk_error(),
|
|
9678
9542
|
};
|
|
@@ -9737,7 +9601,7 @@ const ur_error = () => {
|
|
|
9737
9601
|
switch (issue.code) {
|
|
9738
9602
|
case "invalid_type": {
|
|
9739
9603
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
9740
|
-
const receivedType = parsedType(issue.input);
|
|
9604
|
+
const receivedType = util.parsedType(issue.input);
|
|
9741
9605
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
9742
9606
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
9743
9607
|
return `غلط ان پٹ: instanceof ${issue.expected} متوقع تھا، ${received} موصول ہوا`;
|
|
@@ -9746,8 +9610,8 @@ const ur_error = () => {
|
|
|
9746
9610
|
}
|
|
9747
9611
|
case "invalid_value":
|
|
9748
9612
|
if (issue.values.length === 1)
|
|
9749
|
-
return `غلط ان پٹ: ${stringifyPrimitive(issue.values[0])} متوقع تھا`;
|
|
9750
|
-
return `غلط آپشن: ${joinValues(issue.values, "|")} میں سے ایک متوقع تھا`;
|
|
9613
|
+
return `غلط ان پٹ: ${util.stringifyPrimitive(issue.values[0])} متوقع تھا`;
|
|
9614
|
+
return `غلط آپشن: ${util.joinValues(issue.values, "|")} میں سے ایک متوقع تھا`;
|
|
9751
9615
|
case "too_big": {
|
|
9752
9616
|
const adj = issue.inclusive ? "<=" : "<";
|
|
9753
9617
|
const sizing = getSizing(issue.origin);
|
|
@@ -9779,7 +9643,7 @@ const ur_error = () => {
|
|
|
9779
9643
|
case "not_multiple_of":
|
|
9780
9644
|
return `غلط نمبر: ${issue.divisor} کا مضاعف ہونا چاہیے`;
|
|
9781
9645
|
case "unrecognized_keys":
|
|
9782
|
-
return `غیر تسلیم شدہ کی${issue.keys.length > 1 ? "ز" : ""}: ${joinValues(issue.keys, "، ")}`;
|
|
9646
|
+
return `غیر تسلیم شدہ کی${issue.keys.length > 1 ? "ز" : ""}: ${util.joinValues(issue.keys, "، ")}`;
|
|
9783
9647
|
case "invalid_key":
|
|
9784
9648
|
return `${issue.origin} میں غلط کی`;
|
|
9785
9649
|
case "invalid_union":
|
|
@@ -9849,7 +9713,7 @@ const uz_error = () => {
|
|
|
9849
9713
|
switch (issue.code) {
|
|
9850
9714
|
case "invalid_type": {
|
|
9851
9715
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
9852
|
-
const receivedType = parsedType(issue.input);
|
|
9716
|
+
const receivedType = util.parsedType(issue.input);
|
|
9853
9717
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
9854
9718
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
9855
9719
|
return `Noto‘g‘ri kirish: kutilgan instanceof ${issue.expected}, qabul qilingan ${received}`;
|
|
@@ -9858,8 +9722,8 @@ const uz_error = () => {
|
|
|
9858
9722
|
}
|
|
9859
9723
|
case "invalid_value":
|
|
9860
9724
|
if (issue.values.length === 1)
|
|
9861
|
-
return `Noto‘g‘ri kirish: kutilgan ${stringifyPrimitive(issue.values[0])}`;
|
|
9862
|
-
return `Noto‘g‘ri variant: quyidagilardan biri kutilgan ${joinValues(issue.values, "|")}`;
|
|
9725
|
+
return `Noto‘g‘ri kirish: kutilgan ${util.stringifyPrimitive(issue.values[0])}`;
|
|
9726
|
+
return `Noto‘g‘ri variant: quyidagilardan biri kutilgan ${util.joinValues(issue.values, "|")}`;
|
|
9863
9727
|
case "too_big": {
|
|
9864
9728
|
const adj = issue.inclusive ? "<=" : "<";
|
|
9865
9729
|
const sizing = getSizing(issue.origin);
|
|
@@ -9890,7 +9754,7 @@ const uz_error = () => {
|
|
|
9890
9754
|
case "not_multiple_of":
|
|
9891
9755
|
return `Noto‘g‘ri raqam: ${issue.divisor} ning karralisi bo‘lishi kerak`;
|
|
9892
9756
|
case "unrecognized_keys":
|
|
9893
|
-
return `Noma’lum kalit${issue.keys.length > 1 ? "lar" : ""}: ${joinValues(issue.keys, ", ")}`;
|
|
9757
|
+
return `Noma’lum kalit${issue.keys.length > 1 ? "lar" : ""}: ${util.joinValues(issue.keys, ", ")}`;
|
|
9894
9758
|
case "invalid_key":
|
|
9895
9759
|
return `${issue.origin} dagi kalit noto‘g‘ri`;
|
|
9896
9760
|
case "invalid_union":
|
|
@@ -9959,7 +9823,7 @@ const vi_error = () => {
|
|
|
9959
9823
|
switch (issue.code) {
|
|
9960
9824
|
case "invalid_type": {
|
|
9961
9825
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
9962
|
-
const receivedType = parsedType(issue.input);
|
|
9826
|
+
const receivedType = util.parsedType(issue.input);
|
|
9963
9827
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
9964
9828
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
9965
9829
|
return `Đầu vào không hợp lệ: mong đợi instanceof ${issue.expected}, nhận được ${received}`;
|
|
@@ -9968,8 +9832,8 @@ const vi_error = () => {
|
|
|
9968
9832
|
}
|
|
9969
9833
|
case "invalid_value":
|
|
9970
9834
|
if (issue.values.length === 1)
|
|
9971
|
-
return `Đầu vào không hợp lệ: mong đợi ${stringifyPrimitive(issue.values[0])}`;
|
|
9972
|
-
return `Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${joinValues(issue.values, "|")}`;
|
|
9835
|
+
return `Đầu vào không hợp lệ: mong đợi ${util.stringifyPrimitive(issue.values[0])}`;
|
|
9836
|
+
return `Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${util.joinValues(issue.values, "|")}`;
|
|
9973
9837
|
case "too_big": {
|
|
9974
9838
|
const adj = issue.inclusive ? "<=" : "<";
|
|
9975
9839
|
const sizing = getSizing(issue.origin);
|
|
@@ -10000,7 +9864,7 @@ const vi_error = () => {
|
|
|
10000
9864
|
case "not_multiple_of":
|
|
10001
9865
|
return `Số không hợp lệ: phải là bội số của ${issue.divisor}`;
|
|
10002
9866
|
case "unrecognized_keys":
|
|
10003
|
-
return `Khóa không được nhận dạng: ${joinValues(issue.keys, ", ")}`;
|
|
9867
|
+
return `Khóa không được nhận dạng: ${util.joinValues(issue.keys, ", ")}`;
|
|
10004
9868
|
case "invalid_key":
|
|
10005
9869
|
return `Khóa không hợp lệ trong ${issue.origin}`;
|
|
10006
9870
|
case "invalid_union":
|
|
@@ -10070,7 +9934,7 @@ const zh_CN_error = () => {
|
|
|
10070
9934
|
switch (issue.code) {
|
|
10071
9935
|
case "invalid_type": {
|
|
10072
9936
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
10073
|
-
const receivedType = parsedType(issue.input);
|
|
9937
|
+
const receivedType = util.parsedType(issue.input);
|
|
10074
9938
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
10075
9939
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
10076
9940
|
return `无效输入:期望 instanceof ${issue.expected},实际接收 ${received}`;
|
|
@@ -10079,8 +9943,8 @@ const zh_CN_error = () => {
|
|
|
10079
9943
|
}
|
|
10080
9944
|
case "invalid_value":
|
|
10081
9945
|
if (issue.values.length === 1)
|
|
10082
|
-
return `无效输入:期望 ${stringifyPrimitive(issue.values[0])}`;
|
|
10083
|
-
return `无效选项:期望以下之一 ${joinValues(issue.values, "|")}`;
|
|
9946
|
+
return `无效输入:期望 ${util.stringifyPrimitive(issue.values[0])}`;
|
|
9947
|
+
return `无效选项:期望以下之一 ${util.joinValues(issue.values, "|")}`;
|
|
10084
9948
|
case "too_big": {
|
|
10085
9949
|
const adj = issue.inclusive ? "<=" : "<";
|
|
10086
9950
|
const sizing = getSizing(issue.origin);
|
|
@@ -10111,7 +9975,7 @@ const zh_CN_error = () => {
|
|
|
10111
9975
|
case "not_multiple_of":
|
|
10112
9976
|
return `无效数字:必须是 ${issue.divisor} 的倍数`;
|
|
10113
9977
|
case "unrecognized_keys":
|
|
10114
|
-
return `出现未知的键(key): ${joinValues(issue.keys, ", ")}`;
|
|
9978
|
+
return `出现未知的键(key): ${util.joinValues(issue.keys, ", ")}`;
|
|
10115
9979
|
case "invalid_key":
|
|
10116
9980
|
return `${issue.origin} 中的键(key)无效`;
|
|
10117
9981
|
case "invalid_union":
|
|
@@ -10178,7 +10042,7 @@ const zh_TW_error = () => {
|
|
|
10178
10042
|
switch (issue.code) {
|
|
10179
10043
|
case "invalid_type": {
|
|
10180
10044
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
10181
|
-
const receivedType = parsedType(issue.input);
|
|
10045
|
+
const receivedType = util.parsedType(issue.input);
|
|
10182
10046
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
10183
10047
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
10184
10048
|
return `無效的輸入值:預期為 instanceof ${issue.expected},但收到 ${received}`;
|
|
@@ -10187,8 +10051,8 @@ const zh_TW_error = () => {
|
|
|
10187
10051
|
}
|
|
10188
10052
|
case "invalid_value":
|
|
10189
10053
|
if (issue.values.length === 1)
|
|
10190
|
-
return `無效的輸入值:預期為 ${stringifyPrimitive(issue.values[0])}`;
|
|
10191
|
-
return `無效的選項:預期為以下其中之一 ${joinValues(issue.values, "|")}`;
|
|
10054
|
+
return `無效的輸入值:預期為 ${util.stringifyPrimitive(issue.values[0])}`;
|
|
10055
|
+
return `無效的選項:預期為以下其中之一 ${util.joinValues(issue.values, "|")}`;
|
|
10192
10056
|
case "too_big": {
|
|
10193
10057
|
const adj = issue.inclusive ? "<=" : "<";
|
|
10194
10058
|
const sizing = getSizing(issue.origin);
|
|
@@ -10220,7 +10084,7 @@ const zh_TW_error = () => {
|
|
|
10220
10084
|
case "not_multiple_of":
|
|
10221
10085
|
return `無效的數字:必須為 ${issue.divisor} 的倍數`;
|
|
10222
10086
|
case "unrecognized_keys":
|
|
10223
|
-
return `無法識別的鍵值${issue.keys.length > 1 ? "們" : ""}:${joinValues(issue.keys, "、")}`;
|
|
10087
|
+
return `無法識別的鍵值${issue.keys.length > 1 ? "們" : ""}:${util.joinValues(issue.keys, "、")}`;
|
|
10224
10088
|
case "invalid_key":
|
|
10225
10089
|
return `${issue.origin} 中有無效的鍵值`;
|
|
10226
10090
|
case "invalid_union":
|
|
@@ -10289,7 +10153,7 @@ const yo_error = () => {
|
|
|
10289
10153
|
switch (issue.code) {
|
|
10290
10154
|
case "invalid_type": {
|
|
10291
10155
|
const expected = TypeDictionary[issue.expected] ?? issue.expected;
|
|
10292
|
-
const receivedType = parsedType(issue.input);
|
|
10156
|
+
const receivedType = util.parsedType(issue.input);
|
|
10293
10157
|
const received = TypeDictionary[receivedType] ?? receivedType;
|
|
10294
10158
|
if (/^[A-Z]/.test(issue.expected)) {
|
|
10295
10159
|
return `Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${issue.expected}, àmọ̀ a rí ${received}`;
|
|
@@ -10298,8 +10162,8 @@ const yo_error = () => {
|
|
|
10298
10162
|
}
|
|
10299
10163
|
case "invalid_value":
|
|
10300
10164
|
if (issue.values.length === 1)
|
|
10301
|
-
return `Ìbáwọlé aṣìṣe: a ní láti fi ${stringifyPrimitive(issue.values[0])}`;
|
|
10302
|
-
return `Àṣàyàn aṣìṣe: yan ọ̀kan lára ${joinValues(issue.values, "|")}`;
|
|
10165
|
+
return `Ìbáwọlé aṣìṣe: a ní láti fi ${util.stringifyPrimitive(issue.values[0])}`;
|
|
10166
|
+
return `Àṣàyàn aṣìṣe: yan ọ̀kan lára ${util.joinValues(issue.values, "|")}`;
|
|
10303
10167
|
case "too_big": {
|
|
10304
10168
|
const adj = issue.inclusive ? "<=" : "<";
|
|
10305
10169
|
const sizing = getSizing(issue.origin);
|
|
@@ -10329,7 +10193,7 @@ const yo_error = () => {
|
|
|
10329
10193
|
case "not_multiple_of":
|
|
10330
10194
|
return `Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${issue.divisor}`;
|
|
10331
10195
|
case "unrecognized_keys":
|
|
10332
|
-
return `Bọtìnì àìmọ̀: ${joinValues(issue.keys, ", ")}`;
|
|
10196
|
+
return `Bọtìnì àìmọ̀: ${util.joinValues(issue.keys, ", ")}`;
|
|
10333
10197
|
case "invalid_key":
|
|
10334
10198
|
return `Bọtìnì aṣìṣe nínú ${issue.origin}`;
|
|
10335
10199
|
case "invalid_union":
|
|
@@ -10449,7 +10313,7 @@ function registries_registry() {
|
|
|
10449
10313
|
return new $ZodRegistry();
|
|
10450
10314
|
}
|
|
10451
10315
|
(registries_a = globalThis).__zod_globalRegistry ?? (registries_a.__zod_globalRegistry = registries_registry());
|
|
10452
|
-
const
|
|
10316
|
+
const registries_globalRegistry = globalThis.__zod_globalRegistry;
|
|
10453
10317
|
|
|
10454
10318
|
;// CONCATENATED MODULE: ../../node_modules/zod/v4/core/api.js
|
|
10455
10319
|
|
|
@@ -10468,7 +10332,7 @@ function _coercedString(Class, params) {
|
|
|
10468
10332
|
return new Class({
|
|
10469
10333
|
type: "string",
|
|
10470
10334
|
coerce: true,
|
|
10471
|
-
...normalizeParams(params),
|
|
10335
|
+
...util.normalizeParams(params),
|
|
10472
10336
|
});
|
|
10473
10337
|
}
|
|
10474
10338
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -10704,13 +10568,13 @@ function _jwt(Class, params) {
|
|
|
10704
10568
|
...normalizeParams(params),
|
|
10705
10569
|
});
|
|
10706
10570
|
}
|
|
10707
|
-
const TimePrecision = {
|
|
10571
|
+
const TimePrecision = (/* unused pure expression or super */ null && ({
|
|
10708
10572
|
Any: null,
|
|
10709
10573
|
Minute: -1,
|
|
10710
10574
|
Second: 0,
|
|
10711
10575
|
Millisecond: 3,
|
|
10712
10576
|
Microsecond: 6,
|
|
10713
|
-
};
|
|
10577
|
+
}));
|
|
10714
10578
|
// @__NO_SIDE_EFFECTS__
|
|
10715
10579
|
function _isoDateTime(Class, params) {
|
|
10716
10580
|
return new Class({
|
|
@@ -10765,7 +10629,7 @@ function _coercedNumber(Class, params) {
|
|
|
10765
10629
|
type: "number",
|
|
10766
10630
|
coerce: true,
|
|
10767
10631
|
checks: [],
|
|
10768
|
-
...normalizeParams(params),
|
|
10632
|
+
...util.normalizeParams(params),
|
|
10769
10633
|
});
|
|
10770
10634
|
}
|
|
10771
10635
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -10830,7 +10694,7 @@ function _coercedBoolean(Class, params) {
|
|
|
10830
10694
|
return new Class({
|
|
10831
10695
|
type: "boolean",
|
|
10832
10696
|
coerce: true,
|
|
10833
|
-
...normalizeParams(params),
|
|
10697
|
+
...util.normalizeParams(params),
|
|
10834
10698
|
});
|
|
10835
10699
|
}
|
|
10836
10700
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -10845,7 +10709,7 @@ function _coercedBigint(Class, params) {
|
|
|
10845
10709
|
return new Class({
|
|
10846
10710
|
type: "bigint",
|
|
10847
10711
|
coerce: true,
|
|
10848
|
-
...normalizeParams(params),
|
|
10712
|
+
...util.normalizeParams(params),
|
|
10849
10713
|
});
|
|
10850
10714
|
}
|
|
10851
10715
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -10927,7 +10791,7 @@ function _coercedDate(Class, params) {
|
|
|
10927
10791
|
return new Class({
|
|
10928
10792
|
type: "date",
|
|
10929
10793
|
coerce: true,
|
|
10930
|
-
...normalizeParams(params),
|
|
10794
|
+
...util.normalizeParams(params),
|
|
10931
10795
|
});
|
|
10932
10796
|
}
|
|
10933
10797
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11168,7 +11032,7 @@ function _union(Class, options, params) {
|
|
|
11168
11032
|
return new Class({
|
|
11169
11033
|
type: "union",
|
|
11170
11034
|
options,
|
|
11171
|
-
...normalizeParams(params),
|
|
11035
|
+
...util.normalizeParams(params),
|
|
11172
11036
|
});
|
|
11173
11037
|
}
|
|
11174
11038
|
function _xor(Class, options, params) {
|
|
@@ -11176,7 +11040,7 @@ function _xor(Class, options, params) {
|
|
|
11176
11040
|
type: "union",
|
|
11177
11041
|
options,
|
|
11178
11042
|
inclusive: false,
|
|
11179
|
-
...normalizeParams(params),
|
|
11043
|
+
...util.normalizeParams(params),
|
|
11180
11044
|
});
|
|
11181
11045
|
}
|
|
11182
11046
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11185,7 +11049,7 @@ function _discriminatedUnion(Class, discriminator, options, params) {
|
|
|
11185
11049
|
type: "union",
|
|
11186
11050
|
options,
|
|
11187
11051
|
discriminator,
|
|
11188
|
-
...normalizeParams(params),
|
|
11052
|
+
...util.normalizeParams(params),
|
|
11189
11053
|
});
|
|
11190
11054
|
}
|
|
11191
11055
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11203,14 +11067,14 @@ function _intersection(Class, left, right) {
|
|
|
11203
11067
|
// ): schemas.$ZodTuple<[], null>;
|
|
11204
11068
|
// @__NO_SIDE_EFFECTS__
|
|
11205
11069
|
function _tuple(Class, items, _paramsOrRest, _params) {
|
|
11206
|
-
const hasRest = _paramsOrRest instanceof
|
|
11070
|
+
const hasRest = _paramsOrRest instanceof schemas.$ZodType;
|
|
11207
11071
|
const params = hasRest ? _params : _paramsOrRest;
|
|
11208
11072
|
const rest = hasRest ? _paramsOrRest : null;
|
|
11209
11073
|
return new Class({
|
|
11210
11074
|
type: "tuple",
|
|
11211
11075
|
items,
|
|
11212
11076
|
rest,
|
|
11213
|
-
...normalizeParams(params),
|
|
11077
|
+
...util.normalizeParams(params),
|
|
11214
11078
|
});
|
|
11215
11079
|
}
|
|
11216
11080
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11219,7 +11083,7 @@ function _record(Class, keyType, valueType, params) {
|
|
|
11219
11083
|
type: "record",
|
|
11220
11084
|
keyType,
|
|
11221
11085
|
valueType,
|
|
11222
|
-
...normalizeParams(params),
|
|
11086
|
+
...util.normalizeParams(params),
|
|
11223
11087
|
});
|
|
11224
11088
|
}
|
|
11225
11089
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11228,7 +11092,7 @@ function _map(Class, keyType, valueType, params) {
|
|
|
11228
11092
|
type: "map",
|
|
11229
11093
|
keyType,
|
|
11230
11094
|
valueType,
|
|
11231
|
-
...normalizeParams(params),
|
|
11095
|
+
...util.normalizeParams(params),
|
|
11232
11096
|
});
|
|
11233
11097
|
}
|
|
11234
11098
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11236,7 +11100,7 @@ function _set(Class, valueType, params) {
|
|
|
11236
11100
|
return new Class({
|
|
11237
11101
|
type: "set",
|
|
11238
11102
|
valueType,
|
|
11239
|
-
...normalizeParams(params),
|
|
11103
|
+
...util.normalizeParams(params),
|
|
11240
11104
|
});
|
|
11241
11105
|
}
|
|
11242
11106
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11256,7 +11120,7 @@ function _enum(Class, values, params) {
|
|
|
11256
11120
|
return new Class({
|
|
11257
11121
|
type: "enum",
|
|
11258
11122
|
entries,
|
|
11259
|
-
...normalizeParams(params),
|
|
11123
|
+
...util.normalizeParams(params),
|
|
11260
11124
|
});
|
|
11261
11125
|
}
|
|
11262
11126
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11271,7 +11135,7 @@ function _nativeEnum(Class, entries, params) {
|
|
|
11271
11135
|
return new Class({
|
|
11272
11136
|
type: "enum",
|
|
11273
11137
|
entries,
|
|
11274
|
-
...normalizeParams(params),
|
|
11138
|
+
...util.normalizeParams(params),
|
|
11275
11139
|
});
|
|
11276
11140
|
}
|
|
11277
11141
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11279,7 +11143,7 @@ function _literal(Class, value, params) {
|
|
|
11279
11143
|
return new Class({
|
|
11280
11144
|
type: "literal",
|
|
11281
11145
|
values: Array.isArray(value) ? value : [value],
|
|
11282
|
-
...normalizeParams(params),
|
|
11146
|
+
...util.normalizeParams(params),
|
|
11283
11147
|
});
|
|
11284
11148
|
}
|
|
11285
11149
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11316,7 +11180,7 @@ function _default(Class, innerType, defaultValue) {
|
|
|
11316
11180
|
type: "default",
|
|
11317
11181
|
innerType,
|
|
11318
11182
|
get defaultValue() {
|
|
11319
|
-
return typeof defaultValue === "function" ? defaultValue() : shallowClone(defaultValue);
|
|
11183
|
+
return typeof defaultValue === "function" ? defaultValue() : util.shallowClone(defaultValue);
|
|
11320
11184
|
},
|
|
11321
11185
|
});
|
|
11322
11186
|
}
|
|
@@ -11325,7 +11189,7 @@ function _nonoptional(Class, innerType, params) {
|
|
|
11325
11189
|
return new Class({
|
|
11326
11190
|
type: "nonoptional",
|
|
11327
11191
|
innerType,
|
|
11328
|
-
...normalizeParams(params),
|
|
11192
|
+
...util.normalizeParams(params),
|
|
11329
11193
|
});
|
|
11330
11194
|
}
|
|
11331
11195
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11363,7 +11227,7 @@ function _templateLiteral(Class, parts, params) {
|
|
|
11363
11227
|
return new Class({
|
|
11364
11228
|
type: "template_literal",
|
|
11365
11229
|
parts,
|
|
11366
|
-
...normalizeParams(params),
|
|
11230
|
+
...util.normalizeParams(params),
|
|
11367
11231
|
});
|
|
11368
11232
|
}
|
|
11369
11233
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -11440,8 +11304,8 @@ function describe(description) {
|
|
|
11440
11304
|
const ch = new $ZodCheck({ check: "describe" });
|
|
11441
11305
|
ch._zod.onattach = [
|
|
11442
11306
|
(inst) => {
|
|
11443
|
-
const existing =
|
|
11444
|
-
|
|
11307
|
+
const existing = registries_globalRegistry.get(inst) ?? {};
|
|
11308
|
+
registries_globalRegistry.add(inst, { ...existing, description });
|
|
11445
11309
|
},
|
|
11446
11310
|
];
|
|
11447
11311
|
ch._zod.check = () => { }; // no-op check
|
|
@@ -11452,8 +11316,8 @@ function api_meta(metadata) {
|
|
|
11452
11316
|
const ch = new $ZodCheck({ check: "meta" });
|
|
11453
11317
|
ch._zod.onattach = [
|
|
11454
11318
|
(inst) => {
|
|
11455
|
-
const existing =
|
|
11456
|
-
|
|
11319
|
+
const existing = registries_globalRegistry.get(inst) ?? {};
|
|
11320
|
+
registries_globalRegistry.add(inst, { ...existing, ...metadata });
|
|
11457
11321
|
},
|
|
11458
11322
|
];
|
|
11459
11323
|
ch._zod.check = () => { }; // no-op check
|
|
@@ -11541,7 +11405,7 @@ function _stringFormat(Class, format, fnOrRegex, _params = {}) {
|
|
|
11541
11405
|
// unrepresentable: inputs.unrepresentable ?? "throw",
|
|
11542
11406
|
// };
|
|
11543
11407
|
// }
|
|
11544
|
-
function
|
|
11408
|
+
function to_json_schema_initializeContext(params) {
|
|
11545
11409
|
// Normalize target: convert old non-hyphenated versions to hyphenated versions
|
|
11546
11410
|
let target = params?.target ?? "draft-2020-12";
|
|
11547
11411
|
if (target === "draft-4")
|
|
@@ -11550,7 +11414,7 @@ function initializeContext(params) {
|
|
|
11550
11414
|
target = "draft-07";
|
|
11551
11415
|
return {
|
|
11552
11416
|
processors: params.processors ?? {},
|
|
11553
|
-
metadataRegistry: params?.metadata ??
|
|
11417
|
+
metadataRegistry: params?.metadata ?? registries_globalRegistry,
|
|
11554
11418
|
target,
|
|
11555
11419
|
unrepresentable: params?.unrepresentable ?? "throw",
|
|
11556
11420
|
override: params?.override ?? (() => { }),
|
|
@@ -11627,7 +11491,7 @@ function to_json_schema_process(schema, ctx, _params = { path: [], schemaPath: [
|
|
|
11627
11491
|
const _result = ctx.seen.get(schema);
|
|
11628
11492
|
return _result.schema;
|
|
11629
11493
|
}
|
|
11630
|
-
function
|
|
11494
|
+
function to_json_schema_extractDefs(ctx, schema
|
|
11631
11495
|
// params: EmitParams
|
|
11632
11496
|
) {
|
|
11633
11497
|
// iterate over seen map;
|
|
@@ -11746,7 +11610,7 @@ function extractDefs(ctx, schema
|
|
|
11746
11610
|
}
|
|
11747
11611
|
}
|
|
11748
11612
|
}
|
|
11749
|
-
function
|
|
11613
|
+
function to_json_schema_finalize(ctx, schema) {
|
|
11750
11614
|
const root = ctx.seen.get(schema);
|
|
11751
11615
|
if (!root)
|
|
11752
11616
|
throw new Error("Unprocessed schema. This is a bug in Zod.");
|
|
@@ -11957,17 +11821,17 @@ function isTransforming(_schema, _ctx) {
|
|
|
11957
11821
|
* This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.
|
|
11958
11822
|
*/
|
|
11959
11823
|
const createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
|
|
11960
|
-
const ctx =
|
|
11824
|
+
const ctx = to_json_schema_initializeContext({ ...params, processors });
|
|
11961
11825
|
to_json_schema_process(schema, ctx);
|
|
11962
|
-
|
|
11963
|
-
return
|
|
11826
|
+
to_json_schema_extractDefs(ctx, schema);
|
|
11827
|
+
return to_json_schema_finalize(ctx, schema);
|
|
11964
11828
|
};
|
|
11965
11829
|
const createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) => {
|
|
11966
11830
|
const { libraryOptions, target } = params ?? {};
|
|
11967
|
-
const ctx =
|
|
11831
|
+
const ctx = to_json_schema_initializeContext({ ...(libraryOptions ?? {}), target, io, processors });
|
|
11968
11832
|
to_json_schema_process(schema, ctx);
|
|
11969
|
-
|
|
11970
|
-
return
|
|
11833
|
+
to_json_schema_extractDefs(ctx, schema);
|
|
11834
|
+
return to_json_schema_finalize(ctx, schema);
|
|
11971
11835
|
};
|
|
11972
11836
|
|
|
11973
11837
|
;// CONCATENATED MODULE: ../../node_modules/zod/v4/core/json-schema-processors.js
|
|
@@ -12496,7 +12360,7 @@ const lazyProcessor = (schema, ctx, _json, params) => {
|
|
|
12496
12360
|
seen.ref = innerType;
|
|
12497
12361
|
};
|
|
12498
12362
|
// ==================== ALL PROCESSORS ====================
|
|
12499
|
-
const
|
|
12363
|
+
const json_schema_processors_allProcessors = (/* unused pure expression or super */ null && ({
|
|
12500
12364
|
string: stringProcessor,
|
|
12501
12365
|
number: numberProcessor,
|
|
12502
12366
|
boolean: booleanProcessor,
|
|
@@ -12536,17 +12400,17 @@ const allProcessors = {
|
|
|
12536
12400
|
promise: promiseProcessor,
|
|
12537
12401
|
optional: optionalProcessor,
|
|
12538
12402
|
lazy: lazyProcessor,
|
|
12539
|
-
};
|
|
12403
|
+
}));
|
|
12540
12404
|
function toJSONSchema(input, params) {
|
|
12541
12405
|
if ("_idmap" in input) {
|
|
12542
12406
|
// Registry case
|
|
12543
12407
|
const registry = input;
|
|
12544
|
-
const ctx = initializeContext({ ...params, processors:
|
|
12408
|
+
const ctx = initializeContext({ ...params, processors: json_schema_processors_allProcessors });
|
|
12545
12409
|
const defs = {};
|
|
12546
12410
|
// First pass: process all schemas to build the seen map
|
|
12547
12411
|
for (const entry of registry._idmap.entries()) {
|
|
12548
12412
|
const [_, schema] = entry;
|
|
12549
|
-
|
|
12413
|
+
process(schema, ctx);
|
|
12550
12414
|
}
|
|
12551
12415
|
const schemas = {};
|
|
12552
12416
|
const external = {
|
|
@@ -12571,8 +12435,8 @@ function toJSONSchema(input, params) {
|
|
|
12571
12435
|
return { schemas };
|
|
12572
12436
|
}
|
|
12573
12437
|
// Single schema case
|
|
12574
|
-
const ctx = initializeContext({ ...params, processors:
|
|
12575
|
-
|
|
12438
|
+
const ctx = initializeContext({ ...params, processors: json_schema_processors_allProcessors });
|
|
12439
|
+
process(input, ctx);
|
|
12576
12440
|
extractDefs(ctx, input);
|
|
12577
12441
|
return finalize(ctx, input);
|
|
12578
12442
|
}
|
|
@@ -12650,7 +12514,7 @@ class JSONSchemaGenerator {
|
|
|
12650
12514
|
* This must be called before emit().
|
|
12651
12515
|
*/
|
|
12652
12516
|
process(schema, _params = { path: [], schemaPath: [] }) {
|
|
12653
|
-
return
|
|
12517
|
+
return process(schema, this.ctx, _params);
|
|
12654
12518
|
}
|
|
12655
12519
|
/**
|
|
12656
12520
|
* Emit the final JSON Schema after processing.
|
|
@@ -12674,9 +12538,6 @@ class JSONSchemaGenerator {
|
|
|
12674
12538
|
}
|
|
12675
12539
|
}
|
|
12676
12540
|
|
|
12677
|
-
;// CONCATENATED MODULE: ../../node_modules/zod/v4/core/json-schema.js
|
|
12678
|
-
|
|
12679
|
-
|
|
12680
12541
|
;// CONCATENATED MODULE: ../../node_modules/zod/v4/core/index.js
|
|
12681
12542
|
|
|
12682
12543
|
|
|
@@ -12873,21 +12734,21 @@ const ZodType = /*@__PURE__*/ $constructor("ZodType", (inst, def) => {
|
|
|
12873
12734
|
// meta
|
|
12874
12735
|
inst.describe = (description) => {
|
|
12875
12736
|
const cl = inst.clone();
|
|
12876
|
-
|
|
12737
|
+
registries_globalRegistry.add(cl, { description });
|
|
12877
12738
|
return cl;
|
|
12878
12739
|
};
|
|
12879
12740
|
Object.defineProperty(inst, "description", {
|
|
12880
12741
|
get() {
|
|
12881
|
-
return
|
|
12742
|
+
return registries_globalRegistry.get(inst)?.description;
|
|
12882
12743
|
},
|
|
12883
12744
|
configurable: true,
|
|
12884
12745
|
});
|
|
12885
12746
|
inst.meta = (...args) => {
|
|
12886
12747
|
if (args.length === 0) {
|
|
12887
|
-
return
|
|
12748
|
+
return registries_globalRegistry.get(inst);
|
|
12888
12749
|
}
|
|
12889
12750
|
const cl = inst.clone();
|
|
12890
|
-
|
|
12751
|
+
registries_globalRegistry.add(cl, args[0]);
|
|
12891
12752
|
return cl;
|
|
12892
12753
|
};
|
|
12893
12754
|
// helpers
|
|
@@ -13960,7 +13821,7 @@ function preprocess(fn, schema) {
|
|
|
13960
13821
|
// Zod 3 compat layer
|
|
13961
13822
|
|
|
13962
13823
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
13963
|
-
const ZodIssueCode = {
|
|
13824
|
+
const ZodIssueCode = (/* unused pure expression or super */ null && ({
|
|
13964
13825
|
invalid_type: "invalid_type",
|
|
13965
13826
|
too_big: "too_big",
|
|
13966
13827
|
too_small: "too_small",
|
|
@@ -13972,17 +13833,17 @@ const ZodIssueCode = {
|
|
|
13972
13833
|
invalid_element: "invalid_element",
|
|
13973
13834
|
invalid_value: "invalid_value",
|
|
13974
13835
|
custom: "custom",
|
|
13975
|
-
};
|
|
13836
|
+
}));
|
|
13976
13837
|
|
|
13977
13838
|
/** @deprecated Use `z.config(params)` instead. */
|
|
13978
13839
|
function setErrorMap(map) {
|
|
13979
|
-
|
|
13840
|
+
core.config({
|
|
13980
13841
|
customError: map,
|
|
13981
13842
|
});
|
|
13982
13843
|
}
|
|
13983
13844
|
/** @deprecated Use `z.config()` instead. */
|
|
13984
13845
|
function getErrorMap() {
|
|
13985
|
-
return
|
|
13846
|
+
return core.config().customError;
|
|
13986
13847
|
}
|
|
13987
13848
|
/** @deprecated Do not use. Stub definition, only included for zod-to-json-schema compatibility. */
|
|
13988
13849
|
var compat_ZodFirstPartyTypeKind;
|
|
@@ -14579,19 +14440,19 @@ function fromJSONSchema(schema, params) {
|
|
|
14579
14440
|
|
|
14580
14441
|
|
|
14581
14442
|
function coerce_string(params) {
|
|
14582
|
-
return _coercedString(ZodString, params);
|
|
14443
|
+
return core._coercedString(schemas.ZodString, params);
|
|
14583
14444
|
}
|
|
14584
14445
|
function coerce_number(params) {
|
|
14585
|
-
return _coercedNumber(ZodNumber, params);
|
|
14446
|
+
return core._coercedNumber(schemas.ZodNumber, params);
|
|
14586
14447
|
}
|
|
14587
14448
|
function coerce_boolean(params) {
|
|
14588
|
-
return _coercedBoolean(ZodBoolean, params);
|
|
14449
|
+
return core._coercedBoolean(schemas.ZodBoolean, params);
|
|
14589
14450
|
}
|
|
14590
14451
|
function coerce_bigint(params) {
|
|
14591
|
-
return _coercedBigint(ZodBigInt, params);
|
|
14452
|
+
return core._coercedBigint(schemas.ZodBigInt, params);
|
|
14592
14453
|
}
|
|
14593
14454
|
function coerce_date(params) {
|
|
14594
|
-
return _coercedDate(ZodDate, params);
|
|
14455
|
+
return core._coercedDate(schemas.ZodDate, params);
|
|
14595
14456
|
}
|
|
14596
14457
|
|
|
14597
14458
|
;// CONCATENATED MODULE: ../../node_modules/zod/v4/classic/external.js
|
|
@@ -15533,7 +15394,7 @@ const AnalysisResponseSchema = schemas_object({
|
|
|
15533
15394
|
let importSucceeded = false;
|
|
15534
15395
|
try {
|
|
15535
15396
|
const sdkPath = resolveSdkPath(repoRoot, "@github/copilot-sdk");
|
|
15536
|
-
const { CopilotClient, defineTool, approveAll } = sdkPath ? await import(/* webpackIgnore: true */ sdkPath) : await __webpack_require__.e(/* import() */
|
|
15397
|
+
const { CopilotClient, defineTool, approveAll } = sdkPath ? await import(/* webpackIgnore: true */ sdkPath) : await __webpack_require__.e(/* import() */ 300).then(__webpack_require__.bind(__webpack_require__, 791));
|
|
15537
15398
|
importSucceeded = true;
|
|
15538
15399
|
const client = new CopilotClient();
|
|
15539
15400
|
const tools = createCustomTools(repoRoot, defineTool);
|
|
@@ -17270,4 +17131,142 @@ function createDefaultDeps() {
|
|
|
17270
17131
|
}
|
|
17271
17132
|
|
|
17272
17133
|
|
|
17273
|
-
|
|
17134
|
+
},
|
|
17135
|
+
|
|
17136
|
+
});
|
|
17137
|
+
// The module cache
|
|
17138
|
+
var __webpack_module_cache__ = {};
|
|
17139
|
+
|
|
17140
|
+
// The require function
|
|
17141
|
+
function __webpack_require__(moduleId) {
|
|
17142
|
+
|
|
17143
|
+
// Check if module is in cache
|
|
17144
|
+
var cachedModule = __webpack_module_cache__[moduleId];
|
|
17145
|
+
if (cachedModule !== undefined) {
|
|
17146
|
+
return cachedModule.exports;
|
|
17147
|
+
}
|
|
17148
|
+
// Create a new module (and put it into the cache)
|
|
17149
|
+
var module = (__webpack_module_cache__[moduleId] = {
|
|
17150
|
+
exports: {}
|
|
17151
|
+
});
|
|
17152
|
+
// Execute the module function
|
|
17153
|
+
__webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
17154
|
+
|
|
17155
|
+
// Return the exports of the module
|
|
17156
|
+
return module.exports;
|
|
17157
|
+
|
|
17158
|
+
}
|
|
17159
|
+
|
|
17160
|
+
// expose the modules object (__webpack_modules__)
|
|
17161
|
+
__webpack_require__.m = __webpack_modules__;
|
|
17162
|
+
|
|
17163
|
+
// webpack/runtime/define_property_getters
|
|
17164
|
+
(() => {
|
|
17165
|
+
__webpack_require__.d = (exports, definition) => {
|
|
17166
|
+
for(var key in definition) {
|
|
17167
|
+
if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
17168
|
+
Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
17169
|
+
}
|
|
17170
|
+
}
|
|
17171
|
+
};
|
|
17172
|
+
})();
|
|
17173
|
+
// webpack/runtime/ensure_chunk
|
|
17174
|
+
(() => {
|
|
17175
|
+
__webpack_require__.f = {};
|
|
17176
|
+
// This file contains only the entry chunk.
|
|
17177
|
+
// The chunk loading function for additional chunks
|
|
17178
|
+
__webpack_require__.e = (chunkId) => {
|
|
17179
|
+
return Promise.all(
|
|
17180
|
+
Object.keys(__webpack_require__.f).reduce((promises, key) => {
|
|
17181
|
+
__webpack_require__.f[key](chunkId, promises);
|
|
17182
|
+
return promises;
|
|
17183
|
+
}, [])
|
|
17184
|
+
);
|
|
17185
|
+
};
|
|
17186
|
+
})();
|
|
17187
|
+
// webpack/runtime/get javascript chunk filename
|
|
17188
|
+
(() => {
|
|
17189
|
+
// This function allow to reference chunks
|
|
17190
|
+
__webpack_require__.u = (chunkId) => {
|
|
17191
|
+
// return url for filenames not based on template
|
|
17192
|
+
|
|
17193
|
+
// return url for filenames based on template
|
|
17194
|
+
return "" + chunkId + ".js"
|
|
17195
|
+
}
|
|
17196
|
+
})();
|
|
17197
|
+
// webpack/runtime/has_own_property
|
|
17198
|
+
(() => {
|
|
17199
|
+
__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
17200
|
+
})();
|
|
17201
|
+
// webpack/runtime/make_namespace_object
|
|
17202
|
+
(() => {
|
|
17203
|
+
// define __esModule on exports
|
|
17204
|
+
__webpack_require__.r = (exports) => {
|
|
17205
|
+
if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
17206
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
17207
|
+
}
|
|
17208
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
17209
|
+
};
|
|
17210
|
+
})();
|
|
17211
|
+
// webpack/runtime/module_chunk_loading
|
|
17212
|
+
(() => {
|
|
17213
|
+
// no BaseURI
|
|
17214
|
+
// object to store loaded and loading chunks
|
|
17215
|
+
// undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
17216
|
+
// [resolve, Promise] = chunk loading, 0 = chunk loaded
|
|
17217
|
+
var installedChunks = {410: 0,};
|
|
17218
|
+
var installChunk = (data) => {
|
|
17219
|
+
var __rspack_esm_ids = data.__rspack_esm_ids;
|
|
17220
|
+
var __webpack_modules__ = data.__webpack_modules__;
|
|
17221
|
+
var __rspack_esm_runtime = data.__rspack_esm_runtime;
|
|
17222
|
+
// add "modules" to the modules object,
|
|
17223
|
+
// then flag all "ids" as loaded and fire callback
|
|
17224
|
+
var moduleId, chunkId, i = 0;
|
|
17225
|
+
for (moduleId in __webpack_modules__) {
|
|
17226
|
+
if (__webpack_require__.o(__webpack_modules__, moduleId)) {
|
|
17227
|
+
__webpack_require__.m[moduleId] = __webpack_modules__[moduleId];
|
|
17228
|
+
}
|
|
17229
|
+
}
|
|
17230
|
+
if (__rspack_esm_runtime) __rspack_esm_runtime(__webpack_require__);
|
|
17231
|
+
for (; i < __rspack_esm_ids.length; i++) {
|
|
17232
|
+
chunkId = __rspack_esm_ids[i];
|
|
17233
|
+
if (__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
17234
|
+
installedChunks[chunkId][0]();
|
|
17235
|
+
}
|
|
17236
|
+
installedChunks[__rspack_esm_ids[i]] = 0;
|
|
17237
|
+
}
|
|
17238
|
+
|
|
17239
|
+
};
|
|
17240
|
+
__webpack_require__.f.j = function (chunkId, promises) {
|
|
17241
|
+
// import() chunk loading for javascript
|
|
17242
|
+
var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
|
|
17243
|
+
if (installedChunkData !== 0) { // 0 means "already installed".'
|
|
17244
|
+
// a Promise means "currently loading".
|
|
17245
|
+
if (installedChunkData) {
|
|
17246
|
+
promises.push(installedChunkData[1]);
|
|
17247
|
+
} else {
|
|
17248
|
+
if (true) {
|
|
17249
|
+
// setup Promise in chunk cache
|
|
17250
|
+
var promise = import("./" + __webpack_require__.u(chunkId)).then(installChunk, (e) => {
|
|
17251
|
+
if (installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;
|
|
17252
|
+
throw e;
|
|
17253
|
+
});
|
|
17254
|
+
var promise = Promise.race([promise, new Promise((resolve) => {
|
|
17255
|
+
installedChunkData = installedChunks[chunkId] = [resolve];
|
|
17256
|
+
})]);
|
|
17257
|
+
promises.push(installedChunkData[1] = promise);
|
|
17258
|
+
}
|
|
17259
|
+
|
|
17260
|
+
}
|
|
17261
|
+
}
|
|
17262
|
+
}
|
|
17263
|
+
// no external install chunk
|
|
17264
|
+
// no on chunks loaded
|
|
17265
|
+
// no HMR
|
|
17266
|
+
// no HMR manifest
|
|
17267
|
+
|
|
17268
|
+
})();
|
|
17269
|
+
// module factories are used so entry inlining is disabled
|
|
17270
|
+
// startup
|
|
17271
|
+
// Load entry module and return exports
|
|
17272
|
+
var __webpack_exports__ = __webpack_require__(543);
|