// 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 { SemVer } from 'semver';
import { Transformations } from '../utils/transformations.js';
let ApplicationVersionsSchema = class ApplicationVersionsSchema {
    cli;
    chart;
    consensusNode;
    mirrorNodeChart;
    explorerChart;
    jsonRpcRelayChart;
    blockNodeChart;
    constructor(cli, chart, consensusNode, mirrorNodeChart, explorerChart, jsonRpcRelayChart, blockNodeChart) {
        this.cli = cli ?? new SemVer('0.0.0');
        this.chart = chart ?? new SemVer('0.0.0');
        this.consensusNode = consensusNode ?? new SemVer('0.0.0');
        this.mirrorNodeChart = mirrorNodeChart ?? new SemVer('0.0.0');
        this.explorerChart = explorerChart ?? new SemVer('0.0.0');
        this.jsonRpcRelayChart = jsonRpcRelayChart ?? new SemVer('0.0.0');
        this.blockNodeChart = blockNodeChart ?? new SemVer('0.0.0');
    }
};
__decorate([
    Expose(),
    Transform(Transformations.SemVer),
    __metadata("design:type", SemVer)
], ApplicationVersionsSchema.prototype, "cli", void 0);
__decorate([
    Expose(),
    Transform(Transformations.SemVer),
    __metadata("design:type", SemVer)
], ApplicationVersionsSchema.prototype, "chart", void 0);
__decorate([
    Expose(),
    Transform(Transformations.SemVer),
    __metadata("design:type", SemVer)
], ApplicationVersionsSchema.prototype, "consensusNode", void 0);
__decorate([
    Expose(),
    Transform(Transformations.SemVer),
    __metadata("design:type", SemVer)
], ApplicationVersionsSchema.prototype, "mirrorNodeChart", void 0);
__decorate([
    Expose(),
    Transform(Transformations.SemVer),
    __metadata("design:type", SemVer)
], ApplicationVersionsSchema.prototype, "explorerChart", void 0);
__decorate([
    Expose(),
    Transform(Transformations.SemVer),
    __metadata("design:type", SemVer)
], ApplicationVersionsSchema.prototype, "jsonRpcRelayChart", void 0);
__decorate([
    Expose(),
    Transform(Transformations.SemVer),
    __metadata("design:type", SemVer)
], ApplicationVersionsSchema.prototype, "blockNodeChart", void 0);
ApplicationVersionsSchema = __decorate([
    Exclude(),
    __metadata("design:paramtypes", [SemVer,
        SemVer,
        SemVer,
        SemVer,
        SemVer,
        SemVer,
        SemVer])
], ApplicationVersionsSchema);
export { ApplicationVersionsSchema };
//# sourceMappingURL=application-versions-schema.js.map