czydojade/resources/ts/model/stop.ts
2020-01-24 22:03:28 +01:00

18 lines
289 B
TypeScript

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