all repos — kokyo @ 96b7285acbac64583de6ddb0612a88f3d65dd885

Chatbot and CLI tool for Swiss public transports

types.d.ts (view raw)

 1interface StopEvent {
 2  from: string;
 3  to: string;
 4  departure: string;
 5  departureIn?: number;
 6  stopName: string;
 7  quay: string;
 8  serviceName: string;
 9  serviceType: string;
10  serviceTypeIcon: string;
11}
12
13interface Stop {
14  name: string;
15  stopRef: string;
16  geoPosition?: {
17    latitude: number;
18    longitude: number;
19  };
20}