@devtron-labs/devtron-fe-common-lib 0.0.67-beta-2 → 0.0.67-beta-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.
- package/dist/Common/Constants.d.ts +10 -0
- package/dist/Common/Helper.d.ts +8 -0
- package/dist/index.js +2121 -2110
- package/package.json +1 -1
|
@@ -94,3 +94,13 @@ export declare enum SortingOrder {
|
|
|
94
94
|
* Base page size for pagination
|
|
95
95
|
*/
|
|
96
96
|
export declare const DEFAULT_BASE_PAGE_SIZE = 20;
|
|
97
|
+
export declare enum MODAL_TYPE {
|
|
98
|
+
HIBERNATE = "HIBERNATE",
|
|
99
|
+
RESTORE = "RESTORE",
|
|
100
|
+
DEPLOY = "DEPLOY",
|
|
101
|
+
RESOURCE = "RESOURCE",
|
|
102
|
+
RESTART = "RESTART",
|
|
103
|
+
PIPELINE = "PIPELINE",
|
|
104
|
+
OVERVIEW = "OVERVIEW",
|
|
105
|
+
APP_DETAILS_STATUS = "APP_DETAILS_STATUS"
|
|
106
|
+
}
|
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -65,4 +65,12 @@ export declare function getLockedJSON(json: any, jsonPathArray: string[]): any;
|
|
|
65
65
|
* Returns a debounced variant of the function
|
|
66
66
|
*/
|
|
67
67
|
export declare const debounce: (func: any, timeout?: number) => (this: any, ...args: any[]) => void;
|
|
68
|
+
/**
|
|
69
|
+
* Returns a capitalized string with first letter in uppercase and rest in lowercase
|
|
70
|
+
*/
|
|
71
|
+
export declare const capitalizeFirstLetter: (text: string) => string;
|
|
72
|
+
/**
|
|
73
|
+
* Returns first letter of the string encircle with random colour
|
|
74
|
+
*/
|
|
75
|
+
export declare const getEmailInitials: (email: string) => JSX.Element;
|
|
68
76
|
export {};
|