UNPKG

@mdf.js/service-registry

Version:

MMS - API - Service Registry

25 lines 680 B
"use strict"; /** * 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; } /** Get all the error in the registry */ errors() { return this.model.errors(); } } exports.Service = Service; //# sourceMappingURL=registry.service.js.map