fix agent issues

This commit is contained in:
marshal
2026-09-08 13:57:20 +00:00
parent 7af3ded7d7
commit 52f604e738
4 changed files with 94 additions and 16 deletions

View File

@@ -412,8 +412,21 @@ export interface ClearanceT1State {
export interface ClearanceTrainState {
scheduleId: string | null;
wagonAllocated: boolean;
/**
* The BOOKING's own journey: when it was loaded, and when it was unloaded at
* its own destination. A booking that alights mid-corridor arrives while the
* train rolls on, and one still on board has not arrived even though the
* train has — so clearance gates (T1) key on these, not on the train's.
*/
departedAt: string | null;
arrivedAt: string | null;
/**
* The TRAIN's own actuals, for showing where the train physically is. Set
* once the schedule is dispatched / marked arrived, regardless of whether
* this booking has been unloaded yet.
*/
scheduleDepartedAt?: string | null;
scheduleArrivedAt?: string | null;
}
/**