mirror of
https://github.com/public-transport/db-vendo-client.git
synced 2025-02-23 07:09:35 +02:00
16 lines
264 B
JavaScript
16 lines
264 B
JavaScript
import {formatLocationIdentifier} from './location-identifier.js'
|
|
|
|
const formatStation = (id) => {
|
|
return {
|
|
type: 'S', // station
|
|
// todo: name necessary?
|
|
lid: formatLocationIdentifier({
|
|
A: '1', // station?
|
|
L: id
|
|
})
|
|
}
|
|
}
|
|
|
|
export {
|
|
formatStation,
|
|
}
|