chore: added TN/PN freight types

This commit is contained in:
2024-09-30 22:32:29 +02:00
parent 4ac92198b7
commit 421add1ec1
11 changed files with 152 additions and 43 deletions
+6 -3
View File
@@ -201,10 +201,11 @@ export namespace API {
TWR: boolean;
SKR: boolean;
sceneries: string[];
path: string;
hasDangerousCargo: boolean;
hasExtraDeliveries: boolean;
warningNotes: string | null;
sceneries: string[];
path: string;
}
}
@@ -266,6 +267,8 @@ export namespace API {
sceneryNames: string[];
path: string;
warningNotes: string | null;
hasDangerousCargo: boolean;
hasExtraDeliveries: boolean;
}
export type Response = Data[];
+3 -1
View File
@@ -84,10 +84,12 @@ export interface TrainTimetableData {
followingStops: TrainStop[];
TWR: boolean;
SKR: boolean;
hasDangerousCargo: boolean;
hasExtraDeliveries: boolean;
warningNotes: string | null;
routeDistance: number;
sceneries: string[];
timetablePath: TimetablePathElement[];
warningNotes: string | null;
}
export interface Station {