@devtron-labs/devtron-fe-common-lib 0.2.5 → 0.2.6-beta-2

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.
Files changed (79) hide show
  1. package/dist/Common/CodeEditor/types.d.ts +2 -2
  2. package/dist/Common/Constants.d.ts +2 -12
  3. package/dist/Common/RJSF/constants.d.ts +5 -0
  4. package/dist/Common/RJSF/index.d.ts +1 -0
  5. package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +1 -1
  6. package/dist/Common/Types.d.ts +2 -2
  7. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +1 -1
  8. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +24 -0
  9. package/dist/Pages/GlobalConfigurations/DeploymentCharts/basicViewSchema.json.d.ts +273 -0
  10. package/dist/Pages/GlobalConfigurations/DeploymentCharts/fallbackJobsNCronJobGuiSchema.json.d.ts +157 -0
  11. package/dist/Pages/GlobalConfigurations/DeploymentCharts/index.d.ts +2 -0
  12. package/dist/Pages/GlobalConfigurations/DeploymentCharts/types.d.ts +24 -0
  13. package/dist/Pages/GlobalConfigurations/DeploymentCharts/utils.d.ts +4 -0
  14. package/dist/Pages/GlobalConfigurations/index.d.ts +1 -0
  15. package/dist/Shared/Components/CICDHistory/DeploymentHistoryDiff/DeploymentHistoryDiffView.d.ts +1 -1
  16. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -3
  17. package/dist/Shared/Components/KeyValueTable/KeyValueTable.component.d.ts +1 -1
  18. package/dist/Shared/Components/KeyValueTable/KeyValueTable.types.d.ts +1 -24
  19. package/dist/Shared/Components/ScannedObjectBar/ScannedObjectBar.d.ts +4 -0
  20. package/dist/Shared/Components/ScannedObjectBar/index.d.ts +1 -0
  21. package/dist/Shared/Components/ScannedObjectBar/types.d.ts +7 -0
  22. package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
  23. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  24. package/dist/Shared/Components/SelectPicker/index.d.ts +0 -1
  25. package/dist/Shared/Components/SelectPicker/type.d.ts +0 -16
  26. package/dist/Shared/Components/SelectPicker/utils.d.ts +2 -11
  27. package/dist/Shared/Components/SelectPickerCustom/FilterSelectPicker.d.ts +4 -0
  28. package/dist/Shared/Components/SelectPickerCustom/SelectPicker.component.d.ts +139 -0
  29. package/dist/Shared/Components/SelectPickerCustom/common.d.ts +13 -0
  30. package/dist/Shared/Components/SelectPickerCustom/index.d.ts +3 -0
  31. package/dist/Shared/Components/SelectPickerCustom/type.d.ts +163 -0
  32. package/dist/Shared/Components/SelectPickerCustom/utils.d.ts +15 -0
  33. package/dist/Shared/Components/Vulnerabilities/utils.d.ts +0 -1
  34. package/dist/Shared/Components/index.d.ts +2 -4
  35. package/dist/Shared/Helpers.d.ts +1 -2
  36. package/dist/Shared/Services/app.service.d.ts +1 -3
  37. package/dist/Shared/Services/app.types.d.ts +0 -116
  38. package/dist/Shared/types.d.ts +7 -19
  39. package/dist/Shared/validations.d.ts +1 -3
  40. package/dist/assets/editor.worker-60ba9509.js +12 -0
  41. package/dist/assets/index.css +1 -1
  42. package/dist/assets/yaml.worker-3bbe780a.js +472 -0
  43. package/dist/{cssMode-8fed7bef.js → cssMode-a92794b5.js} +1 -1
  44. package/dist/{freemarker2-fc075df3.js → freemarker2-e5ee51c9.js} +1 -1
  45. package/dist/{handlebars-93ff95f9.js → handlebars-9153151b.js} +1 -1
  46. package/dist/{html-3066ce46.js → html-011bc885.js} +1 -1
  47. package/dist/{htmlMode-56510e8d.js → htmlMode-4885a742.js} +1 -1
  48. package/dist/{index-7540b433.js → index-a419ec38.js} +45173 -40798
  49. package/dist/index.d.ts +0 -2
  50. package/dist/index.js +486 -498
  51. package/dist/{javascript-e1b26116.js → javascript-9b5d9b49.js} +1 -1
  52. package/dist/{jsonMode-8ec4966b.js → jsonMode-fa67bdba.js} +1 -1
  53. package/dist/{liquid-48a55e03.js → liquid-a2b3aabb.js} +1 -1
  54. package/dist/{mdx-239191d8.js → mdx-96b66709.js} +1 -1
  55. package/dist/{python-9d05a2ee.js → python-93cea446.js} +1 -1
  56. package/dist/{razor-026b9b6f.js → razor-a13e6ece.js} +1 -1
  57. package/dist/{tsMode-da8ca338.js → tsMode-fa82c200.js} +1 -1
  58. package/dist/{typescript-38649d81.js → typescript-9835808a.js} +1 -1
  59. package/dist/{xml-41381217.js → xml-f03d7ed4.js} +1 -1
  60. package/dist/{yaml-5e3f3a59.js → yaml-82f4884e.js} +1 -1
  61. package/package.json +5 -5
  62. package/dist/Common/Security/types.d.ts +0 -4
  63. package/dist/Shared/Components/Collapse/Collapse.d.ts +0 -3
  64. package/dist/Shared/Components/Collapse/index.d.ts +0 -2
  65. package/dist/Shared/Components/Collapse/types.d.ts +0 -7
  66. package/dist/Shared/Components/CollapsibleList/CollapsibleList.component.d.ts +0 -3
  67. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +0 -96
  68. package/dist/Shared/Components/CollapsibleList/index.d.ts +0 -2
  69. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.component.d.ts +0 -3
  70. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +0 -38
  71. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffAccordion.d.ts +0 -3
  72. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +0 -3
  73. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffNavigation.d.ts +0 -3
  74. package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +0 -3
  75. package/dist/Shared/Components/DeploymentConfigDiff/types.d.ts +0 -69
  76. package/dist/Shared/Components/FilterButton/FilterButton.d.ts +0 -5
  77. package/dist/Shared/Components/FilterButton/index.d.ts +0 -1
  78. package/dist/Shared/Components/FilterButton/types.d.ts +0 -12
  79. package/dist/Shared/Components/FilterButton/utils.d.ts +0 -15
@@ -31,6 +31,7 @@ export interface CodeEditorInterface {
31
31
  isKubernetes?: boolean;
32
32
  cleanData?: boolean;
33
33
  chartVersion?: any;
34
+ adjustEditorHeightToContent?: boolean;
34
35
  }
35
36
  export interface CodeEditorHeaderInterface {
36
37
  children?: any;
@@ -62,8 +63,7 @@ export declare enum CodeEditorThemesKeys {
62
63
  vsDarkDT = "vs-dark--dt",
63
64
  deleteDraft = "delete-draft",
64
65
  unpublished = "unpublished",
65
- vs = "vs",
66
- networkStatusInterface = "network-status-interface"
66
+ vs = "vs"
67
67
  }
68
68
  export interface CodeEditorInitialValueType {
69
69
  mode: string;
@@ -43,7 +43,7 @@ export declare const URLS: {
43
43
  GLOBAL_CONFIG_DOCKER: string;
44
44
  DEPLOYMENT_HISTORY_CONFIGURATIONS: string;
45
45
  GLOBAL_CONFIG_SCOPED_VARIABLES: string;
46
- NETWORK_STATUS_INTERFACE: string;
46
+ GLOBAL_CONFIG_DEPLOYMENT_CHARTS_LIST: string;
47
47
  };
48
48
  export declare const ROUTES: {
49
49
  APP: string;
@@ -77,15 +77,12 @@ export declare const ROUTES: {
77
77
  CONFIG_CD_PIPELINE: string;
78
78
  MODULE_CONFIGURED: string;
79
79
  RESOURCE_HISTORY_DEPLOYMENT: string;
80
- ATTRIBUTES: string;
81
- ATTRIBUTES_CREATE: string;
82
- ATTRIBUTES_UPDATE: string;
83
80
  APP_LIST_MIN: string;
84
81
  CLUSTER_LIST_MIN: string;
85
82
  PLUGIN_GLOBAL_LIST_DETAIL_V2: string;
86
83
  PLUGIN_GLOBAL_LIST_V2: string;
87
84
  PLUGIN_GLOBAL_LIST_TAGS: string;
88
- CONFIG_DATA: string;
85
+ DEPLOYMENT_CHARTS_LIST: string;
89
86
  };
90
87
  export declare enum KEY_VALUE {
91
88
  KEY = "key",
@@ -275,10 +272,3 @@ export declare const DATE_TIME_FORMATS: {
275
272
  DD_MMM_YYYY_HH_MM: string;
276
273
  DD_MMM_YYYY: string;
277
274
  };
278
- export declare const VULNERABILITIES_SORT_PRIORITY: {
279
- critical: number;
280
- high: number;
281
- medium: number;
282
- low: number;
283
- unknown: number;
284
- };
@@ -4,3 +4,8 @@ export declare const PLACEHOLDERS: {
4
4
  OBJECT_KEY: string;
5
5
  };
6
6
  export declare const DEFAULT_FIELD_TITLE = "Key not available";
7
+ export declare const HIDE_SUBMIT_BUTTON_UI_SCHEMA: {
8
+ 'ui:submitButtonOptions': {
9
+ norender: boolean;
10
+ };
11
+ };
@@ -1,3 +1,4 @@
1
1
  export { RJSFForm } from './Form';
2
2
  export * from './types';
3
3
  export { getInferredTypeFromValueType, getRedirectionProps } from './utils';
4
+ export { HIDE_SUBMIT_BUTTON_UI_SCHEMA } from './constants';
@@ -1,3 +1,3 @@
1
1
  import { ScanVulnerabilitiesTableProps } from '../Types';
2
2
 
3
- export default function ScanVulnerabilitiesTable({ vulnerabilities, hidePolicy, shouldStick, }: ScanVulnerabilitiesTableProps): JSX.Element;
3
+ export default function ScanVulnerabilitiesTable({ vulnerabilities, hidePolicy, shouldStick }: ScanVulnerabilitiesTableProps): JSX.Element;
@@ -2,7 +2,7 @@ import { default as React, ReactNode, CSSProperties } from 'react';
2
2
  import { Placement } from 'tippy.js';
3
3
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
4
4
  import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, SortingOrder, TaskErrorObj } from '.';
5
- import { RegistryType, Severity } from '../Shared';
5
+ import { RegistryType } from '../Shared';
6
6
 
7
7
  /**
8
8
  * Generic response type object with support for overriding the result type
@@ -493,7 +493,7 @@ export declare enum DeploymentAppTypes {
493
493
  }
494
494
  export interface VulnerabilityType {
495
495
  name: string;
496
- severity: Severity;
496
+ severity: 'CRITICAL' | 'MODERATE' | 'LOW';
497
497
  package: string;
498
498
  version: string;
499
499
  fixedVersion: string;
@@ -1,3 +1,3 @@
1
1
  export * from './constants';
2
- export type { UserListFilterParams, UserRoleGroup } from './types';
2
+ export type { UserListFilterParams, UserRoleGroup, UserGroupDTO, UserGroupType } from './types';
3
3
  export * from './shared';
@@ -31,3 +31,27 @@ export interface UserRoleGroup {
31
31
  */
32
32
  timeToLive: string;
33
33
  }
34
+ export interface UserGroupDTO {
35
+ /**
36
+ * Unique display name of the user group
37
+ */
38
+ name: string;
39
+ /**
40
+ * Unique id of the user group
41
+ *
42
+ * Follows the validation for app name
43
+ */
44
+ identifier: string;
45
+ /**
46
+ * Associated description
47
+ */
48
+ description?: string;
49
+ }
50
+ export interface UserGroupType extends Required<Pick<UserGroupDTO, 'description' | 'name'>> {
51
+ /**
52
+ * Unique id of the user group
53
+ *
54
+ * Follows the validation for app name
55
+ */
56
+ userGroupId: string;
57
+ }
@@ -0,0 +1,273 @@
1
+ declare const _default: {
2
+ "type": "object",
3
+ "properties": {
4
+ "args": {
5
+ "type": "object",
6
+ "title": "Arguments",
7
+ "properties": {
8
+ "value": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "string"
12
+ },
13
+ "title": "Value",
14
+ "hidden": {
15
+ "condition": false,
16
+ "match": "enabled"
17
+ }
18
+ },
19
+ "enabled": {
20
+ "type": "boolean",
21
+ "title": "Enabled"
22
+ }
23
+ }
24
+ },
25
+ "command": {
26
+ "type": "object",
27
+ "title": "Command",
28
+ "properties": {
29
+ "value": {
30
+ "type": "array",
31
+ "items": {
32
+ "type": "string"
33
+ },
34
+ "title": "Value",
35
+ "hidden": {
36
+ "condition": false,
37
+ "match": "enabled"
38
+ }
39
+ },
40
+ "enabled": {
41
+ "type": "boolean",
42
+ "title": "Enabled"
43
+ }
44
+ }
45
+ },
46
+ "ingress": {
47
+ "type": "object",
48
+ "title": "HTTP Requests Routes",
49
+ "properties": {
50
+ "className": {
51
+ "type": "string",
52
+ "title": "Class",
53
+ "hidden": {
54
+ "condition": false,
55
+ "match": "enabled"
56
+ }
57
+ },
58
+ "hosts": {
59
+ "type": "array",
60
+ "items": {
61
+ "type": "object",
62
+ "properties": {
63
+ "host": {
64
+ "type": "string"
65
+ },
66
+ "paths": {
67
+ "type": "array",
68
+ "items": {
69
+ "type": "string"
70
+ }
71
+ }
72
+ }
73
+ },
74
+ "hidden": {
75
+ "condition": false,
76
+ "match": "enabled"
77
+ }
78
+ },
79
+ "enabled": {
80
+ "type": "boolean",
81
+ "title": "Enable HTTP Requests Routes"
82
+ }
83
+ }
84
+ },
85
+ "resources": {
86
+ "type": "object",
87
+ "title": "Resources (CPU & RAM)",
88
+ "properties": {
89
+ "limits": {
90
+ "type": "object",
91
+ "required": ["cpu", "memory"],
92
+ "properties": {
93
+ "cpu": {
94
+ "type": "string"
95
+ },
96
+ "memory": {
97
+ "type": "string"
98
+ }
99
+ }
100
+ },
101
+ "requests": {
102
+ "type": "object",
103
+ "properties": {
104
+ "cpu": {
105
+ "type": "string"
106
+ },
107
+ "memory": {
108
+ "type": "string"
109
+ }
110
+ }
111
+ }
112
+ }
113
+ },
114
+ "autoscaling": {
115
+ "type": "object",
116
+ "title": "Autoscaling",
117
+ "properties": {
118
+ "MaxReplicas": {
119
+ "type": ["integer", "string"],
120
+ "title": "Maximum Replicas",
121
+ "pattern": "^[a-zA-Z0-9-+\/*%_\\s]+$",
122
+ "hidden": {
123
+ "condition": false,
124
+ "match": "enabled"
125
+ }
126
+ },
127
+ "MinReplicas": {
128
+ "type": ["integer", "string"],
129
+ "title": "Minimum Replicas",
130
+ "pattern": "^[a-zA-Z0-9-+\/*%_\\s]+$",
131
+ "hidden": {
132
+ "condition": false,
133
+ "match": "enabled"
134
+ }
135
+ },
136
+ "TargetCPUUtilizationPercentage": {
137
+ "type": ["integer", "string"],
138
+ "title": "Target CPU Utilization Percentage",
139
+ "pattern": "^[a-zA-Z0-9-+\/*%_\\s]+$",
140
+ "hidden": {
141
+ "condition": false,
142
+ "match": "enabled"
143
+ }
144
+ },
145
+ "TargetMemoryUtilizationPercentage": {
146
+ "type": ["integer", "string"],
147
+ "title": "TargetMemoryUtilizationPercentage",
148
+ "pattern": "^[a-zA-Z0-9-+\/*%_\\s]+$",
149
+ "hidden": {
150
+ "condition": false,
151
+ "match": "enabled"
152
+ }
153
+ },
154
+ "enabled": {
155
+ "type": "boolean",
156
+ "title": "Enabled"
157
+ }
158
+ }
159
+ },
160
+ "EnvVariables": {
161
+ "type": "array",
162
+ "items": {
163
+ "type": "object",
164
+ "properties": {
165
+ "key": {
166
+ "type": "string"
167
+ },
168
+ "value": {
169
+ "type": "string"
170
+ }
171
+ }
172
+ },
173
+ "title": "Environment Variables"
174
+ },
175
+ "ContainerPort": {
176
+ "type": "array",
177
+ "items": {
178
+ "type": "object",
179
+ "properties": {
180
+ "port": {
181
+ "type": ["integer", "string"]
182
+ },
183
+ "servicePort": {
184
+ "type": ["integer", "string"]
185
+ }
186
+ },
187
+ "required": ["port", "servicePort"]
188
+ },
189
+ "title": "Container Port"
190
+ },
191
+ "service": {
192
+ "type": "object",
193
+ "title": "Service",
194
+ "properties": {
195
+ "type": {
196
+ "type": "string",
197
+ "title": "Type"
198
+ },
199
+ "annotations": {
200
+ "type": "object",
201
+ "additionalProperties": {
202
+ "type": "string"
203
+ },
204
+ "title": "Annotations"
205
+ }
206
+ }
207
+ },
208
+ "ReadinessProbe": {
209
+ "type": "object",
210
+ "title": "Readiness Probe",
211
+ "properties": {
212
+ "Path": {
213
+ "type": "string"
214
+ },
215
+ "port": {
216
+ "type": ["integer", "string"]
217
+ }
218
+ }
219
+ },
220
+ "LivenessProbe": {
221
+ "type": "object",
222
+ "title": "Liveness Probe",
223
+ "properties": {
224
+ "Path": {
225
+ "type": "string"
226
+ },
227
+ "port": {
228
+ "type": ["integer", "string"]
229
+ }
230
+ }
231
+ },
232
+ "tolerations": {
233
+ "type": "array",
234
+ "items": {
235
+ "type": "object",
236
+ "properties": {
237
+ "key": {
238
+ "type": "string"
239
+ },
240
+ "operator": {
241
+ "type": "string",
242
+ "pattern": "Equal|Exists"
243
+ },
244
+ "value": {
245
+ "type": "string"
246
+ },
247
+ "effect": {
248
+ "type": "string",
249
+ "pattern": "NoSchedule|PreferNoSchedule|NoExecute"
250
+ }
251
+ }
252
+ }
253
+ },
254
+ "serviceAccount": {
255
+ "type": "object",
256
+ "properties": {
257
+ "create": {
258
+ "type": "boolean"
259
+ },
260
+ "name": {
261
+ "type": "string",
262
+ "hidden": {
263
+ "condition": false,
264
+ "match": "create"
265
+ }
266
+ }
267
+ }
268
+ }
269
+ }
270
+ }
271
+ ;
272
+
273
+ export default _default;
@@ -0,0 +1,157 @@
1
+ declare const _default: {
2
+ "type": "object",
3
+ "properties": {
4
+ "args": {
5
+ "type": "object",
6
+ "title": "Arguments",
7
+ "properties": {
8
+ "value": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "string"
12
+ },
13
+ "title": "Value",
14
+ "hidden": {
15
+ "condition": false,
16
+ "match": "enabled"
17
+ }
18
+ },
19
+ "enabled": {
20
+ "type": "boolean",
21
+ "title": "Enabled"
22
+ }
23
+ }
24
+ },
25
+ "command": {
26
+ "type": "object",
27
+ "title": "Command",
28
+ "properties": {
29
+ "value": {
30
+ "type": "array",
31
+ "items": {
32
+ "type": "string"
33
+ },
34
+ "title": "Value",
35
+ "hidden": {
36
+ "condition": false,
37
+ "match": "enabled"
38
+ }
39
+ },
40
+ "enabled": {
41
+ "type": "boolean",
42
+ "title": "Enabled"
43
+ }
44
+ }
45
+ },
46
+ "resources": {
47
+ "type": "object",
48
+ "title": "Resources (CPU & RAM)",
49
+ "properties": {
50
+ "limits": {
51
+ "type": "object",
52
+ "required": ["cpu", "memory"],
53
+ "properties": {
54
+ "cpu": {
55
+ "type": "string"
56
+ },
57
+ "memory": {
58
+ "type": "string"
59
+ }
60
+ }
61
+ },
62
+ "requests": {
63
+ "type": "object",
64
+ "properties": {
65
+ "cpu": {
66
+ "type": "string"
67
+ },
68
+ "memory": {
69
+ "type": "string"
70
+ }
71
+ }
72
+ }
73
+ }
74
+ },
75
+ "EnvVariables": {
76
+ "type": "array",
77
+ "items": {
78
+ "type": "object",
79
+ "properties": {
80
+ "key": {
81
+ "type": "string"
82
+ },
83
+ "value": {
84
+ "type": "string"
85
+ }
86
+ }
87
+ },
88
+ "title": "Environment Variables"
89
+ },
90
+ "service": {
91
+ "type": "object",
92
+ "title": "Service",
93
+ "properties": {
94
+ "type": {
95
+ "type": "string",
96
+ "title": "Type"
97
+ },
98
+ "annotations": {
99
+ "type": "object",
100
+ "additionalProperties": {
101
+ "type": "string"
102
+ },
103
+ "title": "Annotations"
104
+ }
105
+ }
106
+ },
107
+ "ReadinessProbe": {
108
+ "type": "object",
109
+ "title": "Readiness Probe",
110
+ "properties": {
111
+ "Path": {
112
+ "type": "string"
113
+ },
114
+ "port": {
115
+ "type": ["integer", "string"]
116
+ }
117
+ }
118
+ },
119
+ "LivenessProbe": {
120
+ "type": "object",
121
+ "title": "Liveness Probe",
122
+ "properties": {
123
+ "Path": {
124
+ "type": "string"
125
+ },
126
+ "port": {
127
+ "type": ["integer", "string"]
128
+ }
129
+ }
130
+ },
131
+ "tolerations": {
132
+ "type": "array",
133
+ "items": {
134
+ "type": "object",
135
+ "properties": {
136
+ "key": {
137
+ "type": "string"
138
+ },
139
+ "operator": {
140
+ "type": "string",
141
+ "pattern": "Equal|Exists"
142
+ },
143
+ "value": {
144
+ "type": "string"
145
+ },
146
+ "effect": {
147
+ "type": "string",
148
+ "pattern": "NoSchedule|PreferNoSchedule|NoExecute"
149
+ }
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+ ;
156
+
157
+ export default _default;
@@ -0,0 +1,2 @@
1
+ export * from './types';
2
+ export { convertDeploymentChartListToChartType, getGuiSchemaFromChartName } from './utils';
@@ -0,0 +1,24 @@
1
+ export type DeploymentChartListDTO = Array<{
2
+ id: number;
3
+ chartDescription?: string;
4
+ isUserUploaded: boolean;
5
+ name: string;
6
+ version: string;
7
+ }>;
8
+ interface DeploymentChartVersionsType {
9
+ id: number;
10
+ version: string;
11
+ description: string;
12
+ }
13
+ export interface DeploymentChartType {
14
+ name: string;
15
+ isUserUploaded: boolean;
16
+ versions: DeploymentChartVersionsType[];
17
+ }
18
+ export declare enum DEVTRON_DEPLOYMENT_CHART_NAMES {
19
+ JOB_AND_CRONJOB_CHART_NAME = "Job & CronJob",
20
+ ROLLOUT_DEPLOYMENT = "Rollout Deployment",
21
+ DEPLOYMENT = "Deployment",
22
+ STATEFUL_SET = "StatefulSet"
23
+ }
24
+ export {};
@@ -0,0 +1,4 @@
1
+ import { DeploymentChartListDTO, DeploymentChartType } from './types';
2
+
3
+ export declare const convertDeploymentChartListToChartType: (data: DeploymentChartListDTO) => DeploymentChartType[];
4
+ export declare const getGuiSchemaFromChartName: (chartName: string) => {};
@@ -1,3 +1,4 @@
1
1
  export * from './BuildInfra';
2
2
  export * from './Authorization';
3
3
  export * from './ScopedVariables';
4
+ export * from './DeploymentCharts';
@@ -1,4 +1,4 @@
1
1
  import { DeploymentTemplateHistoryType } from '../types';
2
2
 
3
- declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, isUnpublished, isDeleteDraft, rootClassName, comparisonBodyClassName, sortOrder, }: DeploymentTemplateHistoryType) => JSX.Element;
3
+ declare const DeploymentHistoryDiffView: ({ currentConfiguration, baseTemplateConfiguration, previousConfigAvailable, isUnpublished, isDeleteDraft, rootClassName, }: DeploymentTemplateHistoryType) => JSX.Element;
4
4
  export default DeploymentHistoryDiffView;
@@ -1,5 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
- import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps, SortingOrder } from '../../../Common';
2
+ import { OptionType, UserApprovalMetadataType, ReleaseTag, ImageComment, PromotionApprovalMetadataType, FilterConditionsListType, DeploymentAppTypes, ResponseType, PaginationProps } from '../../../Common';
3
3
  import { DeploymentStageType } from '../../constants';
4
4
  import { AggregationKeys, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType } from '../../types';
5
5
 
@@ -368,8 +368,6 @@ export interface DeploymentTemplateHistoryType {
368
368
  isUnpublished?: boolean;
369
369
  isDeleteDraft?: boolean;
370
370
  rootClassName?: string;
371
- comparisonBodyClassName?: string;
372
- sortOrder?: SortingOrder;
373
371
  }
374
372
  export interface DeploymentHistoryDetailRes extends ResponseType {
375
373
  result?: DeploymentHistoryDetail;
@@ -1,3 +1,3 @@
1
1
  import { KeyValueTableProps } from './KeyValueTable.types';
2
2
 
3
- export declare const KeyValueTable: <K extends string>({ config, maskValue, isSortable, headerComponent, onChange, onDelete, placeholder, isAdditionNotAllowed, readOnly, showError, validationSchema, errorMessages, onError, }: KeyValueTableProps<K>) => JSX.Element;
3
+ export declare const KeyValueTable: <K extends string>({ config, maskValue, isSortable, headerComponent, onChange, onDelete, placeholder, isAdditionNotAllowed, }: KeyValueTableProps<K>) => JSX.Element;
@@ -60,10 +60,8 @@ export interface KeyValueTableProps<K extends string> {
60
60
  isSortable?: boolean;
61
61
  /** An optional React node for a custom header component. */
62
62
  headerComponent?: ReactNode;
63
- /** When true, data addition field will not be shown. */
63
+ /** When true, data addition field will not be shown */
64
64
  isAdditionNotAllowed?: boolean;
65
- /** When true, data add or update is disabled. */
66
- readOnly?: boolean;
67
65
  /**
68
66
  * An optional function to handle changes in the table rows.
69
67
  * @param rowId - The id of the row that changed.
@@ -76,25 +74,4 @@ export interface KeyValueTableProps<K extends string> {
76
74
  * @param deletedRowIndex - The index of the row that was deleted.
77
75
  */
78
76
  onDelete?: (deletedRowId: string | number) => void;
79
- /**
80
- * Indicates whether to show errors.
81
- */
82
- showError?: boolean;
83
- /**
84
- * The function to use to validate the value of the cell.
85
- * @param value - The value to validate.
86
- * @param key - The row key of the value.
87
- * @returns Return true if the value is valid, otherwise false
88
- * and set `showError` to `true` and provide errorMessages array to show error message.
89
- */
90
- validationSchema?: (value: string, key: K) => boolean;
91
- /**
92
- * An array of error messages to be displayed in the cell error tooltip.
93
- */
94
- errorMessages?: string[];
95
- /**
96
- * A callback function called when an error occurs.
97
- * @param errorState - The error state, true when any cell has error, otherwise false.
98
- */
99
- onError?: (errorState: boolean) => void;
100
77
  }
@@ -0,0 +1,4 @@
1
+ import { ScannedObjectBarProps } from './types';
2
+
3
+ declare const ScannedObjectBar: ({ criticalVulnerabilitiesCount, moderateVulnerabilitiesCount, lowVulnerabilitiesCount, objectBarClassName, removeObjectCountMargin, }: ScannedObjectBarProps) => JSX.Element;
4
+ export default ScannedObjectBar;