feat(catalog): generate derived scale 32 with preview and backup restore
This commit is contained in:
1 parent
08b0b5021e
commit
cd75361b9f
9 files changed
+749
-11
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user