czydojade/front/resources/ts/model/line.ts
2020-11-01 17:57:06 +01:00

15 lines
277 B
TypeScript

export type LineType = "tram" | "bus" | "trolleybus" | "train" | "other";
export interface Line {
id: any;
symbol: string;
type: LineType;
night: boolean;
fast: boolean;
}
export interface Track {
id: string;
description: string;
line: Line;
}