@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
78 lines • 3.51 kB
JavaScript
// SPDX-License-Identifier: Apache-2.0
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
import { Exclude, Expose, Transform } from 'class-transformer';
import { Transformations } from '../utils/transformations.js';
import { SemanticVersion } from '../../../../business/utils/semantic-version.js';
let ApplicationVersionsSchema = class ApplicationVersionsSchema {
cli;
chart;
consensusNode;
mirrorNodeChart;
explorerChart;
jsonRpcRelayChart;
blockNodeChart;
constructor(cli, chart, consensusNode, mirrorNodeChart, explorerChart, jsonRpcRelayChart, blockNodeChart) {
this.cli = cli ?? new SemanticVersion('0.0.0');
this.chart = chart ?? new SemanticVersion('0.0.0');
this.consensusNode = consensusNode ?? new SemanticVersion('0.0.0');
this.mirrorNodeChart = mirrorNodeChart ?? new SemanticVersion('0.0.0');
this.explorerChart = explorerChart ?? new SemanticVersion('0.0.0');
this.jsonRpcRelayChart = jsonRpcRelayChart ?? new SemanticVersion('0.0.0');
this.blockNodeChart = blockNodeChart ?? new SemanticVersion('0.0.0');
}
};
__decorate([
Expose(),
Transform(Transformations.SemanticVersion),
__metadata("design:type", SemanticVersion)
], ApplicationVersionsSchema.prototype, "cli", void 0);
__decorate([
Expose(),
Transform(Transformations.SemanticVersion),
__metadata("design:type", SemanticVersion)
], ApplicationVersionsSchema.prototype, "chart", void 0);
__decorate([
Expose(),
Transform(Transformations.SemanticVersion),
__metadata("design:type", SemanticVersion)
], ApplicationVersionsSchema.prototype, "consensusNode", void 0);
__decorate([
Expose(),
Transform(Transformations.SemanticVersion),
__metadata("design:type", SemanticVersion)
], ApplicationVersionsSchema.prototype, "mirrorNodeChart", void 0);
__decorate([
Expose(),
Transform(Transformations.SemanticVersion),
__metadata("design:type", SemanticVersion)
], ApplicationVersionsSchema.prototype, "explorerChart", void 0);
__decorate([
Expose(),
Transform(Transformations.SemanticVersion),
__metadata("design:type", SemanticVersion)
], ApplicationVersionsSchema.prototype, "jsonRpcRelayChart", void 0);
__decorate([
Expose(),
Transform(Transformations.SemanticVersion),
__metadata("design:type", SemanticVersion)
], ApplicationVersionsSchema.prototype, "blockNodeChart", void 0);
ApplicationVersionsSchema = __decorate([
Exclude(),
__metadata("design:paramtypes", [SemanticVersion,
SemanticVersion,
SemanticVersion,
SemanticVersion,
SemanticVersion,
SemanticVersion,
SemanticVersion])
], ApplicationVersionsSchema);
export { ApplicationVersionsSchema };
//# sourceMappingURL=application-versions-schema.js.map