UNPKG

dynamicsmobile

Version:

Allows development of off-line mobile and web business apps over the Dynamics Mobile platform. More info on https://www.dynamicsmobile.com

30 lines 1.28 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ConfigurationBackendService = void 0; const tslib_1 = require("tslib"); const dms_ioc_1 = require("../ioc/dms-ioc"); let ConfigurationBackendService = exports.ConfigurationBackendService = class ConfigurationBackendService { constructor(iocInstances) { this.iocInstances = iocInstances; } getSetting(key) { return tslib_1.__awaiter(this, void 0, void 0, function* () { return this.iocInstances['ConfigurationService'].instance.getSetting(key); }); } setSetting(key, value) { return tslib_1.__awaiter(this, void 0, void 0, function* () { return this.iocInstances['ConfigurationService'].instance.setSetting(key, value); }); } getAllSettings() { return tslib_1.__awaiter(this, void 0, void 0, function* () { return this.iocInstances['ConfigurationService'].instance.getAllSettings(); }); } }; exports.ConfigurationBackendService = ConfigurationBackendService = tslib_1.__decorate([ (0, dms_ioc_1.Service)({ singleton: true }), tslib_1.__metadata("design:paramtypes", [Object]) ], ConfigurationBackendService); //# sourceMappingURL=configuration-backendservice.js.map