filtrowanie ukrytych szlaków

This commit is contained in:
2024-01-06 14:47:20 +01:00
parent 2348277b95
commit bc1c1bd3d2
5 changed files with 73 additions and 75 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import { Availability, OnlineScenery, ScheduledTrain } from '../../store/typings';
import StationRoutes from './StationRoutes';
import { StationRoutes } from './StationRoutes';
export default interface Station {
name: string;
+4 -21
View File
@@ -1,25 +1,8 @@
export default interface StationRoutes {
oneWay: {
name: string;
catenary: boolean;
SBL: boolean;
TWB: boolean;
isInternal: boolean;
tracks: number;
speed: number;
length: number;
}[];
import { StationRoutesInfo } from '../../store/typings';
twoWay: {
name: string;
catenary: boolean;
SBL: boolean;
TWB: boolean;
isInternal: boolean;
tracks: number;
speed: number;
length: number;
}[];
export interface StationRoutes {
oneWay: StationRoutesInfo[];
twoWay: StationRoutesInfo[];
/* [catenary, noCatenary] */
oneWayCatenaryRouteNames: string[];