Add support for custom groups

This commit is contained in:
Ethan O'Brien
2026-09-24 19:17:08 -05:00
parent 8270662666
commit dfc29c70e4
9 changed files with 332 additions and 6 deletions
+3
View File
@@ -98,6 +98,9 @@ pub fn expand(package: &[u8], fields: &mut HashMap<String, Vec<u8>>) -> Result<(
fields.insert(key.to_string(), manifest[key].to_string().into_bytes());
}
}
// Group IDs are server-local. The package records the original ID for
// reference, but only the destination upload form may choose its group;
// copying the ID could silently select a different band's row there.
for data in manifest["levels"].members() {
let Some(level) = data["level"].as_i64() else { continue; };
if !data["level_number"].is_null() {