@devtron-labs/devtron-fe-common-lib 1.11.1 → 1.12.0-beta-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 (182) hide show
  1. package/dist/{@code-editor-DvXC6tWe.js → @code-editor-3U2FmTaO.js} +24134 -24035
  2. package/dist/{@common-rjsf-BzdfA2cI.js → @common-rjsf-C2CrGIz6.js} +47 -47
  3. package/dist/{@framer-motion-CRC_R7iM.js → @framer-motion-BaOj5B1h.js} +3 -3
  4. package/dist/{@react-dates-C-O0TUaC.js → @react-dates-CdRpENvm.js} +990 -989
  5. package/dist/{@react-select-CaCDGT85.js → @react-select-BLSAqXV1.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-BINLYj4Y.js → @react-virtualized-sticky-tree-BLmFnJWD.js} +1 -1
  7. package/dist/{@vendor-DBDnc0ZN.js → @vendor-SjXFleuT.js} +29396 -29399
  8. package/dist/Common/API/CoreAPI.d.ts +1 -1
  9. package/dist/Common/API/index.d.ts +1 -1
  10. package/dist/Common/CodeMirror/Extensions/index.d.ts +3 -3
  11. package/dist/Common/CodeMirror/Extensions/yamlParseLinter.d.ts +1 -1
  12. package/dist/Common/CodeMirror/index.d.ts +1 -1
  13. package/dist/Common/CodeMirror/types.d.ts +3 -3
  14. package/dist/Common/CodeMirror/utils.d.ts +1 -1
  15. package/dist/Common/Common.service.d.ts +2 -2
  16. package/dist/Common/Constants.d.ts +1 -1
  17. package/dist/Common/CustomTagSelector/index.d.ts +2 -2
  18. package/dist/Common/DeleteCINodeButton/index.d.ts +1 -1
  19. package/dist/Common/DraggableWrapper/index.d.ts +1 -1
  20. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  21. package/dist/Common/Hooks/index.d.ts +3 -3
  22. package/dist/Common/Hooks/useStateFilters/index.d.ts +1 -1
  23. package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -1
  24. package/dist/Common/RJSF/Form.d.ts +1 -1
  25. package/dist/Common/RJSF/index.d.ts +2 -2
  26. package/dist/Common/RJSF/templates/index.d.ts +1 -1
  27. package/dist/Common/SegmentedControl/types.d.ts +1 -1
  28. package/dist/Common/SortableTableHeaderCell/index.d.ts +1 -1
  29. package/dist/Common/Tooltip/index.d.ts +1 -1
  30. package/dist/Common/Tooltip/types.d.ts +1 -1
  31. package/dist/Common/index.d.ts +41 -41
  32. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/ConfigMapSecret/utils.d.ts +1 -1
  33. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/GUIView/index.d.ts +1 -1
  34. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/index.d.ts +3 -3
  35. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/DeploymentTemplate/types.d.ts +1 -1
  36. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/index.d.ts +3 -3
  37. package/dist/Pages/Applications/DevtronApps/Details/AppConfigurations/types.d.ts +1 -1
  38. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/index.d.ts +2 -2
  39. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
  40. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +3 -2
  41. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/components/index.d.ts +1 -1
  42. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/index.d.ts +2 -2
  43. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/services.d.ts +1 -1
  44. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +3 -3
  45. package/dist/Pages/GlobalConfigurations/Authorization/service.d.ts +1 -1
  46. package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +1 -1
  47. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -2
  48. package/dist/Pages/GlobalConfigurations/BuildInfra/index.d.ts +6 -6
  49. package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +1 -1
  50. package/dist/Pages/GlobalConfigurations/BuildInfra/validations.d.ts +1 -1
  51. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -0
  52. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
  53. package/dist/Pages/GlobalConfigurations/index.d.ts +3 -2
  54. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +1 -1
  55. package/dist/Pages/ResourceBrowser/index.d.ts +5 -5
  56. package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
  57. package/dist/Pages/ResourceBrowser/types.d.ts +39 -1
  58. package/dist/Pages/index.d.ts +1 -1
  59. package/dist/Shared/Components/AnimatedTimer/AnimatedTimer.component.d.ts +3 -0
  60. package/dist/Shared/Components/AnimatedTimer/constants.d.ts +5 -0
  61. package/dist/Shared/Components/AnimatedTimer/index.d.ts +1 -0
  62. package/dist/Shared/Components/AnimatedTimer/types.d.ts +15 -0
  63. package/dist/Shared/Components/BulkOperations/index.d.ts +1 -1
  64. package/dist/Shared/Components/BulkOperations/types.d.ts +2 -2
  65. package/dist/Shared/Components/BulkSelection/index.d.ts +1 -1
  66. package/dist/Shared/Components/Button/index.d.ts +1 -1
  67. package/dist/Shared/Components/Button/types.d.ts +2 -2
  68. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
  69. package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -1
  70. package/dist/Shared/Components/CICDHistory/index.d.ts +11 -11
  71. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -1
  72. package/dist/Shared/Components/CICDHistory/utils.d.ts +1 -1
  73. package/dist/Shared/Components/CMCS/index.d.ts +2 -2
  74. package/dist/Shared/Components/CMCS/types.d.ts +1 -1
  75. package/dist/Shared/Components/CMCS/validations.d.ts +1 -1
  76. package/dist/Shared/Components/CollapsibleList/CollapsibleList.types.d.ts +1 -1
  77. package/dist/Shared/Components/ConfirmationModal/index.d.ts +4 -4
  78. package/dist/Shared/Components/ConfirmationModal/utils.d.ts +1 -1
  79. package/dist/Shared/Components/CountrySelect/types.d.ts +1 -1
  80. package/dist/Shared/Components/CountrySelect/utils.d.ts +1 -1
  81. package/dist/Shared/Components/CustomInput/types.d.ts +1 -1
  82. package/dist/Shared/Components/DatePicker/index.d.ts +4 -4
  83. package/dist/Shared/Components/DatePicker/types.d.ts +2 -2
  84. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +1 -1
  85. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +1 -1
  86. package/dist/Shared/Components/DeploymentConfigDiff/index.d.ts +1 -1
  87. package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
  88. package/dist/Shared/Components/FlagImage/types.d.ts +1 -1
  89. package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +1 -1
  90. package/dist/Shared/Components/FormFieldWrapper/index.d.ts +1 -1
  91. package/dist/Shared/Components/GenericInfoCard/index.d.ts +1 -1
  92. package/dist/Shared/Components/GraphVisualizer/components/index.d.ts +1 -1
  93. package/dist/Shared/Components/GraphVisualizer/index.d.ts +1 -1
  94. package/dist/Shared/Components/Header/index.d.ts +1 -1
  95. package/dist/Shared/Components/Icon/Icon.d.ts +12 -1
  96. package/dist/Shared/Components/Icon/types.d.ts +3 -2
  97. package/dist/Shared/Components/ImageCard/index.d.ts +1 -1
  98. package/dist/Shared/Components/ImageChipCell/types.d.ts +1 -1
  99. package/dist/Shared/Components/InfoBlock/types.d.ts +1 -1
  100. package/dist/Shared/Components/InvalidYAMLTippy/index.d.ts +1 -1
  101. package/dist/Shared/Components/License/DevtronLicenseCard.d.ts +1 -1
  102. package/dist/Shared/Components/License/index.d.ts +3 -3
  103. package/dist/Shared/Components/License/types.d.ts +2 -1
  104. package/dist/Shared/Components/License/utils.d.ts +2 -1
  105. package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +3 -0
  106. package/dist/Shared/Components/LoginBanner/index.d.ts +2 -0
  107. package/dist/Shared/Components/Plugin/index.d.ts +4 -4
  108. package/dist/Shared/Components/ReactSelect/index.d.ts +1 -1
  109. package/dist/Shared/Components/RegistryIcon/index.d.ts +1 -1
  110. package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +1 -1
  111. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +1 -1
  112. package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +1 -1
  113. package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +1 -1
  114. package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +1 -1
  115. package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +1 -1
  116. package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +2 -2
  117. package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +1 -1
  118. package/dist/Shared/Components/Security/SecurityModal/index.d.ts +5 -5
  119. package/dist/Shared/Components/Security/SecurityModal/types.d.ts +2 -2
  120. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +2 -2
  121. package/dist/Shared/Components/Security/Vulnerabilities/index.d.ts +1 -1
  122. package/dist/Shared/Components/Security/index.d.ts +2 -2
  123. package/dist/Shared/Components/Security/utils.d.ts +1 -1
  124. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  125. package/dist/Shared/Components/SelectPicker/index.d.ts +1 -1
  126. package/dist/Shared/Components/SelectPicker/type.d.ts +5 -5
  127. package/dist/Shared/Components/SelectPicker/utils.d.ts +1 -1
  128. package/dist/Shared/Components/StatusComponent/index.d.ts +1 -1
  129. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
  130. package/dist/Shared/Components/Table/index.d.ts +1 -1
  131. package/dist/Shared/Components/Table/types.d.ts +2 -2
  132. package/dist/Shared/Components/TagsKeyValueTable/index.d.ts +2 -2
  133. package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +1 -1
  134. package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +1 -1
  135. package/dist/Shared/Components/index.d.ts +64 -64
  136. package/dist/Shared/Helpers.d.ts +4 -4
  137. package/dist/Shared/Hooks/UseDownload/index.d.ts +1 -1
  138. package/dist/Shared/Hooks/index.d.ts +3 -3
  139. package/dist/Shared/Hooks/useForm/useForm.d.ts +1 -1
  140. package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +1 -1
  141. package/dist/Shared/Hooks/useGetResourceKindsOptions/types.d.ts +1 -1
  142. package/dist/Shared/Hooks/useUserPreferences/index.d.ts +2 -2
  143. package/dist/Shared/Hooks/useUserPreferences/service.d.ts +1 -1
  144. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +3 -2
  145. package/dist/Shared/Hooks/useUserPreferences/utils.d.ts +1 -1
  146. package/dist/Shared/Providers/ThemeProvider/index.d.ts +1 -1
  147. package/dist/Shared/Providers/ThemeProvider/utils.d.ts +1 -1
  148. package/dist/Shared/Providers/UserEmailProvider/index.d.ts +1 -1
  149. package/dist/Shared/Providers/index.d.ts +2 -2
  150. package/dist/Shared/Providers/types.d.ts +2 -1
  151. package/dist/Shared/Services/ToastManager/constants.d.ts +1 -1
  152. package/dist/Shared/Services/ToastManager/index.d.ts +1 -1
  153. package/dist/Shared/Services/ToastManager/types.d.ts +1 -1
  154. package/dist/Shared/Services/app.service.d.ts +1 -1
  155. package/dist/Shared/Services/app.types.d.ts +2 -2
  156. package/dist/Shared/Services/index.d.ts +3 -3
  157. package/dist/Shared/Services/types.d.ts +1 -1
  158. package/dist/Shared/Store/IndexStore.d.ts +2 -2
  159. package/dist/Shared/index.d.ts +6 -6
  160. package/dist/Shared/types.d.ts +22 -3
  161. package/dist/assets/@code-editor.css +1 -1
  162. package/dist/assets/ic-amazon-eks.13404569.svg +5 -0
  163. package/dist/assets/ic-arrow-clockwise.b327e411.svg +3 -0
  164. package/dist/assets/ic-bg-cluster.9a4258b9.svg +6 -0
  165. package/dist/assets/ic-cluster.71ba9e26.svg +3 -0
  166. package/dist/assets/ic-cpu.07ca0915.svg +3 -0
  167. package/dist/assets/ic-enterprise-feat.5ee25d5b.svg +3 -0
  168. package/dist/assets/ic-enterprise-tag.209dd129.svg +43 -0
  169. package/dist/assets/ic-file-key.a67da7ec.svg +3 -0
  170. package/dist/assets/ic-help-filled.4468cdf1.svg +4 -0
  171. package/dist/assets/ic-memory.82ba7e9b.svg +3 -0
  172. package/dist/assets/ic-sliders-vertical.2db79ea4.svg +7 -0
  173. package/dist/assets/ic-terminal-fill.39b542cd.svg +3 -0
  174. package/dist/index.d.ts +1 -1
  175. package/dist/index.js +780 -775
  176. package/package.json +5 -4
  177. package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +0 -2
  178. package/dist/Shared/Components/EnterpriseTag/index.d.ts +0 -1
  179. package/dist/assets/ic-cpu.8be677ee.svg +0 -20
  180. package/dist/assets/ic-login-devtron-logo.702a1d04.svg +0 -22
  181. package/dist/assets/ic-medal.a2e911f5.svg +0 -19
  182. package/dist/assets/ic-memory.c4159f96.svg +0 -19
@@ -1,4 +1,4 @@
1
- import { APIOptions, ResponseType } from '..';
1
+ import { APIOptions, ResponseType } from '../Types';
2
2
  import { CoreAPIConstructorParamsType } from './types';
3
3
  declare class CoreAPI {
4
4
  handleLogout: () => void;
@@ -1,3 +1,3 @@
1
1
  export declare const post: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions, isMultipartRequest?: boolean) => Promise<import('..').ResponseType<T>>, put: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, patch: <T = any, K = object>(url: string, data: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, get: <T = any>(url: string, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>, trash: <T = any, K = object>(url: string, data?: K, options?: import('..').APIOptions) => Promise<import('..').ResponseType<T>>;
2
- export { getIsRequestAborted, abortPreviousRequests, handleRedirectToLicenseActivation } from './utils';
3
2
  export { default as CoreAPI } from './CoreAPI';
3
+ export { abortPreviousRequests, getIsRequestAborted, handleRedirectToLicenseActivation } from './utils';
@@ -1,5 +1,5 @@
1
- export * from './yamlParseLinter';
2
- export * from './readOnlyTooltip';
1
+ export * from './DiffMinimap';
3
2
  export * from './findAndReplace';
3
+ export * from './readOnlyTooltip';
4
4
  export * from './yamlHighlight';
5
- export * from './DiffMinimap';
5
+ export * from './yamlParseLinter';
@@ -1,3 +1,3 @@
1
- import { EditorView } from '@uiw/react-codemirror';
2
1
  import { Diagnostic } from '@codemirror/lint';
2
+ import { EditorView } from '@uiw/react-codemirror';
3
3
  export declare const yamlParseLinter: () => (view: EditorView) => Diagnostic[];
@@ -1,2 +1,2 @@
1
1
  export { default as CodeEditor } from './CodeEditor';
2
- export type { CodeEditorProps, CodeEditorHeaderProps, CodeEditorStatusBarProps } from './types';
2
+ export type { CodeEditorHeaderProps, CodeEditorProps, CodeEditorStatusBarProps } from './types';
@@ -1,11 +1,11 @@
1
1
  import { Dispatch, FunctionComponent, Key, MutableRefObject, ReactNode, SetStateAction, SVGProps } from 'react';
2
- import { JSONSchema7 } from 'json-schema';
3
- import { EditorView, Extension, ReactCodeMirrorProps } from '@uiw/react-codemirror';
4
2
  import { MergeView } from '@codemirror/merge';
5
3
  import { SearchQuery } from '@codemirror/search';
4
+ import { EditorView, Extension, ReactCodeMirrorProps } from '@uiw/react-codemirror';
5
+ import { JSONSchema7 } from 'json-schema';
6
6
  import { MODES } from '../Constants';
7
- import { Never } from '../../Shared/types';
8
7
  import { AppThemeType } from '../../Shared/Providers';
8
+ import { Never } from '../../Shared/types';
9
9
  export interface CodeEditorStatusBarProps {
10
10
  text: string;
11
11
  className?: string;
@@ -1,6 +1,6 @@
1
- import { EditorView, Extension, Transaction } from '@uiw/react-codemirror';
2
1
  import { MergeView } from '@codemirror/merge';
3
2
  import { SearchQuery } from '@codemirror/search';
3
+ import { EditorView, Extension, Transaction } from '@uiw/react-codemirror';
4
4
  import { CodeEditorProps, FindReplaceToggleButtonProps, GetCodeEditorHeightReturnType } from './types';
5
5
  export declare const parseValueToCode: (value: string, mode: string, tabSize: number) => string;
6
6
  export declare const getCodeEditorHeight: (height: CodeEditorProps["height"]) => GetCodeEditorHeightReturnType;
@@ -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 } from './Types';
3
+ import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions } from './Types';
4
4
  import { ApiResourceType } from '../Pages';
5
5
  export declare const getTeamListMin: () => Promise<TeamList>;
6
6
  export declare const SourceTypeMap: {
@@ -21,7 +21,7 @@ export declare const getDefaultConfig: () => Promise<ResponseType>;
21
21
  export declare function getEnvironmentListMinPublic(includeAllowedDeploymentTypes?: boolean): Promise<ResponseType<any>>;
22
22
  export declare function getClusterListMin(): Promise<ResponseType<any>>;
23
23
  export declare const getResourceGroupListRaw: (clusterId: string) => Promise<ResponseType<ApiResourceType>>;
24
- export declare function getNamespaceListMin(clusterIdsCsv: string): Promise<EnvironmentListHelmResponse>;
24
+ export declare function getNamespaceListMin(clusterIdsCsv: string, abortControllerRef?: APIOptions['abortControllerRef']): Promise<EnvironmentListHelmResponse>;
25
25
  export declare function getWebhookEventsForEventId(eventId: string | number): Promise<ResponseType<any>>;
26
26
  /**
27
27
  *
@@ -12,6 +12,7 @@ export declare const DOCUMENTATION: {
12
12
  BLOB_STORAGE: string;
13
13
  GLOBAL_CONFIG_BUILD_INFRA: string;
14
14
  ENTERPRISE_LICENSE: string;
15
+ KUBE_CONFIG: string;
15
16
  };
16
17
  export declare const PATTERNS: {
17
18
  STRING: RegExp;
@@ -297,7 +298,6 @@ export declare const API_STATUS_CODES: {
297
298
  EXPECTATION_FAILED: number;
298
299
  UNPROCESSABLE_ENTITY: number;
299
300
  LOCKED: number;
300
- UNPROCESSABLE_CONTENT: number;
301
301
  };
302
302
  export declare enum SERVER_MODE {
303
303
  EA_ONLY = "EA_ONLY",
@@ -1,6 +1,6 @@
1
1
  export { default as PropagateTagInfo } from './PropagateTagInfo';
2
+ export * from './ResizableTagTextArea';
2
3
  export * from './TagDetails';
3
4
  export * from './TagLabelValueSelector';
4
- export * from './ResizableTagTextArea';
5
- export * from './Types';
6
5
  export { validateTagKeyValue, validateTagValue } from './tags.utils';
6
+ export * from './Types';
@@ -1,3 +1,3 @@
1
1
  export * from './DeleteCINodeButton';
2
- export * from './utils';
3
2
  export * from './types';
3
+ export * from './utils';
@@ -1,3 +1,3 @@
1
- export { default as DraggableWrapper } from './DraggableWrapper';
2
1
  export { default as DraggableButton } from './DraggableButton';
2
+ export { default as DraggableWrapper } from './DraggableWrapper';
3
3
  export * from './types';
@@ -1,6 +1,6 @@
1
1
  import { ShortcutType } from './types';
2
2
  export declare const preprocessKeys: (keys: ShortcutType["keys"]) => {
3
- keys: ("Escape" | "Control" | "Alt" | "F" | "E" | "R" | "K" | "X" | "A" | "Home" | "End" | "." | "Space" | "Shift" | "Meta" | "Enter" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
3
+ keys: ("Alt" | "F" | "E" | "R" | "K" | "X" | "A" | "Home" | "End" | "." | "Space" | "Control" | "Shift" | "Meta" | "Escape" | "Enter" | "ArrowLeft" | "ArrowRight" | "ArrowUp" | "ArrowDown" | "PageUp" | "PageDown" | "Backspace" | "Delete")[];
4
4
  id: string;
5
5
  };
6
6
  export declare const verifyCallbackStack: (stack: ShortcutType["callbackStack"]) => void;
@@ -1,6 +1,6 @@
1
- export { useGetUserRoles } from './UseGetUserRoles';
2
1
  export { useClickOutside } from './UseClickOutside/UseClickOutside';
3
- export { useWindowSize } from './UseWindowSize/UseWindowSize';
4
- export * from './useUrlFilters';
2
+ export { useGetUserRoles } from './UseGetUserRoles';
5
3
  export * from './UseRegisterShortcut';
6
4
  export * from './useStateFilters';
5
+ export * from './useUrlFilters';
6
+ export { useWindowSize } from './UseWindowSize/UseWindowSize';
@@ -1,2 +1,2 @@
1
- export { default as useStateFilters } from './useStateFilters';
2
1
  export type { UseStateFiltersProps, UseStateFiltersReturnType } from './types';
2
+ export { default as useStateFilters } from './useStateFilters';
@@ -1,2 +1,2 @@
1
- export { default as useUrlFilters } from './useUrlFilters';
2
1
  export type { UseUrlFiltersProps, UseUrlFiltersReturnType } from './types';
2
+ export { default as useUrlFilters } from './useUrlFilters';
@@ -1,3 +1,3 @@
1
1
  import { default as RJSF } from '@rjsf/core';
2
2
  import { FormProps } from './types';
3
- export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "className" | "children" | "disabled" | "id" | "name" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "noValidate" | "tagName" | "readonly" | "schema" | "uiSchema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "action" | "enctype" | "method" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
3
+ export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "id" | "className" | "disabled" | "onChange" | "name" | "target" | "onFocus" | "onBlur" | "onSubmit" | "onError" | "autoComplete" | "action" | "method" | "tagName" | "noValidate" | "readonly" | "uiSchema" | "schema" | "formContext" | "formData" | "idPrefix" | "idSeparator" | "fields" | "templates" | "widgets" | "translateString" | "acceptcharset" | "acceptCharset" | "enctype" | "customValidate" | "extraErrors" | "extraErrorsBlockSubmit" | "noHtml5Validate" | "liveValidate" | "liveOmit" | "omitExtraData" | "showErrorList" | "transformErrors" | "focusOnFirstError" | "experimental_defaultFormStateBehavior" | "_internalFormWrapper"> & import('react').RefAttributes<RJSF<any, import('./types').RJSFFormSchema, any>>>;
@@ -1,4 +1,4 @@
1
+ export { HIDE_SUBMIT_BUTTON_UI_SCHEMA } from './constants';
1
2
  export { RJSFForm } from './Form';
2
3
  export type * from './types';
3
- export { getInferredTypeFromValueType, getRedirectionProps, getSchemaPathToUpdatePathMap, conformPathToPointers, } from './utils';
4
- export { HIDE_SUBMIT_BUTTON_UI_SCHEMA } from './constants';
4
+ export { conformPathToPointers, getInferredTypeFromValueType, getRedirectionProps, getSchemaPathToUpdatePathMap, } from './utils';
@@ -1,5 +1,5 @@
1
- export { ArrayFieldTemplate } from './ArrayFieldTemplate';
2
1
  export { ArrayFieldItemTemplate } from './ArrayFieldItemTemplate';
2
+ export { ArrayFieldTemplate } from './ArrayFieldTemplate';
3
3
  export { BaseInput as BaseInputTemplate } from './BaseInput';
4
4
  export * from './ButtonTemplates';
5
5
  export { Field as FieldTemplate } from './Field';
@@ -1,7 +1,7 @@
1
+ import { RefObject } from 'react';
1
2
  import { TooltipProps } from '../Tooltip';
2
3
  import { IconsProps, SelectPickerOptionType } from '../../Shared/Components';
3
4
  import { ComponentSizeType } from '../../Shared/constants';
4
- import { RefObject } from 'react';
5
5
  type SegmentTooltipProps = Omit<TooltipProps, 'alwaysShowTippyOnHover' | 'showOnTruncate' | 'shortcutKeyCombo' | 'placement'>;
6
6
  export type SegmentType = Pick<SelectPickerOptionType, 'value'> & {
7
7
  /**
@@ -1,3 +1,3 @@
1
1
  export { default as SortableTableHeaderCell } from './SortableTableHeaderCell';
2
- export { default as useResizableTableConfig } from './useResizableTableConfig';
3
2
  export type { SortableTableHeaderCellProps } from './types';
3
+ export { default as useResizableTableConfig } from './useResizableTableConfig';
@@ -1,3 +1,3 @@
1
- export { default as Tooltip } from './Tooltip';
2
1
  export { TOOLTIP_CONTENTS } from './constants';
2
+ export { default as Tooltip } from './Tooltip';
3
3
  export type { TooltipProps } from './types';
@@ -1,5 +1,5 @@
1
- import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
2
1
  import { TippyProps } from '@tippyjs/react';
2
+ import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
3
3
  type BaseTooltipProps = {
4
4
  /**
5
5
  * If true, show tippy on truncate
@@ -1,54 +1,54 @@
1
+ export * from './AddCDButton';
2
+ export * from './API';
3
+ export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
4
+ export { default as BreadcrumbStore, BreadcrumbText } from './BreadCrumb/BreadcrumbStore';
5
+ export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
6
+ export * from './Checkbox';
7
+ export * from './CIPipeline.Types';
8
+ export { ClipboardButton } from './ClipboardButton/ClipboardButton';
9
+ export * from './CodeEditor/types';
10
+ export * from './Common.service';
1
11
  export * from './Constants';
2
- export * from './ServerError';
3
- export * from './Types';
4
- export { default as Reload } from './Reload';
12
+ export * from './CustomTagSelector';
13
+ export { default as DebouncedSearch } from './DebouncedSearch/DebouncedSearch';
14
+ export * from './DeleteCINodeButton';
15
+ export { default as DevtronCopyright } from './DevtronCopyright';
16
+ export * from './DevtronProgressing';
17
+ export * from './Dialogs';
18
+ export * from './DraggableWrapper';
19
+ export * from './Drawer/Drawer';
20
+ export { default as GenericEmptyState } from './EmptyState/GenericEmptyState';
21
+ export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEmptyState';
5
22
  export { default as ErrorScreenManager } from './ErrorScreenManager';
6
23
  export { default as ErrorScreenNotAuthorized } from './ErrorScreenNotAuthorized';
24
+ export * from './GenericDescription';
25
+ export { default as Grid } from './Grid/Grid';
7
26
  export * from './Helper';
8
- export * from './Progressing';
9
- export * from './Drawer/Drawer';
27
+ export * from './Hooks';
28
+ export * from './ImageTags';
29
+ export * from './ImageTags.Types';
30
+ export { default as InfoColourBar } from './InfoColorBar/InfoColourbar';
31
+ export * from './Markdown';
10
32
  export * from './Modals/Modal';
11
33
  export * from './Modals/VisibleModal';
12
34
  export * from './Modals/VisibleModal2';
13
- export { BreadCrumb, useBreadcrumb } from './BreadCrumb/BreadCrumb';
14
- export { default as BreadcrumbStore, BreadcrumbText } from './BreadCrumb/BreadcrumbStore';
35
+ export * from './MultiSelectCustomization';
36
+ export * from './Pagination';
37
+ export * from './Policy.Types';
38
+ export { default as PopupMenu } from './PopupMenu';
39
+ export * from './Progressing';
15
40
  export { default as RadioGroup } from './RadioGroup';
41
+ export { default as StyledRadioGroup } from './RadioGroup/RadioGroup';
16
42
  export { default as RadioGroupItem } from './RadioGroupItem';
17
- export { default as PopupMenu } from './PopupMenu';
18
- export * from './TippyCustomized';
19
- export * from './CustomTagSelector';
20
- export * from './Dialogs';
21
- export * from './MultiSelectCustomization';
22
- export { default as InfoColourBar } from './InfoColorBar/InfoColourbar';
23
- export * from './Common.service';
24
- export * from './Checkbox';
25
- export { default as GenericEmptyState } from './EmptyState/GenericEmptyState';
26
- export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEmptyState';
43
+ export { default as Reload } from './Reload';
44
+ export * from './RJSF';
27
45
  export * from './SearchBar';
46
+ export * from './SegmentedBarChart';
47
+ export * from './SegmentedControl';
48
+ export { default as Select } from './Select/Select';
49
+ export * from './ServerError';
28
50
  export * from './SortableTableHeaderCell';
51
+ export * from './TippyCustomized';
29
52
  export { default as Toggle } from './Toggle/Toggle';
30
- export { default as StyledRadioGroup } from './RadioGroup/RadioGroup';
31
- export * from './CIPipeline.Types';
32
- export * from './Policy.Types';
33
- export * from './ImageTags';
34
- export * from './ImageTags.Types';
35
- export { default as DebouncedSearch } from './DebouncedSearch/DebouncedSearch';
36
- export { default as Grid } from './Grid/Grid';
37
- export { default as Select } from './Select/Select';
38
- export { ClipboardButton } from './ClipboardButton/ClipboardButton';
39
- export * from './Hooks';
40
- export * from './RJSF';
41
- export * from './DevtronProgressing';
42
- export { default as ChartVersionAndTypeSelector } from './ChartVersionAndTypeSelector';
43
- export * from './AddCDButton';
44
- export * from './DraggableWrapper';
45
- export * from './Pagination';
46
- export * from './Markdown';
47
- export * from './GenericDescription';
48
- export * from './SegmentedBarChart';
49
- export * from './CodeEditor/types';
50
53
  export * from './Tooltip';
51
- export * from './SegmentedControl';
52
- export * from './API';
53
- export * from './DeleteCINodeButton';
54
- export { default as DevtronCopyright } from './DevtronCopyright';
54
+ export * from './Types';
@@ -1,3 +1,3 @@
1
- import { CMSecretExternalType } from '../../../../../../Shared/index';
1
+ import { CMSecretExternalType } from '../../../../../../Shared/Services';
2
2
  export declare const hasHashiOrAWS: (externalType: CMSecretExternalType) => boolean;
3
3
  export declare const hasESO: (externalType: CMSecretExternalType) => boolean;
@@ -1,2 +1,2 @@
1
- export { ViewError as GUIViewError } from './utils';
2
1
  export type { ViewErrorType as GUIViewErrorType } from './types';
2
+ export { ViewError as GUIViewError } from './utils';
@@ -1,5 +1,5 @@
1
- export * from './types';
2
- export * from './service';
3
- export { default as DTApplicationMetricsFormField } from './DTApplicationMetricsFormField';
4
1
  export { GET_RESOLVED_DEPLOYMENT_TEMPLATE_EMPTY_RESPONSE } from './constants';
2
+ export { default as DTApplicationMetricsFormField } from './DTApplicationMetricsFormField';
5
3
  export * from './GUIView';
4
+ export * from './service';
5
+ export * from './types';
@@ -1,5 +1,5 @@
1
- import { DraftMetadataDTO, TemplateListType } from '../../../../../../Shared/Services';
2
1
  import { ServerErrors } from '../../../../../../Common/ServerError';
2
+ import { DraftMetadataDTO, TemplateListType } from '../../../../../../Shared/Services';
3
3
  import { OverrideMergeStrategyType } from '../types';
4
4
  export type DeploymentChartOptionkind = 'base' | 'env' | 'chartVersion' | 'deployment';
5
5
  export interface DeploymentChartVersionType {
@@ -1,6 +1,6 @@
1
- export * from './DeploymentTemplate';
2
- export * from './types';
1
+ export * from './ConfigMapSecret';
3
2
  export * from './constants';
3
+ export * from './DeploymentTemplate';
4
4
  export { default as OverrideStrategyTippyContent } from './OverrideStrategyTippyContent';
5
+ export * from './types';
5
6
  export { getDeploymentStageTitle } from './utils';
6
- export * from './ConfigMapSecret';
@@ -1,5 +1,5 @@
1
- import { ResourceKindType } from '../../../../../Shared/types';
2
1
  import { ReactNode, SyntheticEvent } from 'react';
2
+ import { ResourceKindType } from '../../../../../Shared/types';
3
3
  export declare enum ConfigHeaderTabType {
4
4
  VALUES = "values",
5
5
  INHERITED = "inherited",
@@ -1,5 +1,5 @@
1
- export * from './types';
1
+ export { STAGE_MAP } from './constants';
2
2
  export * from './services';
3
+ export * from './types';
3
4
  export { getAPIOptionsWithTriggerTimeout } from './utils';
4
- export { STAGE_MAP } from './constants';
5
5
  export { isImageActiveOnEnvironment } from './utils';
@@ -6,4 +6,4 @@ export declare const uploadCDPipelineFile: ({ file, appId, envId, allowedExtensi
6
6
  envId: number;
7
7
  abortControllerRef?: MutableRefObject<AbortController>;
8
8
  }) => Promise<UploadFileDTO>;
9
- export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, isRollbackTrigger, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
9
+ export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, skipIfHibernated, isRollbackTrigger, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
@@ -1,8 +1,8 @@
1
1
  import { BuildStageType, FormType } from '../../../../../Common/CIPipeline.Types';
2
2
  import { APIOptions, DeploymentAppTypes, DeploymentNodeType } from '../../../../../Common/Types';
3
- import { STAGE_MAP } from '../../../../index';
4
3
  import { DeploymentStrategy } from '../../../../../Shared/Components';
5
4
  import { EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '../../../../../Shared/types';
5
+ import { STAGE_MAP } from '../../../../index';
6
6
  interface ConfigSecretType {
7
7
  label: string;
8
8
  value: string;
@@ -100,6 +100,7 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
100
100
  ciArtifactId: number;
101
101
  appId: number;
102
102
  stageType: DeploymentNodeType;
103
+ skipIfHibernated: boolean;
103
104
  deploymentWithConfig?: string;
104
105
  wfrId?: number;
105
106
  /**
@@ -108,7 +109,7 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
108
109
  runtimeParamsPayload?: RuntimeParamsTriggerPayloadType;
109
110
  isRollbackTrigger?: boolean;
110
111
  }
111
- export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'> {
112
+ export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'>, Partial<Pick<TriggerCDNodeServiceProps, 'skipIfHibernated'>> {
112
113
  cdWorkflowType: (typeof STAGE_MAP)[keyof typeof STAGE_MAP];
113
114
  isRollbackDeployment: boolean;
114
115
  wfrIdForDeploymentWithSpecificTrigger?: number;
@@ -1,2 +1,2 @@
1
- export * from './SystemVariableIcon';
2
1
  export * from './FileConfigTippy';
2
+ export * from './SystemVariableIcon';
@@ -1,3 +1,3 @@
1
- export * from './services';
2
- export * from './constants';
3
1
  export * from './components';
2
+ export * from './constants';
3
+ export * from './services';
@@ -1,5 +1,5 @@
1
- import { UploadFileDTO, UploadFileProps } from '../../../../../Shared/types';
2
1
  import { APIOptions } from '../../../../../Common/Types';
2
+ import { UploadFileDTO, UploadFileProps } from '../../../../../Shared/types';
3
3
  export declare const uploadCIPipelineFile: ({ file, appId, ciPipelineId, envId, allowedExtensions, maxUploadSize, abortControllerRef, }: {
4
4
  appId: number;
5
5
  ciPipelineId: number;
@@ -1,6 +1,6 @@
1
1
  export * from './constants';
2
- export type { UserListFilterParams, UserRoleGroup, UserGroupDTO, UserGroupType } from './types';
3
- export { UserTypeToFetchType } from './types';
4
- export * from './shared';
5
2
  export * from './service';
3
+ export * from './shared';
4
+ export type { UserGroupDTO, UserGroupType, UserListFilterParams, UserRoleGroup } from './types';
5
+ export { UserTypeToFetchType } from './types';
6
6
  export { getUserAndApiTokenOption } from './utils';
@@ -1,3 +1,3 @@
1
- import { SelectPickerOptionType } from '../../../Shared/Components';
2
1
  import { GroupBase } from 'react-select';
2
+ import { SelectPickerOptionType } from '../../../Shared/Components';
3
3
  export declare const getUserAndApiTokenOptions: () => Promise<GroupBase<SelectPickerOptionType<string>>[]>;
@@ -1,5 +1,5 @@
1
- import { UserRoleGroupsTableProps } from './types';
2
1
  import { UserRoleGroup } from '../../../types';
2
+ import { UserRoleGroupsTableProps } from './types';
3
3
  declare const UserRoleGroupTableRow: ({ id, name, description, status, timeToLive, modifierClassName, disableStatusComponent, handleStatusUpdate, handleDelete, statusComponent: StatusComponent, showStatus, showDelete, }: UserRoleGroup & Pick<UserRoleGroupsTableProps, "disableStatusComponent" | "handleStatusUpdate" | "handleDelete" | "statusComponent" | "showStatus"> & {
4
4
  modifierClassName: string;
5
5
  showDelete: boolean;
@@ -1,6 +1,6 @@
1
1
  import { UseBreadcrumbProps } from '@Common/BreadCrumb/Types';
2
- import { CMSecretComponentType } from '../../../Shared/index';
3
- import { BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraLocators, BuildInfraMetaConfigTypes, ProfileInputErrorType, HandleProfileInputChangeType, BuildInfraAPIVersionType, TargetPlatformErrorFields, ValidateRequestLimitType, RequestLimitConfigType, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, BuildInfraInheritActionsOnSubValues, InfraConfigWithSubValues } from './types';
2
+ import { CMSecretComponentType } from '../../../Shared/Services';
3
+ import { BuildInfraAPIVersionType, BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraInheritActionsOnSubValues, BuildInfraLocators, BuildInfraMetaConfigTypes, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, HandleProfileInputChangeType, InfraConfigWithSubValues, ProfileInputErrorType, RequestLimitConfigType, TargetPlatformErrorFields, ValidateRequestLimitType } from './types';
4
4
  export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
5
5
  readonly STEP: "any";
6
6
  readonly MIN: 0;
@@ -1,12 +1,12 @@
1
- export { default as BuildInfraDescriptor } from './Descriptor';
2
- export { default as BuildInfraFooter } from './Footer';
3
1
  export { default as BuildInfraConfigForm } from './BuildInfraConfigForm';
4
- export { default as BuildInfraProfileNameField } from './BuildInfraProfileNameField';
5
2
  export { default as BuildInfraProfileDescriptionField } from './BuildInfraDescriptionField';
6
3
  export { default as BuildInfraFormAction } from './BuildInfraFormAction';
7
- export { default as useBuildInfraForm } from './UseBuildInfraForm';
4
+ export { default as BuildInfraProfileNameField } from './BuildInfraProfileNameField';
8
5
  export * from './BuildInfraUtilityContext';
6
+ export * from './constants';
7
+ export { default as BuildInfraDescriptor } from './Descriptor';
8
+ export { default as BuildInfraFooter } from './Footer';
9
9
  export * from './services';
10
- export * from './utils';
11
10
  export * from './types';
12
- export * from './constants';
11
+ export { default as useBuildInfraForm } from './UseBuildInfraForm';
12
+ export * from './utils';
@@ -1,8 +1,8 @@
1
1
  import { FormEvent, FunctionComponent, ReactNode, SyntheticEvent } from 'react';
2
2
  import { BUILD_INFRA_INHERIT_ACTIONS, useBuildInfraForm } from '../../index';
3
+ import { ServerErrors } from '../../../Common';
3
4
  import { Breadcrumb } from '../../../Common/BreadCrumb/Types';
4
5
  import { CMSecretComponentType, CMSecretConfigData, CMSecretPayloadType, ConfigMapSecretUseFormProps, getUniqueId, useForm, ValidationResponseType } from '../../../Shared';
5
- import { ServerErrors } from '../../../Common';
6
6
  /**
7
7
  * Unique actions that will be dispatched and,
8
8
  * Keeping values (cpu_limit, etc) in sync with backend
@@ -1,5 +1,5 @@
1
- import { ValidateNodeSelectorParamsType, ValidateRequestLimitResponseType, ValidateRequestLimitType } from '../../index';
2
1
  import { ValidationResponseType } from '../../../Shared/validations';
2
+ import { ValidateNodeSelectorParamsType, ValidateRequestLimitResponseType, ValidateRequestLimitType } from '../../index';
3
3
  /**
4
4
  * @description A valid platform name should not be empty and be less than 128 characters. Plus profile can not have duplicate platform names
5
5
  */
@@ -0,0 +1 @@
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,4 +1,5 @@
1
- export * from './BuildInfra';
2
1
  export * from './Authorization';
3
- export * from './ScopedVariables';
2
+ export * from './BuildInfra';
3
+ export * from './ClustersAndEnvironments';
4
4
  export * from './DeploymentCharts';
5
+ export * from './ScopedVariables';
@@ -1,5 +1,5 @@
1
- import { NodeType, Nodes } from '../../Shared/types';
2
1
  import { RefObject } from 'react';
2
+ import { Nodes, NodeType } from '../../Shared/types';
3
3
  export interface GVKType {
4
4
  Group: string;
5
5
  Version: string;
@@ -1,7 +1,7 @@
1
- export * from './ResourceBrowser.Types';
2
- export * from './Helper';
3
1
  export * from './constants';
4
- export * from './types';
5
- export * from './service';
6
- export { default as NodeDrainOptions } from './NodeDrainOptions';
7
2
  export { default as ForceDeleteOption } from './ForceDeleteOption';
3
+ export * from './Helper';
4
+ export { default as NodeDrainOptions } from './NodeDrainOptions';
5
+ export * from './ResourceBrowser.Types';
6
+ export * from './service';
7
+ export * from './types';
@@ -7,4 +7,4 @@ export declare const deleteResource: (resourceListPayload: ResourceListPayloadTy
7
7
  export declare const deleteNodeCapacity: (requestPayload: NodeActionRequest, abortControllerRef?: APIOptions["abortControllerRef"]) => Promise<ResponseType>;
8
8
  export declare const cordonNodeCapacity: (requestPayload: NodeCordonRequest, abortControllerRef?: APIOptions["abortControllerRef"]) => Promise<ResponseType>;
9
9
  export declare const drainNodeCapacity: (requestPayload: NodeActionRequest, abortControllerRef?: APIOptions["abortControllerRef"]) => Promise<ResponseType>;
10
- export declare const getClusterListRaw: () => Promise<ResponseType<ClusterDetail[]>>;
10
+ export declare const getClusterListRaw: (abortControllerRef?: APIOptions["abortControllerRef"]) => Promise<ResponseType<ClusterDetail[]>>;
@@ -1,10 +1,20 @@
1
- import { Dispatch, SetStateAction, ReactElement } from 'react';
1
+ import { Dispatch, ReactElement, SetStateAction } from 'react';
2
+ import { InstallationClusterType } from '../../Shared/types';
2
3
  import { NodeActionRequest } from './ResourceBrowser.Types';
3
4
  export declare enum ClusterFiltersType {
4
5
  ALL_CLUSTERS = "all",
5
6
  HEALTHY = "healthy",
6
7
  UNHEALTHY = "unhealthy"
7
8
  }
9
+ export declare enum InstallationClusterStatus {
10
+ Creating = "Creating",
11
+ Deleting = "Deleting",
12
+ Updating = "Updating",
13
+ Installed = "Installed",
14
+ Failed = "Failed",
15
+ Superseded = "Superseded",
16
+ Undefined = "Undefined"
17
+ }
8
18
  export declare enum ClusterStatusType {
9
19
  HEALTHY = "healthy",
10
20
  UNHEALTHY = "unhealthy",
@@ -42,6 +52,7 @@ export interface ClusterCapacityType {
42
52
  nodeErrors: Record<string, string>[];
43
53
  status?: ClusterStatusType;
44
54
  isProd: boolean;
55
+ installationId?: number;
45
56
  }
46
57
  export interface ClusterDetail extends ClusterCapacityType {
47
58
  id: number;
@@ -70,4 +81,31 @@ export interface AdditionalConfirmationModalOptionsProps<T = unknown> {
70
81
  setOptionsData: Dispatch<SetStateAction<T>>;
71
82
  children?: ReactElement;
72
83
  }
84
+ export interface InstallationClusterStepType {
85
+ lastTransitionTime: string;
86
+ lastProbeTime: string;
87
+ message: string;
88
+ reason: string;
89
+ status: 'False' | 'True' | 'Unknown';
90
+ type: string;
91
+ }
92
+ export interface InstallationClusterConfigDTO {
93
+ installationId: number;
94
+ installationStatus: InstallationClusterStatus;
95
+ name: string;
96
+ values: string;
97
+ valuesSchema: string;
98
+ isProd: boolean;
99
+ installationType: InstallationClusterType;
100
+ conditions: InstallationClusterStepType[];
101
+ installedEntityId: number | 0;
102
+ }
103
+ export interface InstallationClusterConfigType extends Pick<InstallationClusterConfigDTO, 'installationType' | 'conditions'> {
104
+ schema: object;
105
+ values: object;
106
+ installationId: number;
107
+ name: string;
108
+ status: InstallationClusterStatus;
109
+ correspondingClusterId: number | 0;
110
+ }
73
111
  export {};