migracja z route na routeNames

This commit is contained in:
2023-05-18 02:37:27 +02:00
parent f49bb12948
commit 38e700ecd6
2 changed files with 42 additions and 49 deletions
+12 -1
View File
@@ -55,6 +55,16 @@ export interface APIData {
connectedSocketCount: number;
}
export interface StationRoutesInfo {
routeName: string;
isElectric: boolean;
isInternal: boolean;
isRouteSBL: boolean;
routeLength: number;
routeSpeed: number;
routeTracks: number;
}
export interface StationJSONData {
name: string;
abbr: string;
@@ -70,7 +80,8 @@ export interface StationJSONData {
SUP: boolean;
routes: string;
// routes: string;
routesInfo: StationRoutesInfo[];
checkpoints: string | null;
authors?: string;