Repository URL to install this package:
|
Version:
6.0.0 ▾
|
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @file @todo remove? unused endpoints?
* @todo should split this up
* @todo this is out of date
*/
__export(require("./config"));
const dynamicEnv_1 = require("../setup/dynamicEnv");
exports.DEFAULT_CONFIG = {
// env, fixture, orchestration
get api() {
dynamicEnv_1.updateEnvFromConfig();
return process.env.NODE_ENV === 'testing'
? 'fixture'
: process.env.API_LAYER || 'orchestration';
},
};
//# sourceMappingURL=index.js.map