@devtron-labs/devtron-fe-common-lib 0.0.68-beta-8 → 0.0.68-beta-10

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.
@@ -94,34 +94,3 @@ export declare enum SortingOrder {
94
94
  * Base page size for pagination
95
95
  */
96
96
  export declare const DEFAULT_BASE_PAGE_SIZE = 20;
97
- /**
98
- * Deployment Window
99
- */
100
- export declare enum MODAL_TYPE {
101
- HIBERNATE = "HIBERNATE",
102
- RESTORE = "RESTORE",
103
- DEPLOY = "DEPLOY",
104
- RESOURCE = "RESOURCE",
105
- RESTART = "RESTART",
106
- PIPELINE = "PIPELINE",
107
- OVERVIEW = "OVERVIEW",
108
- APP_DETAILS_STATUS = "APP_DETAILS_STATUS"
109
- }
110
- export declare enum ACTION_STATE {
111
- ALLOWED = "ALLOWED",
112
- PARTIAL = "PARTIAL",
113
- BLOCKED = "BLOCKED"
114
- }
115
- export declare enum DEPLOYMENT_WINDOW_TYPE {
116
- MAINTENANCE = "MAINTENANCE",
117
- BLACKOUT = "BLACKOUT"
118
- }
119
- export interface DeploymentWindowProfileMetaData {
120
- name: string;
121
- userActionState: ACTION_STATE;
122
- type: string | DEPLOYMENT_WINDOW_TYPE;
123
- calculatedTimestamp: string;
124
- isActive: boolean;
125
- excludedUserEmails: string[];
126
- warningMessage: string;
127
- }
@@ -66,7 +66,7 @@ export declare function getLockedJSON(json: any, jsonPathArray: string[]): any;
66
66
  */
67
67
  export declare const debounce: (func: any, timeout?: number) => (this: any, ...args: any[]) => void;
68
68
  /**
69
- * Returns a capitalized string with first letter in uppercase and rest in lowercase
69
+ * Sorts the relative dates based on the sorting direction
70
70
  */
71
- export declare const capitalizeFirstLetter: (text: string) => string;
71
+ export declare const handleRelativeDateSorting: (dateStringA: any, dateStringB: any, sortOrder: any) => number;
72
72
  export {};
@@ -370,7 +370,6 @@ export interface CommonNodeAttr {
370
370
  deploymentAppCreated?: boolean;
371
371
  isLast?: boolean;
372
372
  downstreamEnvironments?: DownstreamNodesEnvironmentsType[];
373
- isDeploymentBlocked?: boolean;
374
373
  }
375
374
  export declare enum DeploymentAppTypes {
376
375
  HELM = "helm",