all repos — kokyo @ 6236a1282014a4097ecb54d5a9e9ed6bd7ae796d

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}