leistungsbilanz-ts/src/db/repositories
Julian Appel 7222398628 Typecheck tests against current types
tsx runs tests without type checking and tsconfig.json covers only src,
so 71 type errors had accumulated unnoticed. tsconfig.tests.json now
checks every test and helper, and npm run typecheck includes it.

Fixtures gain the fields the DTOs have grown since they were written
(manualQuantity, circuit apparent power/cos phi, downstream board loads,
section totals, building, cover and board info fields). Repository
lookups that return "row ?? null" now declare the null in their type,
which their callers already handle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 13:17:45 +01:00
..
automatic-project-snapshot.persistence.ts Add automatic project snapshots 2026-07-25 23:27:51 +02:00
batched-insert.persistence.ts Harden Linear XLSX end to end 2026-09-30 21:02:20 +02:00
building.repository.ts Add buildings above floors and a building structure page 2026-09-26 12:52:34 +02:00
circuit-device-row-move-project-command.repository.ts Protect referenced feeder structures from deletion 2026-09-27 22:25:47 +02:00
circuit-device-row-project-command.repository.ts Add external row quantity foundation 2026-08-02 18:26:22 +02:00
circuit-device-row-structure-project-command.repository.ts Complete Revit object editor assignments 2026-09-30 14:35:14 +02:00
circuit-device-row-structure.persistence.ts Add external row quantity foundation 2026-08-02 18:26:22 +02:00
circuit-device-row.persistence.ts Fix code-review findings across domain, persistence, server and frontend 2026-08-06 21:31:16 +02:00
circuit-device-row.repository.ts Add external row quantity foundation 2026-08-02 18:26:22 +02:00
circuit-group-move-project-command.repository.ts Persist circuit group moves 2026-07-30 20:03:11 +02:00
circuit-group-renumber-project-command.repository.ts Add test and security baseline 2026-10-15 09:40:33 +02:00
circuit-group-structure-project-command.repository.ts Add circuit group reordering 2026-07-30 19:49:27 +02:00
circuit-group-subtree-project-command.repository.ts Complete Revit object editor assignments 2026-09-30 14:35:14 +02:00
circuit-list.repository.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
circuit-project-command.repository.ts Fix code-review findings across domain, persistence, server and frontend 2026-08-06 21:31:16 +02:00
circuit-protection-device.repository.ts Expose protected tree structure 2026-07-30 20:14:45 +02:00
circuit-protection-project-command.repository.ts Persist circuit protection updates 2026-07-31 07:37:38 +02:00
circuit-section-renumber-project-command.repository.ts Reuse command transaction boundary 2026-07-26 11:21:01 +02:00
circuit-section-reorder-project-command.repository.ts Reuse command transaction boundary 2026-07-26 11:21:01 +02:00
circuit-section.repository.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
circuit-structure-project-command.repository.ts Complete Revit object editor assignments 2026-09-30 14:35:14 +02:00
circuit.persistence.ts Create clean release database baseline 2026-07-31 14:07:26 +02:00
circuit.repository.ts Add recursive distribution board load projection 2026-09-27 22:31:56 +02:00
distribution-board-component-structure-project-command.repository.ts Fix code-review findings across domain, persistence, server and frontend 2026-08-06 21:31:16 +02:00
distribution-board-component.repository.ts Add recursive distribution board load projection 2026-09-27 22:31:56 +02:00
distribution-board-feeding-deletion-guard.persistence.ts Protect referenced feeder structures from deletion 2026-09-27 22:25:47 +02:00
distribution-board-structure-project-command.repository.ts Add test and security baseline 2026-10-15 09:40:33 +02:00
distribution-board-subtree-project-command.repository.ts Complete Revit object editor assignments 2026-09-30 14:35:14 +02:00
distribution-board.repository.ts Add distribution power summaries 2026-07-29 19:02:18 +02:00
document-branding.repository.ts Add print cover fields and office profile 2026-09-26 10:39:18 +02:00
equipment-identifier-uniqueness.persistence.ts Fix code-review findings across domain, persistence, server and frontend 2026-08-06 21:31:16 +02:00
estimate-balance-project-command.repository.ts Add the rough power balance module for early design phases 2026-09-26 17:39:28 +02:00
estimate-balance.persistence.ts Add the rough power balance module for early design phases 2026-09-26 17:39:28 +02:00
estimate-balance.repository.ts Add the rough power balance module for early design phases 2026-09-26 17:39:28 +02:00
external-export-batch.repository.ts Add Revit return workbook export 2026-09-30 15:15:17 +02:00
external-follow-up-import-project-command.repository.ts Normalize external model state comparisons 2026-09-30 21:19:16 +02:00
external-initial-import-project-command.repository.ts Add test and security baseline 2026-10-15 09:40:33 +02:00
external-model-configuration-project-command.repository.ts Replace Revit CSV backend with Linear XLSX 2026-09-30 08:46:07 +02:00
external-model-configuration.repository.ts Replace Revit CSV backend with Linear XLSX 2026-09-30 08:46:07 +02:00
external-model-state.repository.ts Replace Revit CSV backend with Linear XLSX 2026-09-30 08:46:07 +02:00
external-object-assignment.persistence.ts Complete Revit object editor assignments 2026-09-30 14:35:14 +02:00
external-object-delete-missing-project-command.repository.ts Add Linear XLSX follow-up import 2026-09-30 20:40:40 +02:00
external-object-deletion-guard.persistence.ts Complete Revit object editor assignments 2026-09-30 14:35:14 +02:00
external-object-new-circuit-project-command.repository.ts Add test and security baseline 2026-10-15 09:40:33 +02:00
external-object-new-row-project-command.repository.ts Add external object new circuit command 2026-08-02 18:55:57 +02:00
external-object-planning-project-command.repository.ts Add virtualized Revit object planning 2026-09-30 10:03:36 +02:00
external-object-row-assignment-project-command.repository.ts Add external object new circuit command 2026-08-02 18:55:57 +02:00
floor.repository.ts Add editable project floors and rooms 2026-07-31 14:46:06 +02:00
global-device.repository.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
project-command-transaction.persistence.ts Centralize device row update transactions 2026-07-26 11:28:06 +02:00
project-device-project-command.repository.ts Derive device voltages from project settings 2026-07-29 09:53:58 +02:00
project-device-row-sync-project-command.repository.ts Keep manual quantity consistent when synchronizing device rows 2026-08-23 18:05:50 +02:00
project-device-structure-project-command.repository.ts Create clean release database baseline 2026-07-31 14:07:26 +02:00
project-device.repository.ts Inject application database contexts 2026-07-26 12:30:42 +02:00
project-history.persistence.ts Restore named project snapshots 2026-07-25 22:41:24 +02:00
project-history.repository.ts Describe snapshot source revisions 2026-07-29 11:52:26 +02:00
project-location-structure-project-command.repository.ts Complete Revit object editor assignments 2026-09-30 14:35:14 +02:00
project-revision.persistence.ts Add automatic project snapshots 2026-07-25 23:27:51 +02:00
project-settings-project-command.repository.ts Add print cover fields and office profile 2026-09-26 10:39:18 +02:00
project-snapshot.repository.ts Add print view, board info card and document logo upload 2026-09-26 10:38:59 +02:00
project-state-restore-command.repository.ts Harden Linear XLSX end to end 2026-09-30 21:02:20 +02:00
project-state-snapshot.persistence.ts Replace Revit CSV backend with Linear XLSX 2026-09-30 08:46:07 +02:00
project-transfer.repository.ts Harden Linear XLSX end to end 2026-09-30 21:02:20 +02:00
project-voltage.persistence.ts Derive device voltages from project settings 2026-07-29 09:53:58 +02:00
project.repository.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00
room.repository.ts Add editable project floors and rooms 2026-07-31 14:46:06 +02:00
user.repository.ts Typecheck tests against current types 2026-10-29 13:17:45 +01:00