@catladder/cli
Version:
Panter cli tool for cloud CI/CD and DevOps
5 lines • 478 B
TypeScript
import type { ComponentContext, DeployConfigType } from "../../../pipeline/src/index.js";
/** Returns an isAvailable function that checks if ANY component uses one of the given deploy types */
export declare function hasDeployType(...types: DeployConfigType[]): (contexts: ComponentContext[]) => boolean;
/** Returns an isAvailable function that checks if ANY component has cloudSql configured */
export declare function hasCloudSql(): (contexts: ComponentContext[]) => boolean;