Private
clientPrivate
docUpdates a document with the given Yjs update byte string.
This can be generated from a Yjs document as follows:
import * as Y from 'yjs'
let doc = new Y.Doc()
// Modify the document...
let update = Y.encodeStateAsUpdate(doc)
await manager.updateDoc(docId, update)
Returns an entire document, represented as a Yjs update byte string.
This can be turned back into a Yjs document as follows: