@devtron-labs/devtron-fe-common-lib 1.20.6-pre-48 → 1.20.7-pre-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.
Files changed (244) hide show
  1. package/dist/{@code-editor-MJy65vkd.js → @code-editor-BXUMy12o.js} +9557 -11537
  2. package/dist/{@common-rjsf-Me4k--kI.js → @common-rjsf-DMKxjzgm.js} +30 -30
  3. package/dist/{@framer-motion-BbD0XILR.js → @framer-motion-DZveCoIL.js} +90 -92
  4. package/dist/{@react-dates-DLCF81bK.js → @react-dates-CZ1bNWJM.js} +1 -1
  5. package/dist/{@react-select-CK9Bxd-k.js → @react-select-DS68hCUM.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-J61SX97M.js → @react-virtualized-sticky-tree-V-8klKy9.js} +1 -1
  7. package/dist/{@vendor-DEAetXNs.js → @vendor-3ORIJA0h.js} +18074 -26323
  8. package/dist/Common/API/reactQueryHooks.d.ts +1 -1
  9. package/dist/Common/API/types.d.ts +1 -1
  10. package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +0 -1
  11. package/dist/Common/BreadCrumb/Types.d.ts +0 -20
  12. package/dist/Common/CIPipeline.Types.d.ts +1 -0
  13. package/dist/Common/ClipboardButton/ClipboardButton.d.ts +2 -2
  14. package/dist/Common/ClipboardButton/types.d.ts +2 -12
  15. package/dist/Common/Common.service.d.ts +1 -4
  16. package/dist/Common/Constants.d.ts +15 -66
  17. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -1
  18. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  19. package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -1
  20. package/dist/Common/SearchBar/types.d.ts +0 -8
  21. package/dist/Common/SegmentedBarChart/types.d.ts +0 -2
  22. package/dist/Common/Tooltip/Tooltip.d.ts +1 -1
  23. package/dist/Common/Types.d.ts +5 -63
  24. package/dist/Common/index.d.ts +0 -1
  25. package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -1
  26. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -0
  27. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +7 -13
  28. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -1
  29. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
  30. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
  31. package/dist/Pages/ResourceBrowser/constants.d.ts +8 -8
  32. package/dist/Pages/ResourceBrowser/types.d.ts +3 -3
  33. package/dist/Shared/Components/ActionMenu/types.d.ts +0 -3
  34. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
  35. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  36. package/dist/Shared/Components/Backdrop/types.d.ts +1 -1
  37. package/dist/Shared/Components/Badge/utils.d.ts +1 -2
  38. package/dist/Shared/Components/DTFocusTrap/DTFocusTrap.d.ts +1 -1
  39. package/dist/Shared/Components/DTFocusTrap/types.d.ts +1 -2
  40. package/dist/Shared/Components/DocLink/constants.d.ts +0 -4
  41. package/dist/Shared/Components/FeatureDescription/types.d.ts +1 -1
  42. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  43. package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +1 -2
  44. package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +5 -21
  45. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -1
  46. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +3 -1
  47. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  48. package/dist/Shared/Components/Header/constants.d.ts +0 -1
  49. package/dist/Shared/Components/Header/types.d.ts +0 -2
  50. package/dist/Shared/Components/Icon/Icon.d.ts +0 -92
  51. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  52. package/dist/Shared/Components/Icon/types.d.ts +0 -6
  53. package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -6
  54. package/dist/Shared/Components/Security/constants.d.ts +0 -2
  55. package/dist/Shared/Components/Security/index.d.ts +0 -1
  56. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  57. package/dist/Shared/Components/Table/TableContent.d.ts +1 -1
  58. package/dist/Shared/Components/Table/types.d.ts +6 -11
  59. package/dist/Shared/Components/TrailingItem/types.d.ts +0 -4
  60. package/dist/Shared/Components/TreeView/TreeView.component.d.ts +1 -1
  61. package/dist/Shared/Components/TreeView/TreeViewNodeContent.d.ts +1 -1
  62. package/dist/Shared/Components/TreeView/constants.d.ts +0 -3
  63. package/dist/Shared/Components/TreeView/types.d.ts +3 -17
  64. package/dist/Shared/Components/index.d.ts +0 -7
  65. package/dist/Shared/Helpers.d.ts +0 -2
  66. package/dist/Shared/Hooks/useGetResourceKindsOptions/service.d.ts +5 -0
  67. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +20 -5
  68. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  69. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -32
  70. package/dist/Shared/Providers/MainContextProvider/types.d.ts +1 -13
  71. package/dist/Shared/Services/common.service.d.ts +0 -3
  72. package/dist/Shared/Services/types.d.ts +1 -10
  73. package/dist/Shared/constants.d.ts +16 -3
  74. package/dist/Shared/types.d.ts +0 -20
  75. package/dist/Shared/validations.d.ts +0 -2
  76. package/dist/assets/@code-editor.css +1 -1
  77. package/dist/index.d.ts +6 -7
  78. package/dist/index.js +957 -1016
  79. package/package.json +1 -4
  80. package/dist/Common/BreadCrumb/NestedBreadCrumb.d.ts +0 -2
  81. package/dist/Common/SegmentedBarChart/utils.d.ts +0 -2
  82. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/VirtualClusterSidebar.d.ts +0 -2
  83. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +0 -1
  84. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/index.d.ts +0 -2
  85. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/ApplicationManagementIcon/utils.d.ts +0 -6
  86. package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +0 -1
  87. package/dist/Pages-Devtron-2.0/ApplicationManagement/index.d.ts +0 -1
  88. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.d.ts +0 -1
  89. package/dist/Pages-Devtron-2.0/Automation&Enablement/Overview/index.d.ts +0 -1
  90. package/dist/Pages-Devtron-2.0/Automation&Enablement/index.d.ts +0 -1
  91. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/Overview.d.ts +0 -1
  92. package/dist/Pages-Devtron-2.0/CostVisibility/Overview/index.d.ts +0 -1
  93. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +0 -4
  94. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +0 -2
  95. package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +0 -31
  96. package/dist/Pages-Devtron-2.0/CostVisibility/index.d.ts +0 -1
  97. package/dist/Pages-Devtron-2.0/DataProtectionManagement/index.d.ts +0 -1
  98. package/dist/Pages-Devtron-2.0/DataProtectionManagement/types.d.ts +0 -8
  99. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.d.ts +0 -1
  100. package/dist/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.d.ts +0 -1
  101. package/dist/Pages-Devtron-2.0/GlobalConfiguration/index.d.ts +0 -1
  102. package/dist/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.d.ts +0 -1
  103. package/dist/Pages-Devtron-2.0/GlobalOverview/index.d.ts +0 -1
  104. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/InfrastructureManagementIcon.d.ts +0 -1
  105. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/index.d.ts +0 -2
  106. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/InfrastructureManagementIcon/utils.d.ts +0 -6
  107. package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +0 -1
  108. package/dist/Pages-Devtron-2.0/InfrastructureManagement/index.d.ts +0 -1
  109. package/dist/Pages-Devtron-2.0/InfrastructureManagement/utils.d.ts +0 -11
  110. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.d.ts +0 -1
  111. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/index.d.ts +0 -1
  112. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/utils.d.ts +0 -6
  113. package/dist/Pages-Devtron-2.0/SecurityCenter/Shared/index.d.ts +0 -1
  114. package/dist/Pages-Devtron-2.0/SecurityCenter/index.d.ts +0 -1
  115. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.d.ts +0 -1
  116. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.d.ts +0 -1
  117. package/dist/Pages-Devtron-2.0/SoftwareReleaseManagement/index.d.ts +0 -1
  118. package/dist/Pages-Devtron-2.0/index.d.ts +0 -5
  119. package/dist/Shared/Components/Card/Card.component.d.ts +0 -3
  120. package/dist/Shared/Components/Card/constants.d.ts +0 -4
  121. package/dist/Shared/Components/Card/index.d.ts +0 -2
  122. package/dist/Shared/Components/Card/types.d.ts +0 -25
  123. package/dist/Shared/Components/Charts/Chart.component.d.ts +0 -123
  124. package/dist/Shared/Components/Charts/constants.d.ts +0 -10
  125. package/dist/Shared/Components/Charts/index.d.ts +0 -4
  126. package/dist/Shared/Components/Charts/plugins.d.ts +0 -7
  127. package/dist/Shared/Components/Charts/types.d.ts +0 -145
  128. package/dist/Shared/Components/Charts/utils.d.ts +0 -30
  129. package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +0 -3
  130. package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +0 -1
  131. package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +0 -5
  132. package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +0 -2
  133. package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +0 -3
  134. package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +0 -3
  135. package/dist/Shared/Components/ExportToCsv/index.d.ts +0 -2
  136. package/dist/Shared/Components/ExportToCsv/types.d.ts +0 -64
  137. package/dist/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.d.ts +0 -3
  138. package/dist/Shared/Components/KeyboardShortcut/constants.d.ts +0 -3
  139. package/dist/Shared/Components/KeyboardShortcut/index.d.ts +0 -1
  140. package/dist/Shared/Components/KeyboardShortcut/types.d.ts +0 -4
  141. package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +0 -3
  142. package/dist/Shared/Components/PrometheusConfigurations/index.d.ts +0 -2
  143. package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +0 -20
  144. package/dist/Shared/Components/SideNavigation/SideNavigation.d.ts +0 -2
  145. package/dist/Shared/Components/SideNavigation/index.d.ts +0 -2
  146. package/dist/Shared/Components/SideNavigation/types.d.ts +0 -19
  147. package/dist/assets/create-backup-schedule.bbac4a86.webp +0 -0
  148. package/dist/assets/create-backup-snapshot.c794f612.webp +0 -0
  149. package/dist/assets/ic-ai.25e44e0c.svg +0 -3
  150. package/dist/assets/ic-alibaba.518d61a4.svg +0 -3
  151. package/dist/assets/ic-application-group.4b448cca.svg +0 -3
  152. package/dist/assets/ic-application-management.7fb9e3a0.svg +0 -3
  153. package/dist/assets/ic-application-template.212d14f1.svg +0 -3
  154. package/dist/assets/ic-application.4c80bfcf.svg +0 -3
  155. package/dist/assets/ic-argocd-app.9c5eba79.svg +0 -61
  156. package/dist/assets/ic-arrow-line-down.b6a98848.svg +0 -3
  157. package/dist/assets/ic-arrow-white.be4aea3f.svg +0 -3
  158. package/dist/assets/ic-aws.eb2d0124.svg +0 -12
  159. package/dist/assets/ic-backup-and-schedule.51b7d3dd.svg +0 -3
  160. package/dist/assets/ic-backup-color.dc62e9d5.svg +0 -6
  161. package/dist/assets/ic-backup-location.ebaf1148.svg +0 -3
  162. package/dist/assets/ic-backup-schedule-color.a16c34b0.svg +0 -5
  163. package/dist/assets/ic-bell.e03a0783.svg +0 -3
  164. package/dist/assets/ic-bg-backup-schedule.9ef9bc39.svg +0 -19
  165. package/dist/assets/ic-bg-backups.396e99bd.svg +0 -19
  166. package/dist/assets/ic-bg-build.8609d0ea.svg +0 -13
  167. package/dist/assets/ic-bg-cpu.15ec70f0.svg +0 -11
  168. package/dist/assets/ic-bg-deploy.266711fe.svg +0 -22
  169. package/dist/assets/ic-bg-memory.5373a125.svg +0 -11
  170. package/dist/assets/ic-bg-pause-schedule.6edcc1d4.svg +0 -14
  171. package/dist/assets/ic-bg-production-pipelines.2951cdc0.svg +0 -22
  172. package/dist/assets/ic-bg-project.84658405.svg +0 -12
  173. package/dist/assets/ic-bg-ransomware-vulnerable-cluster.1b25a5d0.svg +0 -7
  174. package/dist/assets/ic-bg-restore.4fa13869.svg +0 -33
  175. package/dist/assets/ic-bg-scan.2249360c.svg +0 -28
  176. package/dist/assets/ic-bg-storage-locations.894070b0.svg +0 -22
  177. package/dist/assets/ic-bg-webhook.b455152d.svg +0 -13
  178. package/dist/assets/ic-book-gear.bb9bca1f.svg +0 -9
  179. package/dist/assets/ic-bot.65f403dd.svg +0 -3
  180. package/dist/assets/ic-building.2405d07b.svg +0 -3
  181. package/dist/assets/ic-bulb.3906a732.svg +0 -7
  182. package/dist/assets/ic-chart-line-up.7ab47f4e.svg +0 -3
  183. package/dist/assets/ic-check-circle.af18cd7e.svg +0 -3
  184. package/dist/assets/ic-check-green.b03d325d.svg +0 -3
  185. package/dist/assets/ic-circle-progress.0875625d.svg +0 -6
  186. package/dist/assets/ic-circle-small.a0740b0e.svg +0 -3
  187. package/dist/assets/ic-clipboard.2869fa7d.svg +0 -3
  188. package/dist/assets/ic-clock-counterclockwise.3d7c2ef1.svg +0 -3
  189. package/dist/assets/ic-close-circle-red.72e0a495.svg +0 -3
  190. package/dist/assets/ic-close-circle.b39dd87d.svg +0 -3
  191. package/dist/assets/ic-cloud-upload.55d9c163.svg +0 -3
  192. package/dist/assets/ic-coins-color-animated.fe11cdc3.svg +0 -112
  193. package/dist/assets/ic-coins.2c15f406.svg +0 -3
  194. package/dist/assets/ic-confirm.f6b1c31c.svg +0 -3
  195. package/dist/assets/ic-cost-visibility.5595009f.svg +0 -3
  196. package/dist/assets/ic-database-backup.b9e7c558.svg +0 -3
  197. package/dist/assets/ic-devtron-text.67a413b6.svg +0 -3
  198. package/dist/assets/ic-dot-circle.5ce1fccf.svg +0 -3
  199. package/dist/assets/ic-edit-lines.57927b07.svg +0 -3
  200. package/dist/assets/ic-failure-color.e167df98.svg +0 -4
  201. package/dist/assets/ic-file-download.ca57c068.svg +0 -5
  202. package/dist/assets/ic-files-changed.04e6de3f.svg +0 -3
  203. package/dist/assets/ic-floppy-disk.6d392bcd.svg +0 -3
  204. package/dist/assets/ic-fluxcd-app.7bf7dce5.svg +0 -22
  205. package/dist/assets/ic-global-overview.56ba9dc0.svg +0 -3
  206. package/dist/assets/ic-google-cloud.3077a8dd.svg +0 -6
  207. package/dist/assets/ic-info-filled-new.28815384.svg +0 -8
  208. package/dist/assets/ic-infrastructure-management.4b052d41.svg +0 -3
  209. package/dist/assets/ic-kubernetes.7e04c3d2.svg +0 -4
  210. package/dist/assets/ic-line.4e8fa046.svg +0 -3
  211. package/dist/assets/ic-magic-wand.2c29cd4e.svg +0 -10
  212. package/dist/assets/ic-new-chat.f7c90f8e.svg +0 -5
  213. package/dist/assets/ic-oracle-cloud.5a8ee45d.svg +0 -3
  214. package/dist/assets/ic-otc-cloud.43b31bd8.svg +0 -5
  215. package/dist/assets/ic-party.cfc7e7c6.svg +0 -4
  216. package/dist/assets/ic-pause.4e5c6056.svg +0 -4
  217. package/dist/assets/ic-pencil-white.369e78d9.svg +0 -3
  218. package/dist/assets/ic-piggybank.3a4839d7.svg +0 -3
  219. package/dist/assets/ic-priority-high-fill.53755d8f.svg +0 -3
  220. package/dist/assets/ic-priority-low-fill.79e781ae.svg +0 -4
  221. package/dist/assets/ic-priority-medium-fill.7bab0ff8.svg +0 -4
  222. package/dist/assets/ic-priority-urgent-fill.78d42fa0.svg +0 -10
  223. package/dist/assets/ic-red-bulb.25e01bfc.svg +0 -9
  224. package/dist/assets/ic-release-hub.25b9707a.svg +0 -3
  225. package/dist/assets/ic-resource-browser.4ff3e571.svg +0 -3
  226. package/dist/assets/ic-resource-watcher.7cce5305.svg +0 -3
  227. package/dist/assets/ic-right-panel-collapse.0ecf8ceb.svg +0 -3
  228. package/dist/assets/ic-security-fixable.168b5bf8.svg +0 -12
  229. package/dist/assets/ic-security-not-fixable.be099f65.svg +0 -12
  230. package/dist/assets/ic-security-policy.874568da.svg +0 -3
  231. package/dist/assets/ic-security-scan.3ae78d50.svg +0 -3
  232. package/dist/assets/ic-security-vulnerability.c954b87a.svg +0 -4
  233. package/dist/assets/ic-software-release-management.dceedf80.svg +0 -3
  234. package/dist/assets/ic-spider.99b77bd8.svg +0 -3
  235. package/dist/assets/ic-symbol-greater-than.8f71342d.svg +0 -3
  236. package/dist/assets/ic-tenants.4f997b9a.svg +0 -3
  237. package/dist/assets/ic-timer-green.00bf295e.svg +0 -3
  238. package/dist/assets/ic-timer-red.656bee16.svg +0 -3
  239. package/dist/assets/ic-trend-up.5752ef30.svg +0 -3
  240. package/dist/assets/ic-warning-stroke.fc850a4a.svg +0 -3
  241. package/dist/assets/img-folder-empty.8e898c33.svg +0 -33
  242. package/dist/assets/img-no-backup-location.0e8699c5.svg +0 -180
  243. package/dist/assets/img-no-restores.f26cb7db.svg +0 -114
  244. package/dist/assets/no-cluster-cost-enabled.038c73db.webp +0 -0
@@ -1,6 +1,6 @@
1
1
  import { QueryKey, UseMutationOptions, UseMutationResult, useQueryClient, UseQueryOptions, UseQueryResult } from '@tanstack/react-query';
2
2
  import { ServerErrors } from '../ServerError';
3
3
  import { ResponseType } from '../Types';
4
- export declare const useQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey, WrapWithResponseType extends boolean = true>(options: UseQueryOptions<WrapWithResponseType extends true ? ResponseType<TQueryFnData> : TQueryFnData, ServerErrors, TData, TQueryKey>) => UseQueryResult<TData, ServerErrors>;
4
+ export declare const useQuery: <TQueryFnData = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey>(options: UseQueryOptions<ResponseType<TQueryFnData>, ServerErrors, TData, TQueryKey>) => UseQueryResult<TData, ServerErrors>;
5
5
  export declare const useMutation: <TData = unknown, TVariables = void, TContext = unknown>(options: UseMutationOptions<ResponseType<TData>, ServerErrors, TVariables, TContext>) => UseMutationResult<ResponseType<TData>, ServerErrors, TVariables, TContext>;
6
6
  export { useQueryClient };
@@ -18,6 +18,6 @@ export interface FetchInTimeParamsType<Data = object> {
18
18
  options?: APIOptions;
19
19
  isMultipartRequest?: boolean;
20
20
  }
21
- export interface FetchAPIParamsType<Data = object> extends Omit<FetchInTimeParamsType<Data>, 'options'>, Pick<APIOptions, 'preventAutoLogout' | 'preventLicenseRedirect' | 'shouldParseServerErrorForUnauthorizedUser' | 'isProxyHost'> {
21
+ export interface FetchAPIParamsType<Data = object> extends Omit<FetchInTimeParamsType<Data>, 'options'>, Pick<APIOptions, 'preventAutoLogout' | 'preventLicenseRedirect' | 'shouldParseServerErrorForUnauthorizedUser'> {
22
22
  signal: AbortSignal;
23
23
  }
@@ -1,7 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { BreadcrumbTextProps } from './Types';
3
3
  export declare const BreadcrumbText: ({ heading, isActive, shouldTruncate }: BreadcrumbTextProps) => JSX.Element;
4
- export declare const getBreadCrumbSeparator: (sep?: string) => JSX.Element;
5
4
  declare const Store: ({ children }: {
6
5
  children: any;
7
6
  }) => JSX.Element;
@@ -34,23 +34,3 @@ export interface BreadcrumbTextProps {
34
34
  */
35
35
  shouldTruncate?: boolean;
36
36
  }
37
- export interface NestedBreadCrumbProps {
38
- /**
39
- * It is the url to which the link should redirect
40
- */
41
- redirectUrl: string;
42
- /**
43
- * It is the text of the link
44
- */
45
- linkText: string;
46
- /**
47
- * It is the name of the profile
48
- * If not given, would show "Create Profile"
49
- */
50
- profileName: string;
51
- /**
52
- * @default Profiles
53
- * It is the text of the nested breadcrumb
54
- */
55
- nestedBreadCrumbsText?: string;
56
- }
@@ -289,6 +289,7 @@ export interface TaskErrorObj {
289
289
  name: ErrorObj;
290
290
  inlineStepDetail?: StepDetailTaskErrorObj;
291
291
  pluginRefStepDetail?: StepDetailTaskErrorObj;
292
+ outputDirectoryPath?: ErrorObj[];
292
293
  }
293
294
  export interface FormErrorObjectType {
294
295
  name: ErrorObj;
@@ -1,4 +1,4 @@
1
- import { ClipboardProps } from './types';
1
+ import { default as ClipboardProps } from './types';
2
2
  /**
3
3
  * @param content - Content to be copied
4
4
  * @param copiedTippyText - Text to be shown in the tippy when the content is copied, default 'Copied!'
@@ -7,4 +7,4 @@ import { ClipboardProps } from './types';
7
7
  * @param rootClassName - additional classes to add to button
8
8
  * @param iconSize - size of svg icon to be shown, default 16 (icon-dim-16)
9
9
  */
10
- export declare const ClipboardButton: ({ content, initialTippyText, copiedTippyText, duration, copyToClipboardPromise, rootClassName, iconSize, handleSuccess, variant, size, }: ClipboardProps) => JSX.Element;
10
+ export declare const ClipboardButton: ({ content, initialTippyText, copiedTippyText, duration, copyToClipboardPromise, rootClassName, iconSize, handleSuccess, }: ClipboardProps) => JSX.Element;
@@ -1,14 +1,4 @@
1
- import { ComponentSizeType } from '../../Shared/constants';
2
- export type ClipboardProps = ({
3
- /**
4
- * @default 'default'
5
- */
6
- variant?: 'default';
7
- size?: never;
8
- } | {
9
- variant: 'button--secondary';
10
- size: ComponentSizeType;
11
- }) & {
1
+ export default interface ClipboardProps {
12
2
  content: string;
13
3
  /**
14
4
  * tippy text before copying
@@ -26,4 +16,4 @@ export type ClipboardProps = ({
26
16
  rootClassName?: string;
27
17
  iconSize?: number;
28
18
  handleSuccess?: () => void;
29
- };
19
+ }
@@ -1,6 +1,6 @@
1
1
  import { MutableRefObject } from 'react';
2
2
  import { RuntimeParamsAPIResponseType, RuntimePluginVariables } from '../Shared/types';
3
- import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, EnvAppsMetaDTO, GetAppsInfoForEnvProps, EnvironmentsGroupedByClustersType, AppsGroupedByProjectsType, ClusterDetailListType } from './Types';
3
+ import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, EnvAppsMetaDTO, GetAppsInfoForEnvProps } from './Types';
4
4
  import { ApiResourceType } from '../Pages';
5
5
  export declare const getTeamListMin: () => Promise<TeamList>;
6
6
  export declare const SourceTypeMap: {
@@ -36,6 +36,3 @@ export declare const getGlobalVariables: ({ appId, isCD, abortControllerRef, }:
36
36
  abortControllerRef?: MutableRefObject<AbortController>;
37
37
  }) => Promise<GlobalVariableOptionType[]>;
38
38
  export declare const getAppsInfoForEnv: ({ envId, appIds }: GetAppsInfoForEnvProps) => Promise<EnvAppsMetaDTO>;
39
- export declare const getAppOptionsGroupedByProjects: () => Promise<AppsGroupedByProjectsType>;
40
- export declare const getEnvironmentOptionsGroupedByClusters: () => Promise<EnvironmentsGroupedByClustersType>;
41
- export declare const getDetailedClusterList: (clusterIds?: number[], signal?: AbortSignal) => Promise<ClusterDetailListType[]>;
@@ -3,7 +3,7 @@ export declare const FALLBACK_REQUEST_TIMEOUT = 60000;
3
3
  export declare const Host: string;
4
4
  export declare const DOCUMENTATION_HOME_PAGE = "https://docs.devtron.ai";
5
5
  export declare const DEVTRON_HOME_PAGE = "https://devtron.ai/";
6
- export declare const DOCUMENTATION_VERSION = "/devtron/v2.0";
6
+ export declare const DOCUMENTATION_VERSION = "/devtron/v1.7";
7
7
  export declare const DISCORD_LINK = "https://discord.devtron.ai/";
8
8
  export declare const DEFAULT_JSON_SCHEMA_URI = "https://json-schema.org/draft/2020-12/schema";
9
9
  export declare const LICENSE_DASHBOARD_HOME_PAGE = "https://license.devtron.ai/dashboard";
@@ -30,7 +30,11 @@ export declare const PATTERNS: {
30
30
  export declare const URLS: {
31
31
  readonly LOGIN: "/login";
32
32
  readonly LOGIN_SSO: "/login/sso";
33
+ readonly PERMISSION_GROUPS: "/global-config/auth/groups";
34
+ readonly APP: "/app";
33
35
  readonly APP_LIST: "list";
36
+ readonly CHARTS_DISCOVER: "/chart-store/discover";
37
+ readonly JOB: "/job";
34
38
  readonly CREATE_JOB: "create-job";
35
39
  readonly GETTING_STARTED: "getting-started";
36
40
  readonly STACK_MANAGER_ABOUT: "/stack-manager/about";
@@ -45,66 +49,21 @@ export declare const URLS: {
45
49
  readonly DETAILS: "/details";
46
50
  readonly CD_DETAILS: "cd-details";
47
51
  readonly APP_TRIGGER: "trigger";
52
+ readonly GLOBAL_CONFIG_DOCKER: "/global-config/docker";
48
53
  readonly DEPLOYMENT_HISTORY_CONFIGURATIONS: "/configuration";
54
+ readonly GLOBAL_CONFIG_SCOPED_VARIABLES: "/global-config/scoped-variables";
55
+ readonly GLOBAL_CONFIG_DEPLOYMENT_CHARTS_LIST: "/global-config/deployment-charts";
56
+ readonly GLOBAL_CONFIG_DEPLOYMENT_CHARTS_UPLOAD_CHART: "/global-config/deployment-charts/upload-chart";
49
57
  readonly NETWORK_STATUS_INTERFACE: "/network-status-interface";
58
+ readonly RESOURCE_BROWSER: "/resource-browser";
50
59
  readonly COMPARE_CLUSTERS: "/compare-clusters";
51
60
  readonly APP_CONFIG: "edit";
61
+ readonly GLOBAL_CONFIG: "/global-config";
62
+ readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
63
+ readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
64
+ readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
52
65
  readonly LICENSE_AUTH: "/license-auth";
53
- readonly APPLICATION_MANAGEMENT: "/application-management";
54
- readonly APPLICATION_MANAGEMENT_OVERVIEW: "/application-management/overview";
55
- readonly APPLICATION_MANAGEMENT_APP: "/application-management/app";
56
- readonly APPLICATION_MANAGEMENT_APP_LIST: "/application-management/devtron-apps";
57
- readonly APPLICATION_MANAGEMENT_CREATE_DEVTRON_APP: "/application-management/devtron-apps/create-app";
58
- readonly APPLICATION_MANAGEMENT_APPLICATION_GROUP: "/application-management/application-group";
59
- readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP: "/application-management/templates/devtron-app";
60
- readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_CREATE: "/application-management/templates/devtron-app/create";
61
- readonly APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_DETAIL: "/application-management/templates/devtron-app/detail/:appId";
62
- readonly APPLICATION_MANAGEMENT_PROJECTS: "/application-management/projects";
63
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS: "/application-management/configurations";
64
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_DEPLOYMENT_CHARTS: "/application-management/configurations/deployment-charts";
65
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_SCOPED_VARIABLES: "/application-management/configurations/scoped-variables";
66
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA: "/application-management/configurations/build-infra";
67
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_BUILD_INFRA_PROFILES: "/application-management/configurations/build-infra/profiles";
68
- readonly APPLICATION_MANAGEMENT_CONFIGURATIONS_NOTIFICATIONS: "/application-management/configurations/notifications";
69
- readonly INFRASTRUCTURE_MANAGEMENT: "/infrastructure-management";
70
- readonly INFRASTRUCTURE_MANAGEMENT_OVERVIEW: "/infrastructure-management/overview";
71
- readonly INFRASTRUCTURE_MANAGEMENT_APP_LIST: `/infrastructure-management/apps/:appType(${string})`;
72
- readonly INFRASTRUCTURE_MANAGEMENT_APP: "/infrastructure-management/app";
73
- readonly INFRASTRUCTURE_MANAGEMENT_CHART_STORE: "/infrastructure-management/chart-store";
74
- readonly INFRASTRUCTURE_MANAGEMENT_CHART_STORE_DISCOVER: "/infrastructure-management/chart-store/discover";
75
- readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_BROWSER: "/infrastructure-management/resource-browser";
76
- readonly INFRASTRUCTURE_MANAGEMENT_RESOURCE_WATCHER: "/infrastructure-management/resource-watcher";
77
- readonly INFRASTRUCTURE_MANAGEMENT_AUDIT_LOGS: "/infrastructure-management/audit-logs";
78
- readonly SOFTWARE_RELEASE_MANAGEMENT: "/software-release-management";
79
- readonly COST_VISIBILITY: "/cost-visibility";
80
- readonly COST_VISIBILITY_OVERVIEW: "/cost-visibility/overview";
81
- readonly COST_BREAKDOWN_ROUTE: "/cost-visibility/breakdown/:breakdownViewType";
82
- readonly COST_BREAKDOWN_CLUSTERS: "/cost-visibility/breakdown/clusters";
83
- readonly COST_BREAKDOWN_ENVIRONMENTS: "/cost-visibility/breakdown/environments";
84
- readonly COST_BREAKDOWN_PROJECTS: "/cost-visibility/breakdown/projects";
85
- readonly COST_BREAKDOWN_APPLICATIONS: "/cost-visibility/breakdown/applications";
86
- readonly COST_BREAKDOWN_DETAIL: ":itemName/:view/:detail?";
87
- readonly COST_CONFIGURATIONS: "/cost-visibility/configurations";
88
- readonly SECURITY_CENTER: "/security-center";
89
- readonly SECURITY_CENTER_OVERVIEW: "/security-center/overview";
90
- readonly SECURITY_CENTER_SCANS: "/security-center/scans";
91
- readonly SECURITY_CENTER_POLICIES: "/security-center/policies";
92
- readonly AUTOMATION_AND_ENABLEMENT: "/automation-and-enablement";
93
- readonly AUTOMATION_AND_ENABLEMENT_JOB: "/automation-and-enablement/job";
94
- readonly AUTOMATION_ENABLEMENT_RUNBOOKS: "/automation-and-enablement/runbooks";
95
- readonly DATA_PROTECTION: "/data-protection-management";
96
- readonly DATA_PROTECTION_OVERVIEW: "/data-protection-management/overview";
97
- readonly DATA_PROTECTION_BACKUP_AND_SCHEDULE: `/data-protection-management/backup-and-schedule/:view(${string})`;
98
- readonly DATA_PROTECTION_BACKUP_AND_SCHEDULE_DETAIL: `/data-protection-management/backup-and-schedule/:view(${string})/detail/:id`;
99
- readonly DATA_PROTECTION_RESTORES: "/data-protection-management/restores";
100
- readonly DATA_PROTECTION_RESTORES_DETAIL: "/data-protection-management/restores/:restoreId";
101
- readonly DATA_PROTECTION_BACKUP_LOCATIONS: `/data-protection-management/backup-locations/:type(${string})`;
102
- readonly BACKUP_LOCATION_DETAILS: "/:locationId";
103
- readonly GLOBAL_CONFIG: "/global-configuration";
104
- readonly GLOBAL_CONFIG_DOCKER: "/global-configuration/docker";
105
- readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-configuration/cluster-env/edit/:clusterId";
106
- readonly PERMISSION_GROUPS: "/global-configuration/auth/groups";
107
- readonly EXTERNAL_APPS: "ea";
66
+ readonly GLOBAL_CONFIG_EDIT_CLUSTER: "/global-config/cluster-env/edit/:clusterId";
108
67
  };
109
68
  export declare const ROUTES: {
110
69
  readonly APP: "app";
@@ -131,7 +90,6 @@ export declare const ROUTES: {
131
90
  readonly PATCH: "patch";
132
91
  readonly ENVIRONMENT_LIST_MIN: "env/autocomplete";
133
92
  readonly CLUSTER: "cluster";
134
- readonly CLUSTER_MIN: "cluster/min";
135
93
  readonly API_RESOURCE: "k8s/api-resources";
136
94
  readonly GVK: "gvk";
137
95
  readonly NAMESPACE: "env/namespace";
@@ -369,15 +327,6 @@ export declare const DATE_TIME_FORMATS: {
369
327
  DD_MMM_YYYY_HH_MM: string;
370
328
  DD_MMM_YYYY: string;
371
329
  'DD/MM/YYYY': string;
372
- DD_MMM: string;
373
- TWENTY_FOUR_HOUR_FORMAT_HOUR: string;
374
- ABBREVIATED_MONTH: string;
375
- DATE_WITH_ABBREVIATED_MONTH: string;
376
- WEEKDAY_WITH_DATE_MONTH_AND_YEAR: string;
377
- WEEKDAY_DATE_MONTH_YEAR_AND_HOUR: string;
378
- DAY_OF_MONTH_WITH_ORDINAL: string;
379
- ABBREVIATED_WEEKDAY: string;
380
- DAY_OF_MONTH: string;
381
330
  };
382
331
  export declare const SEMANTIC_VERSION_DOCUMENTATION_LINK = "https://semver.org/";
383
332
  export declare const VULNERABILITIES_SORT_PRIORITY: {
@@ -27,7 +27,6 @@ export declare const KEYBOARD_KEYS_MAP: {
27
27
  readonly Delete: "⌦";
28
28
  readonly '.': ".";
29
29
  readonly Space: "Space";
30
- readonly '>': ">";
31
30
  };
32
31
  export type SupportedKeyboardKeysType = keyof typeof KEYBOARD_KEYS_MAP;
33
32
  export interface ShortcutType {
@@ -1,6 +1,6 @@
1
1
  import { ShortcutType } from './types';
2
2
  export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
3
- keys: ("N" | "R" | "Enter" | "/" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "Home" | "End" | "." | "Space" | ">" | "Control" | "Shift" | "Meta" | "Escape" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
3
+ keys: ("N" | "R" | "Enter" | "/" | "Alt" | "F" | "E" | "K" | "X" | "A" | "S" | "Home" | "End" | "." | "Space" | "Control" | "Shift" | "Meta" | "Escape" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
4
4
  id: string;
5
5
  };
6
6
  export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
@@ -33,5 +33,5 @@ import { SearchBarProps } from './types';
33
33
  * <SearchBar inputProps={{ placeholder: 'Enter search text' }} />
34
34
  * ```
35
35
  */
36
- declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, size, keyboardShortcut, variant, isLoading, }: SearchBarProps) => JSX.Element;
36
+ declare const SearchBar: ({ initialSearchText, handleSearchChange, handleEnter, inputProps, containerClassName, shouldDebounce, debounceTimeout, dataTestId, noBackgroundAndBorder, size, keyboardShortcut, }: SearchBarProps) => JSX.Element;
37
37
  export default SearchBar;
@@ -53,12 +53,4 @@ export interface SearchBarProps {
53
53
  * @note This is displayed in place of the dropdown indicator
54
54
  */
55
55
  keyboardShortcut?: SupportedKeyboardKeysType;
56
- /**
57
- * @default 'default'
58
- */
59
- variant?: 'default' | 'sidenav';
60
- /**
61
- * If true, would convert the magnifying glass icon to a loading spinner
62
- */
63
- isLoading?: boolean;
64
56
  }
@@ -1,4 +1,3 @@
1
- import { ComponentSizeType } from '../../Shared/constants';
2
1
  export type Entity = {
3
2
  color: string;
4
3
  label: string;
@@ -21,6 +20,5 @@ export type SegmentedBarChartProps = {
21
20
  swapLegendAndBar?: boolean;
22
21
  showAnimationOnBar?: boolean;
23
22
  isLoading?: boolean;
24
- size?: ComponentSizeType;
25
23
  } & EntityPropType;
26
24
  export {};
@@ -1,3 +1,3 @@
1
1
  import { TooltipProps } from './types';
2
- declare const Tooltip: ({ shortcutKeyCombo, alwaysShowTippyOnHover, showOnTruncate, wordBreak, children: child, plugins, ...rest }: TooltipProps) => JSX.Element;
2
+ declare const Tooltip: ({ shortcutKeyCombo, alwaysShowTippyOnHover, showOnTruncate, wordBreak, children: child, ...rest }: TooltipProps) => JSX.Element;
3
3
  export default Tooltip;
@@ -2,11 +2,9 @@ import { default as React, ReactNode, CSSProperties, ReactElement, MutableRefObj
2
2
  import { TippyProps } from '@tippyjs/react';
3
3
  import { UserGroupDTO } from '../Pages/GlobalConfigurations';
4
4
  import { ImageComment, ReleaseTag } from './ImageTags.Types';
5
- import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ComponentLayoutType, StatusType, DocLinkProps, DeploymentStrategyType, EnvironmentType } from '../Shared';
5
+ import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ComponentLayoutType, StatusType, DocLinkProps, DeploymentStrategyType } from '../Shared';
6
6
  import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
7
- import { IllustrationName, SelectPickerOptionType } from '../Shared/Components';
8
- import { ClusterStatusType } from '../Pages/ResourceBrowser';
9
- import { ClusterProviderType } from '../Pages-Devtron-2.0/CostVisibility';
7
+ import { IllustrationName } from '../Shared/Components';
10
8
  /**
11
9
  * Generic response type object with support for overriding the result type
12
10
  *
@@ -28,6 +26,9 @@ export interface ResponseType<T = any> {
28
26
  }
29
27
  export interface APIOptions {
30
28
  timeout?: number;
29
+ /**
30
+ * @deprecated Use abortController instead
31
+ */
31
32
  signal?: AbortSignal;
32
33
  abortControllerRef?: MutableRefObject<AbortController>;
33
34
  /**
@@ -42,11 +43,6 @@ export interface APIOptions {
42
43
  * @default false
43
44
  */
44
45
  shouldParseServerErrorForUnauthorizedUser?: boolean;
45
- /**
46
- * @default false
47
- * @description - If true, will override the default host (orchestrator or whatever defined initially in CoreAPI constructor) with the `proxy` host
48
- */
49
- isProxyHost?: boolean;
50
46
  }
51
47
  export interface OptionType<T = string, K = string> {
52
48
  value: T;
@@ -939,58 +935,4 @@ export interface ClusterEnvironmentCategoryDTO {
939
935
  }
940
936
  export interface ClusterEnvironmentCategoryType extends ClusterEnvironmentCategoryDTO {
941
937
  }
942
- export type AppsGroupedByProjectsType = {
943
- projectId: number;
944
- projectName: string;
945
- appList: {
946
- name: string;
947
- }[];
948
- }[];
949
- export type EnvironmentsGroupedByClustersType = {
950
- clusterName: EnvironmentType['cluster'];
951
- envList: EnvironmentType[];
952
- }[];
953
- export type ClusterCostModuleConfigPayload = {
954
- enabled: true;
955
- config?: Record<string, any> & {
956
- detectedProvider: ClusterProviderType;
957
- };
958
- } | {
959
- enabled: false;
960
- config?: never;
961
- };
962
- interface ClusterCostModuleDetailsDTO extends Pick<ClusterCostModuleConfigPayload, 'enabled' | 'config'> {
963
- installationStatus: 'Success' | 'Installing' | 'Upgrading' | 'NotInstalled' | 'Failed';
964
- installationError?: string;
965
- }
966
- export interface ClusterDetailDTO {
967
- category: ClusterEnvironmentCategoryType;
968
- cluster_name: string;
969
- description: string;
970
- id: number;
971
- insecureSkipTlsVerify: boolean;
972
- installationId: number;
973
- isProd: boolean;
974
- isVirtualCluster: boolean;
975
- server_url: string;
976
- sshTunnelConfig: any;
977
- prometheus_url: string;
978
- proxyUrl: string;
979
- toConnectWithSSHTunnel: boolean;
980
- clusterStatus: ClusterStatusType;
981
- costModuleConfig: ClusterCostModuleDetailsDTO;
982
- }
983
- export interface ClusterDetailListType extends Omit<ClusterDetailDTO, 'server_url' | 'cluster_name' | 'prometheus_url' | 'id' | 'category' | 'clusterStatus'> {
984
- serverUrl: ClusterDetailDTO['server_url'];
985
- clusterName: ClusterDetailDTO['cluster_name'];
986
- prometheusUrl: ClusterDetailDTO['prometheus_url'];
987
- clusterId: ClusterDetailDTO['id'];
988
- category: SelectPickerOptionType;
989
- status: ClusterStatusType;
990
- }
991
- export declare enum InfrastructureManagementAppListType {
992
- HELM = "helm",
993
- ARGO_CD = "argocd",
994
- FLUX_CD = "fluxcd"
995
- }
996
938
  export {};
@@ -2,7 +2,6 @@ export * from './AddCDButton';
2
2
  export * from './API';
3
3
  export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
4
4
  export { default as BreadcrumbStore, BreadcrumbText } from './BreadCrumb/BreadcrumbStore';
5
- export { NestedBreadCrumb } from './BreadCrumb/NestedBreadCrumb';
6
5
  export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
7
6
  export * from './Checkbox';
8
7
  export * from './CIPipeline.Types';
@@ -1,3 +1,3 @@
1
1
  import { BuildInfraDescriptorProps } from './types';
2
- declare const Descriptor: ({ additionalContainerClasses, children, tooltipNode, tippyInfoText, tippyAdditionalContent, tooltipHeading, profileName, }: BuildInfraDescriptorProps) => JSX.Element;
2
+ declare const Descriptor: ({ additionalContainerClasses, breadCrumbs, children, tippyInfoText, tippyAdditionalContent, tooltipNode, tooltipHeading, }: BuildInfraDescriptorProps) => JSX.Element;
3
3
  export default Descriptor;
@@ -1,3 +1,4 @@
1
+ import { UseBreadcrumbProps } from '../../../Common/BreadCrumb/Types';
1
2
  import { CMSecretComponentType } from '../../../Shared/Services';
2
3
  import { BuildInfraAPIVersionType, BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraInheritActionsOnSubValues, BuildInfraLocators, BuildInfraMetaConfigTypes, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, HandleProfileInputChangeType, InfraConfigWithSubValues, ProfileInputErrorType, RequestLimitConfigType, TargetPlatformErrorFields, ValidateRequestLimitType } from './types';
3
4
  export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
@@ -36,6 +37,7 @@ export declare const BUILD_INFRA_TEXT: {
36
37
  };
37
38
  readonly INVALID_FORM_MESSAGE: "Valid input is required for all mandatory fields.";
38
39
  };
40
+ export declare const BUILD_INFRA_BREADCRUMB: UseBreadcrumbProps;
39
41
  export declare const BUILD_INFRA_LOCATOR_MARKER_MAP: Readonly<Record<BuildInfraLocators, BuildInfraFormFieldType['marker']>>;
40
42
  export declare const BUILD_INFRA_LOCATOR_LABEL_MAP: Readonly<Record<BuildInfraLocators, string>>;
41
43
  export declare const BUILD_INFRA_FORM_FIELDS: Readonly<BuildInfraFormFieldType[]>;
@@ -1,6 +1,7 @@
1
1
  import { FormEvent, FunctionComponent, ReactNode, SyntheticEvent } from 'react';
2
2
  import { BUILD_INFRA_INHERIT_ACTIONS, useBuildInfraForm } from '../../index';
3
3
  import { ServerErrors } from '../../../Common';
4
+ import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
4
5
  import { CMSecretComponentType, CMSecretConfigData, CMSecretPayloadType, ConfigMapSecretUseFormProps, getUniqueId, useForm, ValidationResponseType } from '../../../Shared';
5
6
  /**
6
7
  * Unique actions that will be dispatched and,
@@ -42,28 +43,21 @@ export declare enum BuildInfraProfileVariants {
42
43
  NORMAL = "NORMAL",
43
44
  CUSTOM = "CUSTOM"
44
45
  }
45
- export type BuildInfraDescriptorProps = {
46
+ export interface BuildInfraDescriptorProps {
46
47
  /**
47
48
  * In case we want to restrict the max-width
48
49
  */
49
50
  additionalContainerClasses?: string;
51
+ breadCrumbs: Breadcrumb[];
50
52
  /**
51
53
  * Would stick at right of div
52
54
  */
53
55
  children?: ReactNode;
54
- } & ({
55
- tooltipNode: ReactNode;
56
- tippyInfoText?: never;
57
- tooltipHeading?: never;
58
- tippyAdditionalContent?: never;
59
- profileName?: never;
60
- } | {
61
- tooltipNode?: never;
62
- tippyInfoText: string;
63
- tooltipHeading?: string;
56
+ tippyInfoText?: string;
64
57
  tippyAdditionalContent?: ReactNode;
65
- profileName?: string;
66
- });
58
+ tooltipNode?: ReactNode;
59
+ tooltipHeading?: string;
60
+ }
67
61
  export type NumericBuildInfraConfigTypes = Extract<BuildInfraConfigTypes, BuildInfraConfigTypes.BUILD_TIMEOUT | BuildInfraConfigTypes.CPU_LIMIT | BuildInfraConfigTypes.CPU_REQUEST | BuildInfraConfigTypes.MEMORY_LIMIT | BuildInfraConfigTypes.MEMORY_REQUEST>;
68
62
  export interface BuildInfraActionType {
69
63
  /**
@@ -1 +1 @@
1
- export { default as VirtualClusterSidebar } from './VirtualClusterSidebar';
1
+ export type { NewClusterFormFooterProps, NewClusterFormProps } from './types';
@@ -0,0 +1,8 @@
1
+ export interface NewClusterFormFooterProps {
2
+ apiCallInProgress: boolean;
3
+ handleModalClose: () => void;
4
+ closeButtonText?: string;
5
+ }
6
+ export interface NewClusterFormProps extends Pick<NewClusterFormFooterProps, 'handleModalClose'> {
7
+ FooterComponent: React.FunctionComponent<NewClusterFormFooterProps> & Record<'CTA' | 'Start', React.FunctionComponent<{}>>;
8
+ }
@@ -1,5 +1,4 @@
1
- import { RefObject } from 'react';
2
- import { FiltersTypeEnum, TableViewWrapperProps } from '../../Shared/Components';
1
+ import { ReactNode, RefObject } from 'react';
3
2
  import { Nodes, NodeType } from '../../Shared/types';
4
3
  export interface GVKType {
5
4
  Group: string;
@@ -137,7 +136,8 @@ export interface GVKOptionValueType {
137
136
  kind: string;
138
137
  apiVersion: string;
139
138
  }
140
- export interface ResourceRecommenderActionMenuProps extends Pick<TableViewWrapperProps<K8sResourceDetailDataType, FiltersTypeEnum.URL>, 'filteredRows'> {
139
+ export interface ResourceRecommenderActionMenuProps {
140
+ children: ReactNode;
141
141
  lastScannedOn: string;
142
142
  }
143
143
  export {};
@@ -53,13 +53,13 @@ export declare const NODE_DRAIN_OPTIONS_CHECKBOX_CONFIG: {
53
53
  export declare const GVK_FILTER_KIND_QUERY_PARAM_KEY = "gvkFilterKind";
54
54
  export declare const GVK_FILTER_API_VERSION_QUERY_PARAM_KEY = "gvkFilterApiVersion";
55
55
  export declare const RESOURCE_BROWSER_ROUTES: {
56
- readonly OVERVIEW: "/infrastructure-management/resource-browser/:clusterId/overview";
57
- readonly MONITORING_DASHBOARD: "/infrastructure-management/resource-browser/:clusterId/monitoring-dashboard";
58
- readonly TERMINAL: "/infrastructure-management/resource-browser/:clusterId/terminal";
59
- readonly CLUSTER_UPGRADE: "/infrastructure-management/resource-browser/:clusterId/cluster-upgrade";
60
- readonly NODE_DETAIL: "/infrastructure-management/resource-browser/:clusterId/node/detail/:name";
61
- readonly K8S_RESOURCE_DETAIL: "/infrastructure-management/resource-browser/:clusterId/:namespace/:kind/:group/:name";
62
- readonly K8S_RESOURCE_LIST: "/infrastructure-management/resource-browser/:clusterId/:kind/:group";
63
- readonly RESOURCE_RECOMMENDER: "/infrastructure-management/resource-browser/:clusterId/resource-recommender";
56
+ readonly OVERVIEW: "/resource-browser/:clusterId/overview";
57
+ readonly MONITORING_DASHBOARD: "/resource-browser/:clusterId/monitoring-dashboard";
58
+ readonly TERMINAL: "/resource-browser/:clusterId/terminal";
59
+ readonly CLUSTER_UPGRADE: "/resource-browser/:clusterId/cluster-upgrade";
60
+ readonly NODE_DETAIL: "/resource-browser/:clusterId/node/detail/:name";
61
+ readonly K8S_RESOURCE_DETAIL: "/resource-browser/:clusterId/:namespace/:kind/:group/:name";
62
+ readonly K8S_RESOURCE_LIST: "/resource-browser/:clusterId/:kind/:group";
63
+ readonly RESOURCE_RECOMMENDER: "/resource-browser/:clusterId/resource-recommender";
64
64
  };
65
65
  export declare const K8S_EMPTY_GROUP = "k8sEmptyGroup";
@@ -5,8 +5,7 @@ import { NodeActionRequest } from './ResourceBrowser.Types';
5
5
  export declare enum ClusterFiltersType {
6
6
  ALL_CLUSTERS = "all",
7
7
  HEALTHY = "healthy",
8
- UNHEALTHY = "unhealthy",
9
- CONNECTION_FAILED = "connectionFailed"
8
+ UNHEALTHY = "unhealthy"
10
9
  }
11
10
  export declare enum InstallationClusterStatus {
12
11
  Creating = "Creating",
@@ -129,6 +128,7 @@ export declare enum ResourceBrowserActionMenuEnum {
129
128
  logs = "logs",
130
129
  terminal = "terminal",
131
130
  delete = "delete",
132
- vulnerability = "vulnerability"
131
+ vulnerability = "vulnerability",
132
+ restart = "restart"
133
133
  }
134
134
  export {};
@@ -37,9 +37,6 @@ export type ActionMenuItemType<T extends string | number = string | number> = Om
37
37
  startIcon?: ActionMenuItemIconType;
38
38
  /** Defines the item to be displayed at the end of the menu item. */
39
39
  trailingItem?: TrailingItemType;
40
- /** Prevents the menu from closing when the item is clicked. */
41
- doNotCloseMenuOnClick?: boolean;
42
- dataAttributesId?: number;
43
40
  } & ConditionalActionMenuComponentType;
44
41
  export type ActionMenuOptionType<T extends string | number> = {
45
42
  /**
@@ -64,7 +64,7 @@ export declare const useActionMenu: <T extends string | number>({ id, position,
64
64
  itemRef?: string;
65
65
  results?: number;
66
66
  unselectable?: "on" | "off";
67
- inputMode?: "search" | "text" | "none" | "url" | "decimal" | "tel" | "email" | "numeric";
67
+ inputMode?: "search" | "text" | "none" | "url" | "tel" | "email" | "numeric" | "decimal";
68
68
  "aria-activedescendant"?: string;
69
69
  "aria-atomic"?: boolean | "true" | "false";
70
70
  "aria-autocomplete"?: "none" | "list" | "inline" | "both";
@@ -1,3 +1,3 @@
1
1
  import { BackdropProps } from './types';
2
- declare const Backdrop: ({ children, onEscape, onClick, hasClearBackground, onBackdropMount, deactivateFocusOnEscape, initialFocus, returnFocusOnDeactivate, }: BackdropProps) => import('react').ReactPortal;
2
+ declare const Backdrop: ({ children, onEscape, onClick, hasClearBackground, onBackdropMount, deactivateFocusOnEscape, initialFocus, }: BackdropProps) => import('react').ReactPortal;
3
3
  export default Backdrop;
@@ -1,6 +1,6 @@
1
1
  import { MouseEvent, ReactNode } from 'react';
2
2
  import { DTFocusTrapType } from '../DTFocusTrap';
3
- export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus' | 'onEscape' | 'returnFocusOnDeactivate'> {
3
+ export interface BackdropProps extends Pick<DTFocusTrapType, 'deactivateFocusOnEscape' | 'initialFocus' | 'onEscape'> {
4
4
  /**
5
5
  * The content to be rendered within the backdrop component.
6
6
  */
@@ -1,8 +1,7 @@
1
- import { IconBaseColorType, IconBaseSizeType } from '../../types';
1
+ import { IconBaseColorType } from '../../types';
2
2
  import { BadgeProps } from './types';
3
3
  export declare const getClassNameAccToVariant: (variant: BadgeProps["variant"]) => {
4
4
  styles: string;
5
5
  iconColor: IconBaseColorType;
6
6
  };
7
7
  export declare const getClassNameAccToSize: (size: BadgeProps["size"]) => "fs-11 lh-16 px-4 py-1" | "fs-12 lh-16 px-6 py-2" | "fs-13 lh-20 px-6 py-2";
8
- export declare const COMPONENT_SIZE_TO_ICON_SIZE_MAP: Record<BadgeProps['size'], IconBaseSizeType>;
@@ -4,5 +4,5 @@ export declare const useFocusTrapControl: () => {
4
4
  disableFocusTrap: typeof noop;
5
5
  resumeFocusTrap: typeof noop;
6
6
  };
7
- declare const DTFocusTrap: ({ onEscape, deactivateFocusOnEscape, children, initialFocus, returnFocusOnDeactivate, }: DTFocusTrapType) => JSX.Element;
7
+ declare const DTFocusTrap: ({ onEscape, deactivateFocusOnEscape, children, initialFocus, }: DTFocusTrapType) => JSX.Element;
8
8
  export default DTFocusTrap;
@@ -1,5 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
- import { Props as FocusTrapProps } from 'focus-trap-react';
3
2
  type FocusTargetValue = HTMLElement | SVGElement | string;
4
3
  type FocusTargetValueOrFalse = FocusTargetValue | false;
5
4
  /**
@@ -8,7 +7,7 @@ type FocusTargetValueOrFalse = FocusTargetValue | false;
8
7
  * an opt-out, or a function that returns a DOM node or `false`.
9
8
  */
10
9
  type FocusTargetOrFalse = FocusTargetValueOrFalse | (() => FocusTargetValueOrFalse);
11
- export interface DTFocusTrapType extends Pick<FocusTrapProps['focusTrapOptions'], 'returnFocusOnDeactivate'> {
10
+ export interface DTFocusTrapType {
12
11
  /**
13
12
  * Callback function that gets triggered when the Escape key is pressed. \
14
13
  * Should be wrapped in useCallback to prevent unnecessary re-renders.
@@ -90,13 +90,9 @@ export declare const DOCUMENTATION: {
90
90
  readonly GLOBAL_CONFIG_SSO_LOGIN_MICROSOFT: "global-configurations/authorization/sso-login/microsoft";
91
91
  readonly GLOBAL_CONFIG_PULL_IMAGE_DIGEST: "global-configurations/pull-image-digest";
92
92
  readonly GLOBAL_CONFIG_TAGS: "getting-started/global-configurations/tags-policy";
93
- readonly SAMPLE_RUNBOOK_LINK: "https://docs.devtron.ai/user-guide/ai-recommendations/runbook#add-runbook-spec";
94
93
  readonly SOFTWARE_DISTRIBUTION_HUB: "usage/software-distribution-hub";
95
94
  readonly RELEASE_TRACKS: "usage/software-distribution-hub/release-hub#creating-release-tracks-and-versions";
96
95
  readonly RELEASES: "usage/software-distribution-hub/release-hub#creating-release-tracks-and-versions";
97
- readonly RELEASE_HUB: "usage/software-distribution-hub/release-hub";
98
96
  readonly TENANTS: "usage/software-distribution-hub/tenants#adding-installation";
99
97
  readonly TENANTS_INSTALLATION: "usage/software-distribution-hub/tenants";
100
- readonly AUTOSCALER_DETECTION: "user-guide/infra-management/infrastructure-overview#troubleshooting-autoscaler-detection";
101
- readonly COST_CALCULATION: "user-guide/finops/overview-cost-visibility#how-is-the-cost-calculated";
102
98
  };