@devtron-labs/devtron-fe-common-lib 4.0.13-pre-2 → 4.0.13-pre-3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -134,7 +134,7 @@ type CommonMainContextProps = {
134
134
  setDebugAgentContext: (aiAgentContext: DebugAgentContextType | null) => void;
135
135
  setAIAgentContext: (aiAgentContext: AIAgentContextType) => void;
136
136
  setSidePanelConfig: Dispatch<SetStateAction<SidePanelConfig>>;
137
- } & Pick<EnvironmentDataValuesDTO, 'isResourceRecommendationEnabled' | 'forceDockerfileScan'>;
137
+ } & Pick<EnvironmentDataValuesDTO, 'isResourceRecommendationEnabled' | 'forceDockerfileScan' | 'foregroundDeleteCdPipeline'>;
138
138
  export type MainContext = CommonMainContextProps & ({
139
139
  isLicenseDashboard?: never;
140
140
  serverMode: SERVER_MODE;
@@ -41,6 +41,10 @@ export interface EnvironmentDataValuesDTO extends Pick<MainContext, 'featureGitO
41
41
  isResourceRecommendationEnabled?: boolean;
42
42
  featureAskDevtronExpert: boolean;
43
43
  forceDockerfileScan: boolean;
44
+ /**
45
+ * If enabled, deleting a CD pipeline will not delete the underlying deployed resource (helm release/argocd application/flux release) unless the request explicitly overrides it via payload.
46
+ */
47
+ foregroundDeleteCdPipeline: boolean;
44
48
  }
45
49
  export interface ClusterMinDTO {
46
50
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "4.0.13-pre-2",
3
+ "version": "4.0.13-pre-3",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",