UNPKG

@mdf.js/service-registry

Version:

MMS - API - Service Registry

25 lines 698 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.Model = void 0; /** Model class */ class Model { /** * Create an instance of model class * @param aggregator - registry instance */ constructor(aggregator) { this.aggregator = aggregator; } /** Get all the error in the registry */ errors() { return this.aggregator.errors; } } exports.Model = Model; //# sourceMappingURL=registry.model.js.map