@sap-ux/store
Version:
NPM module for storing persistent data
19 lines • 523 B
JavaScript
;
/**
* @todo: This needs to be replaced by the functions from `@sap-ux/btp-utils`
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ENV = void 0;
exports.isAppStudio = isAppStudio;
/**
* Enumeration of environment variables used in AppStudio
*/
var ENV;
(function (ENV) {
ENV["PROXY_URL"] = "HTTP_PROXY";
ENV["H2O_URL"] = "H2O_URL";
})(ENV || (exports.ENV = ENV = {}));
function isAppStudio() {
return !!process.env[ENV.H2O_URL];
}
//# sourceMappingURL=app-studio.js.map