mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
chore: displaying warning notes in driver view & journal timetables
This commit is contained in:
@@ -204,6 +204,7 @@ export namespace API {
|
||||
sceneries: string[];
|
||||
|
||||
path: string;
|
||||
warningNotes: string | null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+15
-12
@@ -72,19 +72,22 @@ export interface Train {
|
||||
isTimeout: boolean;
|
||||
isSupporter: boolean;
|
||||
|
||||
driverRouteLocation: RouteLocationRaw,
|
||||
driverRouteLocation: RouteLocationRaw;
|
||||
|
||||
timetableData?: {
|
||||
timetableId: number;
|
||||
category: string;
|
||||
route: string;
|
||||
followingStops: TrainStop[];
|
||||
TWR: boolean;
|
||||
SKR: boolean;
|
||||
routeDistance: number;
|
||||
sceneries: string[];
|
||||
timetablePath: TimetablePathElement[];
|
||||
};
|
||||
timetableData?: TrainTimetableData;
|
||||
}
|
||||
|
||||
export interface TrainTimetableData {
|
||||
timetableId: number;
|
||||
category: string;
|
||||
route: string;
|
||||
followingStops: TrainStop[];
|
||||
TWR: boolean;
|
||||
SKR: boolean;
|
||||
routeDistance: number;
|
||||
sceneries: string[];
|
||||
timetablePath: TimetablePathElement[];
|
||||
warningNotes: string | null;
|
||||
}
|
||||
|
||||
export interface Station {
|
||||
|
||||
Reference in New Issue
Block a user