@mdf.js/service-registry
Version:
MMS - API - Service Registry
24 lines • 848 B
TypeScript
/**
* 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.
*/
import { CustomSetting, CustomSettings } from '../../types';
import { Model } from './config.model';
/** Service class */
export declare class Service {
private readonly model;
/**
* Create an instance of service
* @param model - model instance
*/
constructor(model: Model);
/** Return the presets configuration objects */
presets(): Promise<Record<string, CustomSettings>>;
/** Return the configuration object */
config(): Promise<Record<string, CustomSetting>>;
/** Return the readme object */
readme(): Promise<string | undefined>;
}
//# sourceMappingURL=config.service.d.ts.map