18 lines
289 B
TypeScript
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;
|
|
}
|