From 5e2bf9b34486b1e1d91a6b2fb6748d506487b915 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 21 Oct 2026 06:16:22 +0200 Subject: add the replace kind of remake POST /admin/remakes accepts specs with replace kind, e.g.: { "kind": "replace", "baseHeads": ["..."], "spec": { "document": { "accounts": { ... } }, "rules": [ { "from": "users", "to": "accounts" }, { "from": "users/admin", "drop": true }, { "from": "", "to": "" } ] } } --- src/remake/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/remake/mod.rs') diff --git a/src/remake/mod.rs b/src/remake/mod.rs index 18191b0..3cfaf0b 100644 --- a/src/remake/mod.rs +++ b/src/remake/mod.rs @@ -2,7 +2,7 @@ //! Compaction is one: the new document has the old one's content without its history. //! //! * `kind`: what differs between kinds of remake (building the new document, and -//! where writes made after the base go); compaction is the only kind so far. +//! where writes made after the base go): `compact` and `replace`. //! * `snapshot`: deterministic build of the next epoch's initial document. //! * `records`: the replicated remake records under `_continuum/remakes/`. //! * `coordinator`: proposal, settle period and decision on the node that was asked. -- cgit v1.3.1