bitbucket-env-manager
Version:
Deploys Bitbucket Environment
26 lines (23 loc) • 543 B
text/typescript
export type EnvType = {
workspace: string;
repo: string;
env_name: string;
rank: 0 | 1 | 2;
vars: VarType[];
};
export type VarType = {
secured?: boolean;
key: string;
value: string | number;
};
export namespace BitBucketType {
export type EnvCategories = 'Test' | 'Staging' | 'Production';
export type EnvDetail = {
name: string;
rank: 0 | 1 | 2;
hidden: boolean;
slug: string;
environment_type: { type: 'deployment_environment_type'; name: EnvCategories; rank: 0 | 1 | 2 };
uuid: string;
};
}