@devtron-labs/devtron-fe-common-lib 1.0.2 → 1.0.3-beta-2
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.
- package/dist/Common/CodeEditor/types.d.ts +1 -1
- package/dist/Common/Constants.d.ts +1 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +21 -3
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/OverrideStrategyTippyContent.d.ts +2 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +6 -0
- package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +2 -0
- package/dist/Shared/Components/EnterpriseTag/index.d.ts +1 -0
- package/dist/Shared/Components/index.d.ts +1 -0
- package/dist/{cssMode-Cms6MtyR.js → cssMode-CLbKl82G.js} +1 -1
- package/dist/{freemarker2-3FE3rIRb.js → freemarker2-BvaZuUid.js} +1 -1
- package/dist/{handlebars-DeT_KQct.js → handlebars-CW40oXYk.js} +1 -1
- package/dist/{html-W6MJJ6Cd.js → html-pDS308Pf.js} +1 -1
- package/dist/{htmlMode-X1lmmOke.js → htmlMode-DPURRdnS.js} +1 -1
- package/dist/{index-BAPwGfmH.js → index-Ck7k0OyO.js} +642 -632
- package/dist/index.js +442 -441
- package/dist/{javascript-DBHHMxuE.js → javascript-DKYW8ncE.js} +1 -1
- package/dist/{jsonMode-R_Ioy9kM.js → jsonMode-CmomPli6.js} +1 -1
- package/dist/{liquid-CgBcKItj.js → liquid-nEl3Q9Y7.js} +1 -1
- package/dist/{mdx-5zADcGgC.js → mdx-CJUhsnUb.js} +1 -1
- package/dist/{python-Ct8AOOli.js → python-j3zOcJfr.js} +1 -1
- package/dist/{razor-DBKs2NDr.js → razor-F7DiMSvK.js} +1 -1
- package/dist/{tsMode-2mDlxLKe.js → tsMode-D01qKO10.js} +1 -1
- package/dist/{typescript-_jgELbQ9.js → typescript-CVohWBsJ.js} +1 -1
- package/dist/{xml-Da6smlqJ.js → xml-CuZaOW9e.js} +1 -1
- package/dist/{yaml-BNTzHcuk.js → yaml-CY0z85o9.js} +1 -1
- package/package.json +1 -1
package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts
CHANGED
|
@@ -107,16 +107,34 @@ interface BaseDeploymentTemplateConfigState {
|
|
|
107
107
|
isOverridden?: never;
|
|
108
108
|
environmentConfig?: never;
|
|
109
109
|
mergeStrategy?: never;
|
|
110
|
+
mergedTemplate?: never;
|
|
111
|
+
mergedTemplateWithoutLockedKeys?: never;
|
|
112
|
+
mergedTemplateObject?: never;
|
|
110
113
|
}
|
|
111
|
-
|
|
114
|
+
type EnvironmentOverrideDeploymentTemplateConfigState = {
|
|
112
115
|
chartConfig?: never;
|
|
113
116
|
isOverridden: boolean;
|
|
114
117
|
environmentConfig: EnvironmentConfigType;
|
|
115
118
|
mergeStrategy: OverrideMergeStrategyType;
|
|
116
|
-
|
|
119
|
+
/**
|
|
120
|
+
* This final template to be applied on the deployment in string format
|
|
121
|
+
* In current editor, this may be null initially
|
|
122
|
+
*/
|
|
123
|
+
mergedTemplate: string;
|
|
124
|
+
/**
|
|
125
|
+
* This final template to be applied on the deployment without locked keys in string format
|
|
126
|
+
* In current editor, this may be null initially
|
|
127
|
+
*/
|
|
128
|
+
mergedTemplateWithoutLockedKeys: string | null;
|
|
129
|
+
/**
|
|
130
|
+
* This final template to be applied on the deployment in object format
|
|
131
|
+
* In current editor, this may be null initially
|
|
132
|
+
*/
|
|
133
|
+
mergedTemplateObject: Record<string, string> | null;
|
|
134
|
+
};
|
|
117
135
|
export interface DeploymentTemplateConfigCommonState extends SelectedChartDetailsType {
|
|
118
136
|
/**
|
|
119
|
-
* The first ever state of the deployment template
|
|
137
|
+
* The first ever state of the deployment template on editor
|
|
120
138
|
*/
|
|
121
139
|
originalTemplate: Record<string, string>;
|
|
122
140
|
isAppMetricsEnabled: boolean;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { OverrideStrategyTippyContentProps } from './types';
|
|
2
|
+
declare const OverrideStrategyTippyContent: ({ children }: OverrideStrategyTippyContentProps) => JSX.Element;
|
|
2
3
|
export default OverrideStrategyTippyContent;
|
|
@@ -25,3 +25,9 @@ export declare enum ConfigToolbarPopupNodeType {
|
|
|
25
25
|
DISCARD_DRAFT = "discardDraft",
|
|
26
26
|
EDIT_HISTORY = "editHistory"
|
|
27
27
|
}
|
|
28
|
+
export interface OverrideStrategyTippyContentProps {
|
|
29
|
+
/**
|
|
30
|
+
* Would be rendered as li conveying the information about the merge strategy
|
|
31
|
+
*/
|
|
32
|
+
children?: ReactNode;
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EnterpriseTag } from './EnterpriseTag.component';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Fe = Object.defineProperty;
|
|
2
2
|
var Le = (e, n, i) => n in e ? Fe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => Le(e, typeof n != "symbol" ? n + "" : n, i);
|
|
4
|
-
import { m as je } from "./index-
|
|
4
|
+
import { m as je } from "./index-Ck7k0OyO.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as f } from "./index-
|
|
1
|
+
import { m as f } from "./index-Ck7k0OyO.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as l } from "./index-
|
|
1
|
+
import { m as l } from "./index-Ck7k0OyO.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as s } from "./index-
|
|
1
|
+
import { m as s } from "./index-Ck7k0OyO.js";
|
|
2
2
|
/*!-----------------------------------------------------------------------------
|
|
3
3
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
4
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Be = Object.defineProperty;
|
|
2
2
|
var $e = (e, n, i) => n in e ? Be(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => $e(e, typeof n != "symbol" ? n + "" : n, i);
|
|
4
|
-
import { m as qe } from "./index-
|
|
4
|
+
import { m as qe } from "./index-Ck7k0OyO.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|