@goldstack/infra
Version:
Utilities for defining infrastructure for npm packages.
13 lines • 1.14 kB
TypeScript
import type { DeploymentState, DeploymentsState } from './types/deploymentStatesTypes';
export declare const validateDeploymentsState: (deploymentsState: any) => DeploymentsState;
export declare const hasDeploymentsState: (packageDir: string) => boolean;
export interface ReadDeploymentsStateOptions {
createIfNotExist: boolean;
}
export declare const readDeploymentsState: (packageDir: string, options?: ReadDeploymentsStateOptions) => DeploymentsState;
export declare const getDeploymentState: (deploymentsState: DeploymentsState, deploymentName: string, options?: ReadDeploymentsStateOptions) => DeploymentState;
export declare const readDeploymentState: (packageDir: string, deploymentName: string, options?: ReadDeploymentsStateOptions) => DeploymentState;
export declare const writeDeploymentsState: (packageDir: string, deploymentsState: DeploymentsState) => void;
export declare const writeDeploymentState: (packageDir: string, deploymentState: DeploymentState) => void;
export declare const readTerraformStateVariable: (deploymentState: DeploymentState, variableName: string) => any;
//# sourceMappingURL=deploymentState.d.ts.map