18 lines
499 B
TypeScript
18 lines
499 B
TypeScript
import { RouteTypeLegacy } from '../enumerators';
|
|
import { IArrivalStation } from './arrival-station.model';
|
|
import { IDepartureStation } from './departure-station.model';
|
|
|
|
export type StationChange = 'city' | 'airport' | 'terminal' | 'noChange';
|
|
|
|
export interface Stations {
|
|
arrival: IArrivalStation;
|
|
departure: IDepartureStation;
|
|
}
|
|
|
|
export interface Transfer {
|
|
type: RouteTypeLegacy;
|
|
arrival: IArrivalStation;
|
|
departure: IDepartureStation;
|
|
stationChange?: StationChange;
|
|
}
|