@devtron-labs/devtron-fe-common-lib 0.6.5-beta-1 → 0.6.5-beta-4
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/Helper.d.ts +8 -0
- package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/utils.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
- package/dist/{cssMode-CDcgWKn4.js → cssMode-CwfjEAmX.js} +1 -1
- package/dist/{freemarker2-DBei-0Bv.js → freemarker2-bbaWKrb5.js} +1 -1
- package/dist/{handlebars-BQBxcaXq.js → handlebars-DwhitcDG.js} +1 -1
- package/dist/{html-Bm2sNIjZ.js → html-BjKabjoU.js} +1 -1
- package/dist/{htmlMode-Z6f2LNMV.js → htmlMode-DVHQH5wx.js} +1 -1
- package/dist/{index-q4FNZpRb.js → index-DLJL7av0.js} +18186 -18226
- package/dist/index.js +205 -204
- package/dist/{javascript-CXBXJaP1.js → javascript-DwT7TRh5.js} +1 -1
- package/dist/{jsonMode-CrPOjaqO.js → jsonMode-C5t-9GnQ.js} +1 -1
- package/dist/{liquid-Qiz4MNTS.js → liquid-BDdi0-2f.js} +1 -1
- package/dist/{mdx-DPbCGEWO.js → mdx-dGkJsf-n.js} +1 -1
- package/dist/{python-aW_9qFKq.js → python-CxLAgCVK.js} +1 -1
- package/dist/{razor-6IUKW2_W.js → razor-DYHyljAh.js} +1 -1
- package/dist/{tsMode-CcTwIO3m.js → tsMode-BUmKI0zb.js} +1 -1
- package/dist/{typescript-D5eZZEgT.js → typescript-B85K9a_T.js} +1 -1
- package/dist/{xml-BoNAy2Wy.js → xml-Dj37n3JG.js} +1 -1
- package/dist/{yaml-C3A9A7AI.js → yaml-DjhyVGzS.js} +1 -1
- package/package.json +1 -1
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -121,4 +121,12 @@ export declare function mapByKey<T = Map<any, any>>(arr: any[], id: string): T;
|
|
|
121
121
|
export declare function asyncWrap(promise: any): any[];
|
|
122
122
|
export declare const prefixZeroIfSingleDigit: (value?: number) => string | number;
|
|
123
123
|
export declare const throttle: <T extends (...args: unknown[]) => unknown>(func: T, delay?: number) => ((...args: Parameters<T>) => void);
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @param sourceType - SourceTypeMap
|
|
127
|
+
* @param _isRegex - boolean
|
|
128
|
+
* @param webhookEventName - WebhookEventNameType
|
|
129
|
+
* @returns - Icon
|
|
130
|
+
*/
|
|
131
|
+
export declare const getBranchIcon: (sourceType: any, _isRegex?: boolean, webhookEventName?: string) => string;
|
|
124
132
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DeploymentStageType } from '../../../../../Shared/constants';
|
|
2
|
-
export declare const getDeploymentStageTitle: (stage: DeploymentStageType) => "
|
|
2
|
+
export declare const getDeploymentStageTitle: (stage: DeploymentStageType) => "deployment" | "pre-deployment" | "post-deployment" | "-";
|
|
@@ -2,7 +2,7 @@ import { ApiResponseResultType, SeveritiesDTO, GetResourceScanDetailsResponseTyp
|
|
|
2
2
|
import { SEVERITIES } from './constants';
|
|
3
3
|
export declare const mapSeveritiesToSegmentedBarChartEntities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => {
|
|
4
4
|
color: "#B1B7BC" | "#B21212" | "#F33E3E" | "#FF7E5B" | "#FFB549" | "#1DAD70";
|
|
5
|
-
label: "
|
|
5
|
+
label: "Unknown" | "Critical" | "High" | "Medium" | "Low" | "Failures" | "Successes" | "Exceptions";
|
|
6
6
|
value: number;
|
|
7
7
|
}[];
|
|
8
8
|
export declare const stringifySeverities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => string;
|
|
@@ -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-DLJL7av0.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-DLJL7av0.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-DLJL7av0.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-DLJL7av0.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-DLJL7av0.js";
|
|
5
5
|
/*!-----------------------------------------------------------------------------
|
|
6
6
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
7
7
|
* Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
|