Skip to content

js-bao-wss-client


js-bao-wss-client / EvictAllLocalOptions

Interface: EvictAllLocalOptions ​

Options for JsBaoClient.evictAllLocal.

Properties ​

onlySynced? ​

optional onlySynced?: boolean

If true, only evicts documents that are fully synced with the server.


storageUser? ​

optional storageUser?: string | null

Internal

Whose local stores to remove, when it is not whoever is signed in.

The sign-out path captures the departing user before the token is cleared and passes it here; nothing else needs to.

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