db-vendo-client/p/vsn/index.js

29 lines
750 B
JavaScript
Raw Normal View History

2022-05-07 16:17:37 +02:00
// todo: use import assertions once they're supported by Node.js & ESLint
// https://github.com/tc39/proposal-import-assertions
import {createRequire} from 'module';
const require = createRequire(import.meta.url);
2020-02-06 16:25:21 +01:00
const baseProfile = require('./base.json');
import {products} from './products.js';
2020-02-06 16:25:21 +01:00
2022-05-07 16:17:37 +02:00
const profile = {
...baseProfile,
2020-02-06 16:25:21 +01:00
locale: 'de-DE',
timezone: 'Europe/Berlin',
// https://gist.github.com/n0emis/3b6887572793f4f54da9d83b30548332#file-haf_config_base-properties-L31
// https://runkit.com/derhuerst/hafas-decrypt-encrypted-mac-salt
salt: Buffer.from('SP31mBufSyCLmNxp', 'utf8'),
2020-02-06 16:25:21 +01:00
addMicMac: true,
products: products,
refreshJourneyUseOutReconL: true,
2020-02-06 16:25:21 +01:00
trip: true,
radar: true,
reachableFrom: true,
};
2020-02-06 16:25:21 +01:00
2022-05-07 16:17:37 +02:00
export {
profile,
};