refactor: moved speed limits from local to api

This commit is contained in:
2025-05-07 18:18:34 +02:00
parent f73c3f4aec
commit 5929bbdccb
3 changed files with 30 additions and 177 deletions
+9
View File
@@ -234,10 +234,19 @@ export interface VehiclesGroup {
length: number;
weight: number;
cargoTypes: VehicleCargo[] | null;
locoProps: {
coldStart: boolean;
doubleManned: boolean;
} | null;
massSpeeds: VehicleGroupMassSpeeds | null;
}
export interface VehicleGroupMassSpeeds {
passenger: Record<string, number> | null;
cargo: Record<string, number> | null;
none: number | null;
}
export interface VehicleCargo {