@devtron-labs/devtron-fe-common-lib 0.0.97-beta-2 → 0.0.98-beta-1
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/AppStatus/constants.d.ts +5 -0
- package/dist/Common/Helper.d.ts +5 -34
- package/dist/Shared/constants.d.ts +24 -0
- package/dist/Shared/types.d.ts +2 -1
- package/dist/{cssMode-634afdb5.js → cssMode-10427767.js} +1 -1
- package/dist/{freemarker2-12cf213d.js → freemarker2-342491e6.js} +1 -1
- package/dist/{handlebars-55e571fa.js → handlebars-ee7e135f.js} +1 -1
- package/dist/{html-2a4f86ac.js → html-44057333.js} +1 -1
- package/dist/{htmlMode-5a20eba9.js → htmlMode-f207dc17.js} +1 -1
- package/dist/{index-e8587958.js → index-dae34b8a.js} +21725 -20803
- package/dist/index.d.ts +1 -0
- package/dist/index.js +350 -352
- package/dist/{javascript-8c1e3d73.js → javascript-48befdfc.js} +1 -1
- package/dist/{jsonMode-c5ed7ef5.js → jsonMode-b42c91c6.js} +1 -1
- package/dist/{liquid-01aaf37b.js → liquid-c4d575e2.js} +1 -1
- package/dist/{mdx-a792f0cb.js → mdx-b50c381f.js} +1 -1
- package/dist/{python-4c0a4eb8.js → python-31a26ec9.js} +1 -1
- package/dist/{razor-b04fc3e2.js → razor-840cb647.js} +1 -1
- package/dist/{tsMode-a53c4bdd.js → tsMode-e802fd84.js} +1 -1
- package/dist/{typescript-b685e4d4.js → typescript-0fd0d62f.js} +1 -1
- package/dist/{xml-00c5b29b.js → xml-50ca031e.js} +1 -1
- package/dist/{yaml-69928256.js → yaml-0b87d940.js} +1 -1
- package/package.json +2 -1
- package/dist/Shared/Components/Header/HeaderWithCreateButton/constants.d.ts +0 -22
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -60,40 +60,11 @@ export declare const customStyles: {
|
|
|
60
60
|
dropdownIndicator: (base: any, state: any) => any;
|
|
61
61
|
};
|
|
62
62
|
export declare const getFilteredChartVersions: (charts: any, selectedChartType: any) => any;
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
export declare const recursivelyRemoveNullsFromArraysInObject: (object: object) => object;
|
|
69
|
-
/**
|
|
70
|
-
* Merges the objects into one object
|
|
71
|
-
* @param {object[]} objects list of js objects
|
|
72
|
-
* @returns object after the merge
|
|
73
|
-
*/
|
|
74
|
-
export declare const joinObjects: (objects: object[]) => {};
|
|
75
|
-
/**
|
|
76
|
-
* Builds an object from the provided path
|
|
77
|
-
* @param {string} path JSON pointer path of the form /path/to/1/...
|
|
78
|
-
* @param {any} value property value
|
|
79
|
-
* @returns final object formed from the path
|
|
80
|
-
*/
|
|
81
|
-
export declare const buildObjectFromPath: (path: string, value: any) => any;
|
|
82
|
-
/**
|
|
83
|
-
* Returns the list of indices at which the regex matched
|
|
84
|
-
* @param string the string to process
|
|
85
|
-
* @param regex @RegExp
|
|
86
|
-
* @returns array of indices where the @regex matched in @string
|
|
87
|
-
*/
|
|
88
|
-
export declare const getRegexMatchPositions: (string: string, regex: RegExp) => number[];
|
|
89
|
-
/**
|
|
90
|
-
* Returns all the substrings from 0th index to progressively next regex match position
|
|
91
|
-
* Eg. Suppose a string is /path/to/folder then it will return [/path, /path/to, /path/to/folder]
|
|
92
|
-
* @param strings list of strings
|
|
93
|
-
* @param regex that matches the separators for the substrings
|
|
94
|
-
* @returns set of substrings
|
|
95
|
-
*/
|
|
96
|
-
export declare const powerSetOfSubstringsFromStart: (strings: string[], regex: RegExp) => string[];
|
|
63
|
+
export declare function getUnlockedJSON(json: any, jsonPathArray: any, removeParentKeysAndEmptyArrays?: boolean): {
|
|
64
|
+
newDocument: any;
|
|
65
|
+
removedPatches: any[];
|
|
66
|
+
};
|
|
67
|
+
export declare function getLockedJSON(json: any, jsonPathArray: string[]): any;
|
|
97
68
|
/**
|
|
98
69
|
* Returns a debounced variant of the function
|
|
99
70
|
*/
|
|
@@ -347,3 +347,27 @@ export declare const statusColor: {
|
|
|
347
347
|
};
|
|
348
348
|
export declare const APP_STATUS_HEADERS: string[];
|
|
349
349
|
export declare const MATERIAL_EXCLUDE_TIPPY_TEXT = "Not available for build as this commit contains changes in excluded files or folders";
|
|
350
|
+
export declare const AppListConstants: {
|
|
351
|
+
SAMPLE_NODE_REPO_URL: string;
|
|
352
|
+
CREATE_DEVTRON_APP_URL: string;
|
|
353
|
+
AppTabs: {
|
|
354
|
+
DEVTRON_APPS: string;
|
|
355
|
+
HELM_APPS: string;
|
|
356
|
+
ARGO_APPS: string;
|
|
357
|
+
FLUX_APPS: string;
|
|
358
|
+
};
|
|
359
|
+
AppType: {
|
|
360
|
+
DEVTRON_APPS: string;
|
|
361
|
+
HELM_APPS: string;
|
|
362
|
+
ARGO_APPS: string;
|
|
363
|
+
FLUX_APPS: string;
|
|
364
|
+
};
|
|
365
|
+
FilterType: {
|
|
366
|
+
PROJECT: string;
|
|
367
|
+
CLUTSER: string;
|
|
368
|
+
NAMESPACE: string;
|
|
369
|
+
ENVIRONMENT: string;
|
|
370
|
+
APP_STATUS: string;
|
|
371
|
+
TEMPLATE_TYPE: string;
|
|
372
|
+
};
|
|
373
|
+
};
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -124,7 +124,8 @@ export declare enum AppType {
|
|
|
124
124
|
DEVTRON_APP = "devtron_app",
|
|
125
125
|
DEVTRON_HELM_CHART = "devtron_helm_chart",
|
|
126
126
|
EXTERNAL_HELM_CHART = "external_helm_chart",
|
|
127
|
-
EXTERNAL_ARGO_APP = "external_argo_app"
|
|
127
|
+
EXTERNAL_ARGO_APP = "external_argo_app",
|
|
128
|
+
EXTERNAL_FLUX_APP = "external_flux_app"
|
|
128
129
|
}
|
|
129
130
|
export interface HelmReleaseStatus {
|
|
130
131
|
status: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Le = Object.defineProperty;
|
|
2
2
|
var je = (e, n, i) => n in e ? Le(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => (je(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as Ne } from "./index-
|
|
4
|
+
import { m as Ne } from "./index-dae34b8a.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-dae34b8a.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 i } from "./index-
|
|
1
|
+
import { m as i } from "./index-dae34b8a.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 d } from "./index-
|
|
1
|
+
import { m as d } from "./index-dae34b8a.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 $e = Object.defineProperty;
|
|
2
2
|
var qe = (e, n, i) => n in e ? $e(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i;
|
|
3
3
|
var k = (e, n, i) => (qe(e, typeof n != "symbol" ? n + "" : n, i), i);
|
|
4
|
-
import { m as Qe } from "./index-
|
|
4
|
+
import { m as Qe } from "./index-dae34b8a.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|