Skip to content

StoreExportDeps

Defined in: packages/client/src/export-store.ts:241

The dependencies performStoreExport needs from the owning client — narrow, so it is unit-testable.

pglite: Pick<ClientPGlite, "exec" | "dumpDataDir">

Defined in: packages/client/src/export-store.ts:243

The live store to checkpoint and dump.


readMutationStats: () => Promise<MutationDiagnostics>

Defined in: packages/client/src/export-store.ts:245

The Mutation diagnostics seam (client.diagnostics().mutation / readMutationStats).

Promise<MutationDiagnostics>


optional storePath?: string

Defined in: packages/client/src/export-store.ts:251

The store’s configured plain store PATH (ADR-0036) — reduced to the storeId in the default backup file name (deriveStoreId). The resolved PGlite dataDir URL is deliberately NOT used here: it is internal plumbing and must not leak into an artefact name as something to imitate.