MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / loadDoc

Function loadDoc

projects/openade-module/src/nodeYjsStorage.ts:200–203  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

198 }
199
200 async function loadDoc(id: string): Promise<Y.Doc | null> {
201 const data = await readUpdate(id)
202 return data ? applyYjsUpdate(data) : null
203 }
204
205 return {
206 async listDocuments() {

Callers 2

readMapObjectFunction · 0.70
readOrderedArrayFunction · 0.70

Calls 2

readUpdateFunction · 0.85
applyYjsUpdateFunction · 0.70

Tested by

no test coverage detected