czydojade/resources/ts/model/stop.ts
2018-09-02 19:23:38 +02:00

14 lines
257 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;
}