export interface MetadataEntries { annotations?: Record; labels?: Record; } export interface NamespaceComponentEnvironment extends MetadataEntries { namespace: { name: string; }; rancherId?: string; git: { branch?: string; remote?: string; }; keepAlive?: boolean; } export interface GlobalEnvironment extends NamespaceComponentEnvironment { domain: string; ingress?: { annotations?: Record; }; subdomain: string; } export interface NamedComponentEnvironment { name: string; } export interface CIEnv { branch: string; branchSlug: string; environment: string; isPreProduction: boolean; isProduction: boolean; metadata: GlobalEnvironment; projectName: string; registry: string; sha: string; shortSha: string; tag?: string; }