@mdf.js/service-registry
Version:
MMS - API - Service Registry
33 lines • 898 B
JavaScript
;
/**
* Copyright 2024 Mytra Control S.L. All rights reserved.
*
* Use of this source code is governed by an MIT-style license that can be found in the LICENSE file
* or at https://opensource.org/licenses/MIT.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Service = void 0;
/** Service class */
class Service {
/**
* Create an instance of service
* @param model - model instance
*/
constructor(model) {
this.model = model;
}
/** Return the presets configuration objects */
async presets() {
return this.model.presets();
}
/** Return the configuration object */
async config() {
return this.model.config();
}
/** Return the readme object */
async readme() {
return this.model.readme();
}
}
exports.Service = Service;
//# sourceMappingURL=config.service.js.map