czydojade/resources/ts/model/stop.ts
2018-10-03 21:10:11 +02:00

15 lines
258 B
TypeScript

export interface Stop {
id: any;
name: string;
description?: string;
location?: [ number, number ];
onDemand?: boolean;
variant?: string;
}
export type StopGroup = Stop[];
export type StopGroups = {
[name: string]: StopGroup;
}