feat(catalog): generate derived scale 32 with preview and backup restore
CI / check (push) Successful in 1m32s
CI / deploy (push) Successful in 1m12s
CI / e2e (push) Successful in 21s

This commit is contained in:
Simo committed 2026-09-05 17:36:22 +02:00
1 parent 08b0b5021e
commit cd75361b9f
9 files changed
+749 -11

No files matched your search

+4
View File
@@ -4,6 +4,7 @@ export interface ScaleIssue {
}
export interface ScaleReport {
size: 32 | 64;
derived?: boolean;
state: "missing" | "issues" | "present";
assets: string[];
animations: string[];
@@ -178,6 +179,9 @@ export function inspectNitroScales(
].sort();
return {
size,
derived:
size === 32 &&
object(object(metadata.catalogStudio).scale32).derivedFrom === 64,
state: issues.length ? "issues" : names.length ? "present" : "missing",
assets: names,
animations,