all repos — kokyo @ d3e94c1b0d41b8bf8530ecb6d38c41166dc8f01f

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 Place {
14  name: string;
15  stopRef: string;
16  geoPosition: {
17    latitude: number;
18    longitude: number;
19  };
20}