@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
45 lines (37 loc) • 1.1 kB
text/typescript
// SPDX-License-Identifier: Apache-2.0
import {Exclude, Expose, Transform} from 'class-transformer';
import {Transformations} from '../../utils/transformations.js';
import {type DeploymentPhase} from '../deployment-phase.js';
import {
type ClusterReferenceName,
type ComponentId,
type NamespaceNameAsString,
type PortForwardConfig,
} from '../../../../../types/index.js';
export class ComponentStateMetadataSchema {
public id: ComponentId;
public namespace: NamespaceNameAsString;
public cluster: ClusterReferenceName;
public phase: DeploymentPhase;
public portForwardConfigs: PortForwardConfig[];
public constructor(
id?: ComponentId,
namespace?: NamespaceNameAsString,
cluster?: ClusterReferenceName,
phase?: DeploymentPhase,
portForwardConfigs?: PortForwardConfig[],
) {
this.id = id;
this.namespace = namespace;
this.cluster = cluster;
this.phase = phase;
this.portForwardConfigs = portForwardConfigs;
}
}