Finalizacja migracji

This commit is contained in:
2021-06-29 13:13:42 +02:00
parent 26ae065837
commit 19c2199c5e
71 changed files with 28313 additions and 13994 deletions
+61 -61
View File
@@ -1,61 +1,61 @@
import Train from "./Train";
import ScheduledTrain from "./ScheduledTrain";
export default interface Station {
stationName: string;
stationHash: string;
stationURL: string;
maxUsers: number;
currentUsers: number;
spawns: { spawnName: string; spawnLength: number }[];
dispatcherRate: number;
dispatcherName: string;
dispatcherExp: number;
dispatcherId: number;
dispatcherIsSupporter: boolean;
stationLines: string;
stationProject: string;
reqLevel: string;
supportersOnly: boolean;
SBL: string;
TWB: string;
signalType: string;
controlType: string;
default: boolean;
nonPublic: boolean;
unavailable: boolean;
routes: {
oneWay: { catenary: number; noCatenary: number };
twoWay: { catenary: number; noCatenary: number };
};
checkpoints:
| {
checkpointName: string;
scheduledTrains: ScheduledTrain[];
}[]
| null;
stops: string[] | null;
online: boolean;
statusTimestamp: number;
statusTimeString: string;
statusID: string;
stationTrains: {
driverName: number;
trainNo: number;
stopStatus?: string;
}[];
scheduledTrains: ScheduledTrain[];
}
import Train from "./Train";
import ScheduledTrain from "./ScheduledTrain";
export default interface Station {
stationName: string;
stationHash: string;
stationURL: string;
maxUsers: number;
currentUsers: number;
spawns: { spawnName: string; spawnLength: number }[];
dispatcherRate: number;
dispatcherName: string;
dispatcherExp: number;
dispatcherId: number;
dispatcherIsSupporter: boolean;
stationLines: string;
stationProject: string;
reqLevel: string;
supportersOnly: boolean;
SBL: string;
TWB: string;
signalType: string;
controlType: string;
default: boolean;
nonPublic: boolean;
unavailable: boolean;
routes: {
oneWay: { catenary: number; noCatenary: number };
twoWay: { catenary: number; noCatenary: number };
};
checkpoints:
| {
checkpointName: string;
scheduledTrains: ScheduledTrain[];
}[]
| null;
stops: string[] | null;
online: boolean;
statusTimestamp: number;
statusTimeString: string;
statusID: string;
stationTrains: {
driverName: number;
trainNo: number;
stopStatus?: string;
}[];
scheduledTrains: ScheduledTrain[];
}