Preserve nested CRDT recovery and serialize compound editor submissions
This commit is contained in:
+3
@@ -1,6 +1,9 @@
|
||||
type Content = record { text: string; tags: list<string>; };
|
||||
type Edit = record { change: change<Content>; resolved: bool; };
|
||||
interface NoteData id "compound:data" revision "compound:data@1" {
|
||||
operation batch id "compound:batch" : record { edits: list<Edit>; } -> unit {
|
||||
call id "compound:batch:call" execution transaction targets [browser, server];
|
||||
}
|
||||
operation update id "compound:update" : Edit -> unit {
|
||||
call id "compound:update:call" execution transaction targets [browser, server];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user