wip(freight): migration 0017 + model/column-list groundwork for add-freight-templates

This commit is contained in:
Chengdong Zhang
2026-09-23 17:39:45 +08:00
parent a83e857bdf
commit 5b426486ac
105 changed files with 6193 additions and 1566 deletions
+4 -3
View File
@@ -19,9 +19,10 @@ function deepMerge<T extends Tree>(base: T, extra: Tree): T {
const out: Tree = { ...base };
for (const [k, v] of Object.entries(extra)) {
const b = out[k];
out[k] = b && v && typeof b === "object" && typeof v === "object"
? deepMerge(b as Tree, v as Tree)
: v;
out[k] =
b && v && typeof b === "object" && typeof v === "object"
? deepMerge(b as Tree, v as Tree)
: v;
}
return out as T;
}