Skip to content

DiagnosticExportDeps

Defined in: packages/client/src/export-dump.ts:46

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

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

Defined in: packages/client/src/export-dump.ts:48

The live store to checkpoint and dump (the clone source; the live engine is never suspended).


readMutationStats: () => Promise<MutationDiagnostics>

Defined in: packages/client/src/export-dump.ts:50

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

Promise<MutationDiagnostics>


optional storePath?: string

Defined in: packages/client/src/export-dump.ts:56

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