czydojade/resources/ts/model/stop.ts
2020-02-06 21:31:11 +01:00

19 lines
316 B
TypeScript

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