UNPKG

@mdf.js/service-registry

Version:

MMS - API - Service Registry

25 lines 714 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; } /** Return all the actual metrics of this artifact */ metrics(jsonFormat) { return this.model.metrics(jsonFormat); } } exports.Service = Service; //# sourceMappingURL=metrics.service.js.map