czydojade/front/src/model/departure.ts
2020-11-01 18:39:47 +01:00

24 lines
411 B
TypeScript

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