Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/graphql / dist / bootstrapper / api / index.js
Size: Mime:
"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