remove reopen delay minutes from global rules and update related types

- Removed the  field from  and related components.
- Updated  to reflect the removal of the reopen delay input field.
- Modified  to include new train number fields:  and .
- Added  interface to manage active schedules with trade direction.
- Introduced  interface to track wagon shortages in bookings.
- Updated  logic to ensure consistent UI state representation.
- Created migrations to drop the  column and add  and  columns to the  table.
- Added tests for the new booking window display logic and wagon planning functionality.
This commit is contained in:
Marshal
2026-07-15 09:13:02 +00:00
parent 9be7f356f0
commit 11771e5f92
39 changed files with 1731 additions and 269 deletions

View File

@@ -182,6 +182,8 @@ export enum SchedulingStatus {
Eligible = "ELIGIBLE",
Scheduled = "SCHEDULED",
Dispatched = "DISPATCHED",
/** Paid, but no wagon of the required type was free — held in the day pool for manual placement. */
WaitingForWagon = "WAITING_FOR_WAGON",
}
export enum TrainScheduleStatus {