15 lines
258 B
TypeScript
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;
|
|
}
|