import { StationState } from './types' ; export function getCurrentStationId ( stationState ) { return stationState . currentStationId ; } export function getNearbyStationIds ( stationState ) { return stationState . nearbyStationIds ; } export function getPlatformsByStationId ( stationState ) { return stationState . platformsByStationId ; } export function getStationsById ( stationState ) { return stationState . stationsById ; }