mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-21 14:36:31 +00:00
3748bdb815
The stage queries of MDT-02 took DayAssignments.repository.ts past the 1000 lines lint:size allows. Two concerns move out of it instead: - The stages of a multi-day tour that days hold are a tour question, so findTourStage and deleteTourStagesNotIn move to ToursRepository, next to isOnDay and listStagePoints, which AssignmentsService already asks. No constructor changes, and the tests move with them (TOURREPO-019 to 021). - The rows the repository answers with and the Kysely table shapes its statements are typed against move to day-assignment-rows.ts, so the file holds the statements alone and has room again. tours.service.ts stays at its 1000 lines.