ocs_doc_api: layer CRUD, per-curve layer assignment, XDATA/XRECORD support, and bulk SetXDataMany

This commit is contained in:
Sebastian committed 2026-09-10 10:43:15 +02:00
1 parent b19992cbcb
commit 8bf5eac3fc
27 files changed
+3340 -181

No files matched your search

@@ -54,10 +54,7 @@ fn main() -> ocs_doc_api::ApiResult<()> {
}
// A totally unknown id also surfaces a structured error.
assert!(matches!(
doc.entities().get(ObjectId::from_u64(0xDEAD)),
Err(_)
));
assert!(doc.entities().get(ObjectId::from_u64(0xDEAD)).is_err());
println!("failure semantics verified");
Ok(())
}