mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-27 22:45:03 +00:00
- Money formatters: model.ts owns the single formatMoneyCompact + moneyFull; components/primitives re-exports them (moneyCompact = formatMoneyCompact) and the PDF's local money() is gone. - ReportView: viewState.ts is the single definition; ScenarioCombobox re-exports it instead of re-declaring. - EPC_BANDS: the reporting API routes import the canonical @/lib/epc/bands rather than the scenarios-model copy. - compare/page uses countBelowBand(toBandCounts(...), "C") instead of a hardcoded ["D","E","F","G"] reduce. Typecheck + 95 reporting/epc tests green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| lib | ||
| types | ||
| middleware.ts | ||