czydojade/resources/ts/model/departure.ts
2018-09-13 18:43:00 +02:00

20 lines
349 B
TypeScript

import { Stop } from "./stop";
import { Line } from "./line";
import { Moment } from "moment";
export interface Departure {
display: string;
estimated: Moment;
scheduled: Moment;
stop: Stop;
line: Line;
delay: number;
vehicle?: Vehicle;
}
export interface Vehicle {
id: string;
// todo: ???
}