zorigami
Version:
a package for managing web workers
25 lines • 906 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var ApiConfigProvider = /** @class */ (function () {
function ApiConfigProvider() {
var _this = this;
this.storeApiConfig = function (api_config) {
_this.api_config = api_config;
};
this.getApiConfig = function () {
return _this.api_config;
};
this.listApiConfig = function () {
return Object.keys(_this.api_config);
};
this.storeApiConfig = this.storeApiConfig.bind(this);
this.getApiConfig = this.getApiConfig.bind(this);
this.listApiConfig = this.listApiConfig.bind(this);
this.api_config = {};
}
return ApiConfigProvider;
}());
exports.ApiConfigProvider = ApiConfigProvider;
var provider = new ApiConfigProvider();
exports.default = provider;
//# sourceMappingURL=provide_api_config.js.map