@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
55 lines (45 loc) • 1.92 kB
text/typescript
// SPDX-License-Identifier: Apache-2.0
import {Exclude, Expose, Transform} from 'class-transformer';
import {Transformations} from '../utils/transformations.js';
import {SemanticVersion} from '../../../../business/utils/semantic-version.js';
export class ApplicationVersionsSchema {
public cli: SemanticVersion<string>;
public chart: SemanticVersion<string>;
public consensusNode: SemanticVersion<string>;
public mirrorNodeChart: SemanticVersion<string>;
public explorerChart: SemanticVersion<string>;
public jsonRpcRelayChart: SemanticVersion<string>;
public blockNodeChart: SemanticVersion<string>;
public constructor(
cli?: SemanticVersion<string>,
chart?: SemanticVersion<string>,
consensusNode?: SemanticVersion<string>,
mirrorNodeChart?: SemanticVersion<string>,
explorerChart?: SemanticVersion<string>,
jsonRpcRelayChart?: SemanticVersion<string>,
blockNodeChart?: SemanticVersion<string>,
) {
this.cli = cli ?? new SemanticVersion<string>('0.0.0');
this.chart = chart ?? new SemanticVersion<string>('0.0.0');
this.consensusNode = consensusNode ?? new SemanticVersion<string>('0.0.0');
this.mirrorNodeChart = mirrorNodeChart ?? new SemanticVersion<string>('0.0.0');
this.explorerChart = explorerChart ?? new SemanticVersion<string>('0.0.0');
this.jsonRpcRelayChart = jsonRpcRelayChart ?? new SemanticVersion<string>('0.0.0');
this.blockNodeChart = blockNodeChart ?? new SemanticVersion<string>('0.0.0');
}
}