czydojade/resources/ts/model/departure.ts
2020-01-11 13:05:32 +01:00

21 lines
351 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: ???
}