Domain Entities
The Entities folder contains the central domain models.
Key Entities
- Project: Represents a MILTON project tying together repositories, document layouts, and configuration rules.
- Document: The container entity for all software documents generated via MILTON. Tracks generation via
PdfStorageKeyandPdfGeneratedAt. - DocumentTemplate: Reusable blueprint for generating documents. Includes
DocumentStyleJsonfor global document styling. - Section: A hierarchical recursive object delineating layout chapters inside a
Document. UsesStyleJsonfor localized UI rendering and layout handling. - ContentBlock: A polymorphic component (e.g., text, generated test cases, mermaid graphs) acting as the smallest atom inside sections. Includes
LayoutJsonfor optional grid-based positioning.