db-vendo-client/p/irish-rail/index.js

27 lines
603 B
JavaScript
Raw Permalink 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);
2018-04-12 21:49:55 +02:00
const baseProfile = require('./base.json');
import {products} from './products.js';
2018-04-12 21:49:55 +02:00
2022-05-07 16:17:37 +02:00
const profile = {
...baseProfile,
2018-04-12 21:49:55 +02:00
locale: 'en-IE',
timezone: 'Europe/Dublin',
defaultLanguage: 'ga',
2018-04-12 21:49:55 +02:00
salt: Buffer.from('i5s7m3q9z6b4k1c2', 'utf8'),
addMicMac: true,
products: products,
refreshJourney: false, // fails with `CGI_READ_FAILED`
2018-04-12 21:49:55 +02:00
trip: true,
radar: true,
};
2018-04-12 21:49:55 +02:00
2022-05-07 16:17:37 +02:00
export {
profile,
};