From 9188fa6e13ea7facfab5fb6f55bf26444ec2c01e Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 29 Nov 2026 03:15:05 +0000 Subject: document: values read and written through a view any kind of document gives document::view: Read (the value at a path, plain, typed, a map's keys) and Write (a value written, one deleted), which Automerge's documents, writes in progress and documents as they were all are. The member registry, the users, access control's reads and rules, the topology, forgetting and bootstrap read and write through them, and name neither Automerge's ReadDoc and Transactable nor document::store, which is what an Automerge document can do beyond. How a swarm holding a store judges what a change writes is handed to the rules (rules::judge_seen), being its kind of document's to say. --- src/document/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/document/mod.rs') diff --git a/src/document/mod.rs b/src/document/mod.rs index ac35b95..d6505ba 100644 --- a/src/document/mod.rs +++ b/src/document/mod.rs @@ -74,6 +74,7 @@ pub(crate) mod sync; #[cfg(test)] pub(crate) mod testing; pub(crate) mod typed; +pub(crate) mod view; #[cfg(test)] mod tests { -- cgit v1.3.1