Skip to content

js-bao-wss-client


js-bao-wss-client / LocalDocumentEntry

Interface: LocalDocumentEntry ​

Summary of a document that has a locally persisted copy. Returned when listing local documents, e.g. to show what is available offline. Fields reflect the last locally known state (title, permission, sync timestamps, stored size, and whether local edits have not yet reached the server).

Properties ​

documentId ​

documentId: string


hasUnsyncedLocalChanges? ​

optional hasUnsyncedLocalChanges?: boolean


lastKnownPermission? ​

optional lastKnownPermission?: DocumentPermission | null


lastOpenedAt? ​

optional lastOpenedAt?: string


lastSyncedAt? ​

optional lastSyncedAt?: string


localBytes? ​

optional localBytes?: number


title? ​

optional title?: string

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