Envelopes exported by the TypeScript domain before the Rust switch (FR, no
logos, fixed export time) are the semantic oracle of the switch (D-R11:
key order may change, values may not). The shipped Zod schemas are copied
verbatim under packages/core-wasm/tests/n-1 (develop 1a7ee7d) so a rollback
reader stays testable after packages/domain is deleted at R5.
22 lines
742 B
TypeScript
22 lines
742 B
TypeScript
/**
|
|
* The N-1 reader (RUST_ARCHITECTURE_REVIEW III.3 rule 7, VI.3): the Zod schemas and readers
|
|
* the last TypeScript build shipped, copied verbatim from `packages/domain/src` at develop
|
|
* 1a7ee7d (the R2 starting point) into `./domain`. Never edited: a Rust-written report, draft,
|
|
* snapshot or envelope that these readers refuse would break a rollback to that build.
|
|
* Permanent, it outlives `packages/domain` (deleted at R5).
|
|
*/
|
|
export {
|
|
ReportSchema,
|
|
ReportArchiveEnvelopeSchema,
|
|
SheetSnapshotSchema,
|
|
AnatomicalSheetDocumentSchema,
|
|
BrandingSchema,
|
|
PdfLabelSetSchema,
|
|
readArchiveDocument,
|
|
readReportDocument,
|
|
assertSnapshot,
|
|
type Report,
|
|
type ReportArchiveEnvelope,
|
|
type ReportMigrationMap,
|
|
} from './domain'
|