Skip to content

ResolveStoreBootOptions

Defined in: packages/client/src/store-boot.ts:69

Options for resolveStoreBoot.

optional backendOverride?: "memory"

Defined in: packages/client/src/store-boot.ts:73

The internal test-only memory backend override (ADR-0036), carried through from the mint seam.


optional deps?: object

Defined in: packages/client/src/store-boot.ts:75

Injectable IO seams so Bun unit tests fake the whole browser surface.

optional idbExists?: (storePath) => Promise<boolean>

The recordless idb existence check (defaults to store-meta’s non-creating idbStoreExists).

string

Promise<boolean>

optional meta?: StoreMetaDeps

The store-meta IndexedDB seam (defaults to globalThis.indexedDB inside store-meta).

optional opfs?: OpfsEffectsDeps

The OPFS root seam (defaults to navigator.storage.getDirectory inside opfs-effects).


hasOpfsSyncAccess: boolean

Defined in: packages/client/src/store-boot.ts:71

The placement probe’s result, injected by the caller (invariant 8 — probe per boot, never cached here).