feat(core): prepare typed Scenario layout and source lifecycle

This commit is contained in:
2026-09-12 19:27:49 -07:00
parent e409107a63
commit ecc49e0417
35 changed files with 2499 additions and 57 deletions
+1 -1
View File
@@ -1823,7 +1823,7 @@ pub(crate) fn resolve_declarations(
return Err(conversion_error(std::format!("Unknown diagram field '{key}' in the frozen pre6 contract.")));
}
let defaults =
serde_json::json!({"description":"","layer":"Oa","projection":"Overview","routes":[],"view_options":crate::view_options::ViewOptions::default()});
serde_json::json!({"description":"","layer":"Oa","projection":"Overview","routes":[],"view_options":crate::view_options::ViewOptions::default(),"layout":null});
let mut record = merge_fields(defaults.as_object().unwrap().clone(), fields)
.map_err(&conversion_error)?;
header(&mut record, d, true);