Skip to main content

Variable: OPTIONAL_INTERNAL_DOC_CLASSES

const OPTIONAL_INTERNAL_DOC_CLASSES: object;

Defined in: packages/client/src/core/sync/internal-docs.ts:74

~class values that are device-local by default but that a caller may choose to replicate. Sessions belong to the device that authenticated; the patch ledger is written by whichever device applied the patch, and patches themselves ship with the application code rather than through the database.

Type Declaration

NameTypeDefault valueDescriptionDefined in
patchLedger"patch""patch"patch - the local record of which patches this device has applied.packages/client/src/core/sync/internal-docs.ts:78
sessions"~UserSession""~UserSession"~UserSession - one per device, per login.packages/client/src/core/sync/internal-docs.ts:76