@devtron-labs/devtron-fe-common-lib 1.0.3-beta-5 → 1.0.3-beta-7
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/CodeEditor.reducer.d.ts +1 -2
- package/dist/Common/CodeEditor/types.d.ts +0 -1
- package/dist/Common/Constants.d.ts +1 -0
- package/dist/Common/RJSF/index.d.ts +1 -1
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +13 -16
- package/dist/Pages/index.d.ts +0 -1
- package/dist/Shared/Helpers.d.ts +0 -7
- package/dist/{cssMode-nVL71MHG.js → cssMode-BqNNhKrT.js} +1 -1
- package/dist/{freemarker2-DlZN6CnK.js → freemarker2-B3ND2Sk2.js} +1 -1
- package/dist/{handlebars-D7HmcZJV.js → handlebars-D2IDG2QC.js} +1 -1
- package/dist/{html-iJWFYEVL.js → html-BjOLINC0.js} +1 -1
- package/dist/{htmlMode-DzPvV_o8.js → htmlMode-MJeGOZvD.js} +1 -1
- package/dist/{index-Dy9T43ww.js → index-BMbMyGYw.js} +28037 -30189
- package/dist/index.js +261 -262
- package/dist/{javascript-BAcMr4Hp.js → javascript-CqGX24z-.js} +1 -1
- package/dist/{jsonMode-eMd8Bdr0.js → jsonMode-B1yz33Nd.js} +1 -1
- package/dist/{liquid-CmzhoSrw.js → liquid-D_2T2KWv.js} +1 -1
- package/dist/{mdx-DHXNbvZD.js → mdx-BgTDygfK.js} +1 -1
- package/dist/{python-Cy38ZR2b.js → python-DBP2zYP1.js} +1 -1
- package/dist/{razor-BHiyb8ID.js → razor-CzJ0L6xK.js} +1 -1
- package/dist/{tsMode-BjkHrkWP.js → tsMode-PwTPBcx3.js} +1 -1
- package/dist/{typescript-Dqn8ITTs.js → typescript-B01kCn68.js} +1 -1
- package/dist/{xml-Cm5NrHLj.js → xml-DpQiCSSB.js} +1 -1
- package/dist/{yaml-BBZ81fN6.js → yaml-2UMxm9Ak.js} +1 -1
- package/package.json +2 -2
- package/dist/Pages/App/AppConfiguration/DeploymentTemplate/GUIView/index.d.ts +0 -2
- package/dist/Pages/App/AppConfiguration/DeploymentTemplate/GUIView/types.d.ts +0 -2
- package/dist/Pages/App/AppConfiguration/DeploymentTemplate/GUIView/utils.d.ts +0 -6
- package/dist/Pages/App/AppConfiguration/DeploymentTemplate/index.d.ts +0 -1
- package/dist/Pages/App/AppConfiguration/index.d.ts +0 -1
- package/dist/Pages/App/index.d.ts +0 -1
|
@@ -32,5 +32,4 @@ export declare const CodeEditorReducer: (state: CodeEditorState, action: Action)
|
|
|
32
32
|
code: string;
|
|
33
33
|
noParsing: boolean;
|
|
34
34
|
};
|
|
35
|
-
export declare const
|
|
36
|
-
export declare const initialState: ({ mode, theme, value, diffView, noParsing, tabSize, }: CodeEditorInitialValueType) => CodeEditorState;
|
|
35
|
+
export declare const initialState: ({ mode, theme, value, diffView, noParsing, }: CodeEditorInitialValueType) => CodeEditorState;
|
|
@@ -4,6 +4,7 @@ export declare const Host: string;
|
|
|
4
4
|
export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
|
|
5
5
|
export declare const DOCUMENTATION_VERSION = "/v/v0.7";
|
|
6
6
|
export declare const DISCORD_LINK = "https://discord.devtron.ai/";
|
|
7
|
+
export declare const DEFAULT_JSON_SCHEMA_URI = "https://json-schema.org/draft/2020-12/schema";
|
|
7
8
|
export declare const DOCUMENTATION: {
|
|
8
9
|
APP_METRICS: string;
|
|
9
10
|
APP_TAGS: string;
|
package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts
CHANGED
|
@@ -107,15 +107,25 @@ interface BaseDeploymentTemplateConfigState {
|
|
|
107
107
|
isOverridden?: never;
|
|
108
108
|
environmentConfig?: never;
|
|
109
109
|
mergeStrategy?: never;
|
|
110
|
-
mergedTemplate?: never;
|
|
111
|
-
mergedTemplateWithoutLockedKeys?: never;
|
|
112
|
-
mergedTemplateObject?: never;
|
|
113
110
|
}
|
|
114
111
|
type EnvironmentOverrideDeploymentTemplateConfigState = {
|
|
115
112
|
chartConfig?: never;
|
|
116
113
|
isOverridden: boolean;
|
|
117
114
|
environmentConfig: EnvironmentConfigType;
|
|
118
115
|
mergeStrategy: OverrideMergeStrategyType;
|
|
116
|
+
};
|
|
117
|
+
export interface DeploymentTemplateConfigCommonState extends SelectedChartDetailsType {
|
|
118
|
+
/**
|
|
119
|
+
* The first ever state of the deployment template on editor
|
|
120
|
+
*/
|
|
121
|
+
originalTemplate: Record<string, string>;
|
|
122
|
+
isAppMetricsEnabled: boolean;
|
|
123
|
+
readme: string;
|
|
124
|
+
schema: Record<string, string>;
|
|
125
|
+
guiSchema: string;
|
|
126
|
+
latestDraft?: DraftMetadataDTO;
|
|
127
|
+
editorTemplate: string;
|
|
128
|
+
editorTemplateWithoutLockedKeys: string;
|
|
119
129
|
/**
|
|
120
130
|
* This final template to be applied on the deployment in string format
|
|
121
131
|
* In current editor, this may be null initially
|
|
@@ -131,19 +141,6 @@ type EnvironmentOverrideDeploymentTemplateConfigState = {
|
|
|
131
141
|
* In current editor, this may be null initially
|
|
132
142
|
*/
|
|
133
143
|
mergedTemplateObject: Record<string, string> | null;
|
|
134
|
-
};
|
|
135
|
-
export interface DeploymentTemplateConfigCommonState extends SelectedChartDetailsType {
|
|
136
|
-
/**
|
|
137
|
-
* The first ever state of the deployment template on editor
|
|
138
|
-
*/
|
|
139
|
-
originalTemplate: Record<string, string>;
|
|
140
|
-
isAppMetricsEnabled: boolean;
|
|
141
|
-
readme: string;
|
|
142
|
-
schema: Record<string, string>;
|
|
143
|
-
guiSchema: string;
|
|
144
|
-
latestDraft?: DraftMetadataDTO;
|
|
145
|
-
editorTemplate: string;
|
|
146
|
-
editorTemplateWithoutLockedKeys: string;
|
|
147
144
|
}
|
|
148
145
|
export type DeploymentTemplateConfigState = DeploymentTemplateConfigCommonState & (BaseDeploymentTemplateConfigState | EnvironmentOverrideDeploymentTemplateConfigState);
|
|
149
146
|
type DTApplicationMetricsReadOnlyProps = {
|
package/dist/Pages/index.d.ts
CHANGED
package/dist/Shared/Helpers.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
2
|
import { Pair } from 'yaml';
|
|
3
|
-
import { StrictRJSFSchema } from '@rjsf/utils';
|
|
4
3
|
import { MaterialInfo, SortingOrder, UserApprovalConfigType } from '../Common';
|
|
5
4
|
import { GitTriggers, IntersectionChangeHandler, IntersectionOptions, WebhookEventNameType } from './types';
|
|
6
5
|
import { AggregatedNodes, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, PodMetadatum } from './Components';
|
|
@@ -64,10 +63,4 @@ export declare const getDefaultValueFromType: (value: unknown) => {};
|
|
|
64
63
|
* and the values are arrays of objects that share the same key value.
|
|
65
64
|
*/
|
|
66
65
|
export declare const groupArrayByObjectKey: <T extends Record<string, any>, K extends keyof T>(array: T[], key: K) => Record<string, T[]>;
|
|
67
|
-
/**
|
|
68
|
-
* This function returns a null/zero value corresponding to @type
|
|
69
|
-
*
|
|
70
|
-
* @param type - a RJSF supported type
|
|
71
|
-
*/
|
|
72
|
-
export declare const getNullValueFromType: (type: StrictRJSFSchema["type"]) => any;
|
|
73
66
|
export {};
|
|
@@ -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-BMbMyGYw.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-BMbMyGYw.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-BMbMyGYw.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-BMbMyGYw.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-BMbMyGYw.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|