24 lines
513 B
TypeScript
24 lines
513 B
TypeScript
interface Stop {
|
|
publicDeparture?: string | null;
|
|
wttDeparture?: string | null;
|
|
publicArrival?: string | null;
|
|
wttArrival?: string | null;
|
|
isPublic: boolean;
|
|
tiploc: string;
|
|
}
|
|
|
|
interface Service {
|
|
transactionType: string;
|
|
stpIndicator: string;
|
|
operator: string;
|
|
trainUid: string;
|
|
headcode: string;
|
|
powerType: string;
|
|
planSpeed: string;
|
|
scheduleStartDate: Date;
|
|
scheduleEndDate: Date;
|
|
daysRun: string[];
|
|
stops: Stop[];
|
|
}
|
|
|
|
export { Stop, Service } |