This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
// Metro module 586 (f587).
let c531_0 = "_errors";
export function convertSkemaError(a0) {
const r4 = {};
for (const key in a0) {
const r14 = a0[key];
if (r14 != null) {
if (key === c531_0) {
r4._misc = a0[key].map((item) => item.message);
}
if (!Array.isArray(r14)) {
const r21 = r14[c531_0];
r4[key] = r21 != null ? r21.map((item) => item.message) : [Object.keys(r14)[0]];
}
}
}
return r4;
}