Skip to content

ExportReportCommon

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

The fields EVERY export report carries, whatever its kind — built in the BootReport house style (ADR-0034): reportVersion is a contract number (additive fields keep it, a breaking reshape bumps it); all *Ms are milliseconds; startedAt is the only wall-clock value and every *AtMs is a monotonic offset from it. The per-kind interfaces below add their kind/scope/phases discriminant on top.

byteLength: number

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

The artefact’s byte length — the size the caller downloads / persists.


diagnostics: MutationDiagnostics

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

The MutationDiagnostics snapshot at export time — the journal state captured alongside the artefact (for the store backup, the very journal that travels INSIDE the tarball; for the diagnostic dump, the live store’s journal at dump time, whose rows the SQL also carries).


reportVersion: 1

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


startedAt: number

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

Epoch anchor (Date.now()) at export start; every other duration/offset is monotonic relative to it.


totalMs: number

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

Export start → artefact ready.