Created
October 27, 2022 22:47
-
-
Save ehatricksmith/2e15b55e2e4c9d9cfd07fb213143e98e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
structs: [ | |
Item { // This insert is a tombstone | |
id: ID { client: 2617533864, clock: 0 }, | |
length: 1, | |
origin: null, | |
left: null, | |
right: null, | |
rightOrigin: null, | |
parent: 'listOfNumbers', | |
parentSub: null, | |
redone: null, | |
content: ContentDeleted { len: 1 }, // no content | |
info: 0 | |
}, | |
Item { | |
id: ID { client: 2617533864, clock: 1 }, | |
length: 1, | |
origin: null, | |
left: null, | |
right: null, | |
rightOrigin: ID { client: 2617533864, clock: 0 }, | |
parent: null, | |
parentSub: null, | |
redone: null, | |
content: ContentAny { arr: [ 2 ] }, | |
info: 2 | |
} | |
], | |
ds: DeleteSet { | |
clients: Map(1) { 2617533864 => [ DeleteItem { clock: 0, len: 1 } ] } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment