Skip to content

js-bao-wss-client


js-bao-wss-client / DocumentDebugSnapshot

Interface: DocumentDebugSnapshot ​

Point-in-time diagnostic snapshot of a document's client-side state: whether it is open, synced with the server, still loading from local persistence, and how it was started. Intended for debugging and support tooling rather than app logic.

Properties ​

hasUnsyncedLocalChanges? ​

optional hasUnsyncedLocalChanges?: boolean


isIdbSyncing ​

isIdbSyncing: boolean


isOpen ​

isOpen: boolean


isSynced ​

isSynced: boolean


permission? ​

optional permission?: DocumentPermission | null


serverBytes ​

serverBytes: number


startMode? ​

optional startMode?: StartNetworkMode

Documentation validated against js-bao-wss-client 3.4.0 · js-bao 0.11.0 · primitive-admin 1.0.62 · primitive-app 3.1.0 — 2026-09-30