db-vendo-client/format/station.js

18 lines
328 B
JavaScript
Raw Normal View History

import {formatLocationIdentifier} from './location-identifier.js';
const formatStation = (id) => {
return {
type: 'S', // station
// todo: name necessary?
lid: formatLocationIdentifier({
A: '1', // station?
L: id,
2023-12-07 00:54:29 +01:00
// todo: `p` timestamp of when the ID was obtained
}),
};
};
2017-11-12 00:53:34 +01:00
2022-05-07 16:17:37 +02:00
export {
formatStation,
};