Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
readMapObject
Function · 0.70
readOrderedArray
Function · 0.70
Calls
2
readUpdate
Function · 0.85
applyYjsUpdate
Function · 0.70
Tested by
no test coverage detected