@devtron-labs/devtron-fe-common-lib 1.16.0-pre-10 → 1.16.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 (148) hide show
  1. package/dist/{@code-editor-IalENjkh.js → @code-editor-Beg2MXXu.js} +9037 -9461
  2. package/dist/{@common-rjsf-ChkYseh5.js → @common-rjsf-wzopDXwy.js} +6 -6
  3. package/dist/{@framer-motion-j6RIjEIR.js → @framer-motion-DAmKhMSi.js} +20 -20
  4. package/dist/{@moment-CGWt8tF2.js → @moment-C_WeV3Af.js} +1 -12
  5. package/dist/{@react-dates-BVyHiOGU.js → @react-dates-D5kydtW-.js} +2140 -2065
  6. package/dist/{@react-select-BQNFZu0Y.js → @react-select-Cmser7OI.js} +6 -6
  7. package/dist/{@react-virtualized-sticky-tree-CuElh0mS.js → @react-virtualized-sticky-tree-DMnFy9PE.js} +1 -1
  8. package/dist/{@vendor-DbxoIktR.js → @vendor-STJ9h0oI.js} +30333 -30600
  9. package/dist/Common/Checkbox/Checkbox.d.ts +1 -1
  10. package/dist/Common/Constants.d.ts +0 -2
  11. package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
  12. package/dist/Common/GenericDescription/types.d.ts +1 -4
  13. package/dist/Common/GenericDescription/utils.d.ts +0 -1
  14. package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +1 -1
  15. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -21
  16. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  17. package/dist/Common/Hooks/useStateFilters/types.d.ts +2 -2
  18. package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +1 -1
  19. package/dist/Common/Hooks/useUrlFilters/index.d.ts +0 -1
  20. package/dist/Common/Hooks/useUrlFilters/types.d.ts +1 -2
  21. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -1
  22. package/dist/Common/Modals/VisibleModal.d.ts +0 -1
  23. package/dist/Common/Modals/VisibleModal2.d.ts +0 -1
  24. package/dist/Common/Pagination/constants.d.ts +0 -4
  25. package/dist/Common/Pagination/index.d.ts +0 -1
  26. package/dist/Common/Tooltip/types.d.ts +1 -1
  27. package/dist/Common/Types.d.ts +2 -2
  28. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +0 -1
  29. package/dist/Pages/Applications/DevtronApps/Details/CIPipeline/constants.d.ts +0 -8
  30. package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
  31. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +2 -35
  32. package/dist/Pages/ResourceBrowser/constants.d.ts +0 -13
  33. package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
  34. package/dist/Pages/ResourceBrowser/types.d.ts +0 -17
  35. package/dist/Shared/Components/AboutDevtron/AboutDevtronBody.d.ts +3 -1
  36. package/dist/Shared/Components/AboutDevtron/AboutDevtronDialog.d.ts +2 -1
  37. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
  38. package/dist/Shared/Components/AnimatedDeployButton/AnimatedDeployButton.d.ts +1 -1
  39. package/dist/Shared/Components/AnimatedDeployButton/types.d.ts +9 -5
  40. package/dist/Shared/Components/AppStatusModal/service.d.ts +1 -1
  41. package/dist/Shared/Components/AppStatusModal/types.d.ts +1 -2
  42. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +1 -1
  43. package/dist/Shared/Components/Backdrop/index.d.ts +0 -1
  44. package/dist/Shared/Components/Backdrop/types.d.ts +2 -28
  45. package/dist/Shared/Components/BulkOperations/types.d.ts +1 -1
  46. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
  47. package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +3 -0
  48. package/dist/Shared/Components/BulkSelection/types.d.ts +9 -4
  49. package/dist/Shared/Components/Button/Button.component.d.ts +2 -376
  50. package/dist/Shared/Components/Button/types.d.ts +3 -6
  51. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +1 -1
  52. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
  53. package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
  54. package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
  55. package/dist/Shared/Components/CICDHistory/types.d.ts +1 -2
  56. package/dist/Shared/Components/CodeEditor/CodeEditor.constants.d.ts +1 -1
  57. package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +1 -2
  58. package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +2 -7
  59. package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
  60. package/dist/Shared/Components/GenericInfoCard/types.d.ts +1 -1
  61. package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -1
  62. package/dist/Shared/Components/GettingStartedCard/types.d.ts +3 -0
  63. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +1 -1
  64. package/dist/Shared/Components/Header/HelpButton.d.ts +1 -1
  65. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  66. package/dist/Shared/Components/Header/types.d.ts +3 -1
  67. package/dist/Shared/Components/Icon/Icon.d.ts +1 -18
  68. package/dist/Shared/Components/InfoBlock/constants.d.ts +1 -2
  69. package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +1 -1
  70. package/dist/Shared/Components/Popover/types.d.ts +2 -3
  71. package/dist/Shared/Components/Popover/utils.d.ts +1 -1
  72. package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +7 -7
  73. package/dist/Shared/Components/Security/SecurityModal/types.d.ts +1 -1
  74. package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +1 -1
  75. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
  76. package/dist/Shared/Components/SelectPicker/type.d.ts +2 -2
  77. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
  78. package/dist/Shared/Components/Table/BulkSelectionActionWidget.d.ts +1 -1
  79. package/dist/Shared/Components/Table/InternalTable.d.ts +1 -1
  80. package/dist/Shared/Components/Table/constants.d.ts +0 -1
  81. package/dist/Shared/Components/Table/index.d.ts +1 -1
  82. package/dist/Shared/Components/Table/types.d.ts +21 -48
  83. package/dist/Shared/Components/Table/useTableWithKeyboardShortcuts.d.ts +1 -6
  84. package/dist/Shared/Components/Table/utils.d.ts +0 -5
  85. package/dist/Shared/Components/TargetPlatforms/types.d.ts +1 -1
  86. package/dist/Shared/Components/WorkflowOptionsModal/SourceTypeCard.d.ts +1 -1
  87. package/dist/Shared/Components/WorkflowOptionsModal/WorkflowOptionsModal.d.ts +1 -1
  88. package/dist/Shared/Components/WorkflowOptionsModal/constants.d.ts +41 -75
  89. package/dist/Shared/Components/WorkflowOptionsModal/index.d.ts +0 -1
  90. package/dist/Shared/Components/WorkflowOptionsModal/types.d.ts +12 -10
  91. package/dist/Shared/Components/WorkflowOptionsModal/utils.d.ts +2 -13
  92. package/dist/Shared/Components/index.d.ts +0 -3
  93. package/dist/Shared/Helpers.d.ts +2 -3
  94. package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -2
  95. package/dist/Shared/Providers/index.d.ts +2 -0
  96. package/dist/Shared/Providers/{MainContextProvider/types.d.ts → types.d.ts} +4 -4
  97. package/dist/Shared/Services/types.d.ts +0 -1
  98. package/dist/Shared/constants.d.ts +0 -1
  99. package/dist/Shared/types.d.ts +2 -15
  100. package/dist/assets/@code-editor.css +1 -1
  101. package/dist/assets/@common-rjsf.css +1 -1
  102. package/dist/assets/change-source.abc9d12f.png +0 -0
  103. package/dist/assets/ic-check-all.0376437d.svg +21 -0
  104. package/dist/assets/ic-check-square.2a3d3fb9.svg +20 -0
  105. package/dist/assets/ic-ci-webhook.a2ab6db6.svg +42 -0
  106. package/dist/assets/{ic-minus.aac464f7.svg → ic-minus.416da21b.svg} +1 -1
  107. package/dist/assets/ic-source-build.7d776b10.svg +22 -0
  108. package/dist/assets/ic-source-job.a40f06cf.svg +26 -0
  109. package/dist/assets/ic-source-linked-build.f24ecbed.svg +24 -0
  110. package/dist/assets/ic-source-webhook.ee64a29a.svg +22 -0
  111. package/dist/assets/select-image-source.fb911f42.png +0 -0
  112. package/dist/index.d.ts +1 -6
  113. package/dist/index.js +838 -854
  114. package/package.json +7 -7
  115. package/dist/Shared/Components/Backdrop/utils.d.ts +0 -1
  116. package/dist/Shared/Components/Badge/Badge.d.ts +0 -3
  117. package/dist/Shared/Components/Badge/index.d.ts +0 -2
  118. package/dist/Shared/Components/Badge/types.d.ts +0 -18
  119. package/dist/Shared/Components/Badge/utils.d.ts +0 -7
  120. package/dist/Shared/Components/GenericModal/GenericModal.component.d.ts +0 -9
  121. package/dist/Shared/Components/GenericModal/GenericModal.context.d.ts +0 -6
  122. package/dist/Shared/Components/GenericModal/constants.d.ts +0 -2
  123. package/dist/Shared/Components/GenericModal/index.d.ts +0 -2
  124. package/dist/Shared/Components/GenericModal/types.d.ts +0 -37
  125. package/dist/Shared/Components/Security/SeverityChip.d.ts +0 -6
  126. package/dist/Shared/Components/Table/TableContent.d.ts +0 -3
  127. package/dist/Shared/Providers/MainContextProvider/index.d.ts +0 -3
  128. package/dist/assets/ic-bug.8a8dc1fc.svg +0 -3
  129. package/dist/assets/ic-check-all.fdea6b38.svg +0 -5
  130. package/dist/assets/ic-check-square.e355731d.svg +0 -4
  131. package/dist/assets/ic-clean-brush.c21cbe1e.svg +0 -3
  132. package/dist/assets/ic-container.92a4c33a.svg +0 -3
  133. package/dist/assets/ic-deploy-color.73a8df48.svg +0 -14
  134. package/dist/assets/ic-deploy-sync.6b1cf1b1.svg +0 -16
  135. package/dist/assets/ic-download.468a0cb7.svg +0 -3
  136. package/dist/assets/ic-file-code.0926d194.svg +0 -3
  137. package/dist/assets/ic-gavel.a3b064b5.svg +0 -3
  138. package/dist/assets/ic-git-branch.d6b3d950.svg +0 -3
  139. package/dist/assets/ic-info-filled-color.47953fcf.svg +0 -8
  140. package/dist/assets/ic-linked-build-color.d1df5ce1.svg +0 -7
  141. package/dist/assets/ic-logs.d310db72.svg +0 -3
  142. package/dist/assets/ic-pause-circle.f9405070.svg +0 -3
  143. package/dist/assets/ic-speedometer.3ecaae3b.svg +0 -3
  144. package/dist/assets/ic-two-cubes.056d1333.svg +0 -3
  145. package/dist/assets/ic-webhook.ffd8ded6.svg +0 -21
  146. package/dist/assets/workflow-options-modal-header.0444485e.svg +0 -38
  147. /package/dist/Shared/Providers/{MainContextProvider/MainContextProvider.d.ts → MainContextProvider.d.ts} +0 -0
  148. /package/dist/assets/{ic-container-registry.4e1e6455.svg → ic-container.4e1e6455.svg} +0 -0
@@ -1,86 +1,52 @@
1
- import { WorkflowNodeType } from '../../../Common/Types';
1
+ import { PipelineType } from '../../../Common/Types';
2
2
  import { CIPipelineNodeType } from '../../types';
3
+ export declare const WORKFLOW_OPTIONS_MODAL: {
4
+ ACTION_TEXT: string;
5
+ ACTION_NOTE: string;
6
+ CHANGE_CI_TEXT: string;
7
+ CHANGE_CI_NOTE: string;
8
+ };
9
+ export declare const WORKFLOW_OPTIONS_MODAL_TYPES: {
10
+ DEFAULT: string;
11
+ RECIEVE: string;
12
+ JOB: string;
13
+ };
3
14
  export declare const SOURCE_TYPE_CARD_VARIANTS: {
4
- BUILD: {
5
- BUILD_AND_DEPLOY_FROM_SOURCE_CODE: {
6
- title: string;
7
- subtitle: string;
8
- dataTestId: string;
9
- type: CIPipelineNodeType.CI_CD;
10
- icons: ({
11
- name: "ic-git-branch";
12
- color: "N700";
13
- } | {
14
- name: "ic-build-color";
15
- color: any;
16
- } | {
17
- name: "ic-deploy-color";
18
- color: any;
19
- })[];
20
- };
21
- BUILD_FROM_SOURCE_CODE: {
22
- title: string;
23
- subtitle: string;
24
- dataTestId: string;
25
- type: CIPipelineNodeType.CI;
26
- icons: ({
27
- name: "ic-git-branch";
28
- color: "N700";
29
- } | {
30
- name: "ic-build-color";
31
- color: any;
32
- })[];
33
- };
34
- JOB: {
35
- title: string;
36
- subtitle: string;
37
- dataTestId: string;
38
- type: CIPipelineNodeType.JOB_CI;
39
- icons: {
40
- name: "ic-job-color";
41
- color: any;
42
- }[];
43
- };
15
+ SOURCE_CODE: {
16
+ title: string;
17
+ subtitle: string;
18
+ image: string;
19
+ alt: string;
20
+ dataTestId: string;
21
+ type: CIPipelineNodeType;
22
+ };
23
+ LINKED_PIPELINE: {
24
+ title: string;
25
+ subtitle: string;
26
+ image: string;
27
+ alt: string;
28
+ dataTestId: string;
29
+ type: CIPipelineNodeType;
44
30
  };
45
- RECEIVE: {
46
- EXTERNAL_SERVICE: {
47
- title: string;
48
- subtitle: string;
49
- dataTestId: string;
50
- type: WorkflowNodeType.WEBHOOK;
51
- icons: ({
52
- name: "ic-webhook";
53
- color: any;
54
- } | {
55
- name: "ic-deploy-color";
56
- color: any;
57
- })[];
58
- };
59
- LINKED_PIPELINE: {
60
- title: string;
61
- subtitle: string;
62
- dataTestId: string;
63
- type: CIPipelineNodeType.LINKED_CI;
64
- icons: {
65
- name: "ic-linked-build-color";
66
- color: any;
67
- }[];
68
- };
31
+ EXTERNAL_SERVICE: {
32
+ title: string;
33
+ subtitle: string;
34
+ image: string;
35
+ alt: string;
36
+ dataTestId: string;
37
+ type: PipelineType;
69
38
  };
70
39
  JOB: {
71
- JOB: {
72
- title: string;
73
- subtitle: string;
74
- dataTestId: string;
75
- type: CIPipelineNodeType.JOB_CI;
76
- icons: {
77
- name: "ic-job-color";
78
- color: any;
79
- }[];
80
- };
40
+ title: string;
41
+ subtitle: string;
42
+ image: string;
43
+ alt: string;
44
+ dataTestId: string;
45
+ type: CIPipelineNodeType;
81
46
  };
82
47
  };
83
48
  export declare const NO_ENV_FOUND = "No environment found. Please create a CD Pipeline first.";
49
+ export declare const CHANGE_SAME_CI = "Cannot change to same source type";
84
50
  export declare const REQUEST_IN_PROGRESS = "Request in progress";
85
51
  export declare const TOAST_MESSAGES: {
86
52
  SUCCESS_CHANGE_TO_WEBHOOK: string;
@@ -1,2 +1 @@
1
- export type { SourceTypeCardProps } from './types';
2
1
  export { default as WorkflowOptionsModal } from './WorkflowOptionsModal';
@@ -1,19 +1,20 @@
1
- import { WorkflowNodeType } from '../../../Common/Types';
2
1
  import { ChangeCIPayloadType, CIPipelineNodeType, WorkflowType } from '../../types';
3
2
  import { AppConfigProps } from '../../../Pages/index';
4
- import { GenericModalProps } from '../GenericModal';
5
- import { IconsProps } from '../Icon';
6
- export interface SourceTypeCardProps {
3
+ interface LinkedCDSourceVariant {
7
4
  title: string;
8
5
  subtitle: string;
6
+ image: string;
7
+ alt: string;
9
8
  dataTestId: string;
10
- type: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
11
- disabled?: boolean;
9
+ type: string;
10
+ }
11
+ export interface SourceTypeCardProps extends LinkedCDSourceVariant {
12
+ handleCardAction: (e: React.MouseEvent | React.KeyboardEvent) => void;
12
13
  disableInfo: string;
13
- icons: Pick<IconsProps, 'name' | 'color'>[];
14
- onCardAction: (e: React.MouseEvent | React.KeyboardEvent) => void;
14
+ isDisabled?: boolean;
15
15
  }
16
- export interface WorkflowOptionsModalProps extends Required<Pick<AppConfigProps, 'isTemplateView'>>, Pick<GenericModalProps, 'open' | 'onClose'> {
16
+ export interface WorkflowOptionsModalProps extends Required<Pick<AppConfigProps, 'isTemplateView'>> {
17
+ handleCloseWorkflowOptionsModal: () => void;
17
18
  addCIPipeline: (type: CIPipelineNodeType, workflowId?: number | string) => void;
18
19
  addWebhookCD: (workflowId?: number | string) => void;
19
20
  addLinkedCD: (changeCIPayload?: ChangeCIPayloadType) => void;
@@ -22,6 +23,7 @@ export interface WorkflowOptionsModalProps extends Required<Pick<AppConfigProps,
22
23
  changeCIPayload?: ChangeCIPayloadType;
23
24
  workflows?: WorkflowType[];
24
25
  getWorkflows?: () => void;
25
- linkedCDSourceVariant?: Pick<SourceTypeCardProps, 'title' | 'subtitle' | 'type' | 'icons' | 'dataTestId'>;
26
+ linkedCDSourceVariant?: LinkedCDSourceVariant;
26
27
  isAppGroup?: boolean;
27
28
  }
29
+ export {};
@@ -1,6 +1,5 @@
1
- import { PipelineType, WorkflowNodeType } from '../../../Common/Types';
2
- import { ChangeCIPayloadType, CIPipelineNodeType } from '../../types';
3
- import { SourceTypeCardProps, WorkflowOptionsModalProps } from './types';
1
+ import { PipelineType } from '../../../Common/Types';
2
+ import { ChangeCIPayloadType } from '../../types';
4
3
  export declare const getSwitchToWebhookPayload: (changeCIPayload: ChangeCIPayloadType) => {
5
4
  appId: number;
6
5
  pipelines: {
@@ -13,13 +12,3 @@ export declare const getSwitchToWebhookPayload: (changeCIPayload: ChangeCIPayloa
13
12
  switchFromCiPipelineId: number;
14
13
  }[];
15
14
  };
16
- export declare const getCurrentPipelineType: ({ workflows, changeCIPayload, }: Required<Pick<WorkflowOptionsModalProps, "workflows" | "changeCIPayload">>) => SourceTypeCardProps["type"];
17
- export declare const getBuildWorkflowCardsConfig: ({ currentPipelineType, changeCIPayload, isAppGroup, }: {
18
- currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
19
- } & Required<Pick<WorkflowOptionsModalProps, "changeCIPayload" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "dataTestId" | "disabled" | "type" | "subtitle" | "icons">[];
20
- export declare const getReceiveWorkflowCardsConfig: ({ currentPipelineType, linkedCDSourceVariant, isAppGroup, }: {
21
- currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
22
- } & Required<Pick<WorkflowOptionsModalProps, "linkedCDSourceVariant" | "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "dataTestId" | "disabled" | "type" | "subtitle" | "icons">[];
23
- export declare const getJobWorkflowCardsConfig: ({ currentPipelineType, isAppGroup, }: {
24
- currentPipelineType: CIPipelineNodeType | WorkflowNodeType.WEBHOOK;
25
- } & Required<Pick<WorkflowOptionsModalProps, "isAppGroup">>) => Pick<SourceTypeCardProps, "title" | "dataTestId" | "disabled" | "type" | "subtitle" | "icons">[];
@@ -7,7 +7,6 @@ export * from './APIResponseHandler';
7
7
  export * from './AppStatusModal';
8
8
  export * from './ArtifactInfoModal';
9
9
  export * from './Backdrop';
10
- export * from './Badge';
11
10
  export * from './BulkOperations';
12
11
  export * from './BulkSelection';
13
12
  export * from './Button';
@@ -41,7 +40,6 @@ export * from './FlagImage';
41
40
  export * from './FloatingVariablesSuggestions';
42
41
  export * from './FramerComponents';
43
42
  export * from './GenericInfoCard';
44
- export * from './GenericModal';
45
43
  export * from './GenericSectionErrorState';
46
44
  export * from './GitCommitInfoGeneric';
47
45
  export * from './GitProviderIcon';
@@ -65,7 +63,6 @@ export * from './ModalSidebarPanel';
65
63
  export * from './NumbersCount';
66
64
  export * from './PhoneInput';
67
65
  export * from './Plugin';
68
- export * from './Popover';
69
66
  export * from './ProgressBar';
70
67
  export { default as QRCode } from './QRCode';
71
68
  export * from './ReactSelect';
@@ -2,10 +2,10 @@ import { ReactElement } from 'react';
2
2
  import { PromptProps } from 'react-router-dom';
3
3
  import { StrictRJSFSchema } from '@rjsf/utils';
4
4
  import { Pair } from 'yaml';
5
- import { MaterialHistoryType } from './Services/app.types';
5
+ import { MaterialHistoryType } from '@Shared/Services/app.types';
6
6
  import { ApprovalConfigDataType, MaterialInfo, SortingOrder, UserApprovalConfigType, UserApprovalInfo } from '../Common';
7
7
  import { AggregatedNodes, PodMetadatum } from './Components';
8
- import { BorderConfigType, GetTimeDifferenceParamsType, GitTriggers, IntersectionChangeHandler, IntersectionOptions, Node, PreventOutsideFocusProps, TargetPlatformItemDTO, TargetPlatformsDTO, WebhookEventNameType } from './types';
8
+ import { BorderConfigType, GetTimeDifferenceParamsType, GitTriggers, IntersectionChangeHandler, IntersectionOptions, PreventOutsideFocusProps, TargetPlatformItemDTO, TargetPlatformsDTO, WebhookEventNameType } from './types';
9
9
  interface HighlightSearchTextProps {
10
10
  /**
11
11
  * The text to be highlighted
@@ -102,5 +102,4 @@ export declare const getClassNameForStickyHeaderWithShadow: (isStuck: boolean, t
102
102
  export declare const clearCookieOnLogout: () => void;
103
103
  export declare const getAppDetailsURL: (appId: number | string, envId?: number | string) => string;
104
104
  export declare const smoothScrollToTop: (scrollContainer: HTMLElement, targetPosition: number) => import('framer-motion').AnimationPlaybackControls;
105
- export declare const getGroupVersionFromApiVersion: (apiVersion: string) => Pick<Node, "group" | "version">;
106
105
  export {};
@@ -1,5 +1,5 @@
1
- import { USER_PREFERENCES_ATTRIBUTE_KEY } from './constants';
2
- import { AppThemeType, ThemeConfigType, ThemePreferenceType } from '../../Providers/ThemeProvider/types';
1
+ import { USER_PREFERENCES_ATTRIBUTE_KEY } from '@Shared/Hooks/useUserPreferences/constants';
2
+ import { AppThemeType, ThemeConfigType, ThemePreferenceType } from '@Shared/Providers/ThemeProvider/types';
3
3
  import { BaseAppMetaData } from '../../Services';
4
4
  import { ResourceKindType } from '../../types';
5
5
  export interface GetUserPreferencesQueryParamsType {
@@ -1,4 +1,6 @@
1
1
  export * from './ImageSelectionUtility';
2
2
  export * from './MainContextProvider';
3
3
  export * from './ThemeProvider';
4
+ export type { MainContext, ReloadVersionConfigTypes, SidePanelConfig } from './types';
5
+ export { SidePanelTab } from './types';
4
6
  export * from './UserEmailProvider';
@@ -1,7 +1,7 @@
1
1
  import { Dispatch, MutableRefObject, ReactNode, SetStateAction } from 'react';
2
- import { SERVER_MODE } from '../../../Common';
3
- import { DevtronLicenseInfo, EnvironmentDataValuesDTO, IntelligenceConfig, LicenseInfoDialogType, ToastManager } from '../..';
4
- import { ServerInfo } from '../../Components/Header/types';
2
+ import { SERVER_MODE } from '../../Common';
3
+ import { ServerInfo } from '../Components/Header/types';
4
+ import { DevtronLicenseInfo, IntelligenceConfig, LicenseInfoDialogType, ToastManager } from '..';
5
5
  export interface ReloadVersionConfigTypes {
6
6
  bgUpdated: boolean;
7
7
  handleAppUpdate: () => void;
@@ -66,7 +66,7 @@ type CommonMainContextProps = {
66
66
  setIntelligenceConfig: Dispatch<SetStateAction<IntelligenceConfig>>;
67
67
  setAIAgentContext: (aiAgentContext: AIAgentContextType) => void;
68
68
  setSidePanelConfig: Dispatch<SetStateAction<SidePanelConfig>>;
69
- } & Pick<EnvironmentDataValuesDTO, 'isResourceRecommendationEnabled'>;
69
+ };
70
70
  export type MainContext = CommonMainContextProps & ({
71
71
  isLicenseDashboard?: never;
72
72
  serverMode: SERVER_MODE;
@@ -38,6 +38,5 @@ export interface EnvironmentDataValuesDTO extends Pick<MainContext, 'featureGitO
38
38
  isManifestScanningEnabled: boolean;
39
39
  canOnlyViewPermittedEnvOrgLevel: boolean;
40
40
  devtronManagedLicensingEnabled: boolean;
41
- isResourceRecommendationEnabled?: boolean;
42
41
  }
43
42
  export {};
@@ -356,7 +356,6 @@ export declare const ANSI_UP_REGEX: RegExp;
356
356
  */
357
357
  export declare enum ComponentSizeType {
358
358
  xxs_small_icon = "xxs-small-icon",
359
- xxxs = "xxxs",
360
359
  xxs = "xxs",
361
360
  xs = "xs",
362
361
  small = "small",
@@ -97,8 +97,7 @@ export declare enum Nodes {
97
97
  Node = "Node",
98
98
  Overview = "Overview",
99
99
  MonitoringDashboard = "MonitoringDashboard",
100
- UpgradeCluster = "UpgradeCluster",
101
- ResourceRecommender = "ResourceRecommender"
100
+ UpgradeCluster = "UpgradeCluster"
102
101
  }
103
102
  export type NodeType = keyof typeof Nodes;
104
103
  export interface Node {
@@ -761,15 +760,6 @@ interface CommonTabArgsType {
761
760
  * @default false
762
761
  */
763
762
  shouldRemainMounted?: boolean;
764
- /**
765
- * @default false
766
- * If true, tab would contain alpha as badge next to the title
767
- */
768
- isAlpha?: boolean;
769
- /**
770
- * On tab stop, i.e by pressing cross icon on alive tab [fixed tab expanding on click of tab and remains expanded on other tab click], tab will reset the tab to this default URL if provided
771
- */
772
- defaultUrl?: string | null;
773
763
  }
774
764
  export type InitTabType = Omit<CommonTabArgsType, 'type'> & ({
775
765
  type: 'fixed';
@@ -886,8 +876,7 @@ export declare enum CIPipelineNodeType {
886
876
  CI = "CI",
887
877
  LINKED_CI = "LINKED-CI",
888
878
  JOB_CI = "JOB-CI",
889
- LINKED_CD = "LINKED_CD",
890
- CI_CD = "CI_CD"
879
+ LINKED_CD = "LINKED_CD"
891
880
  }
892
881
  export interface ChangeCIPayloadType {
893
882
  appWorkflowId: number;
@@ -1054,7 +1043,6 @@ export interface DeploymentStatusDetailsType {
1054
1043
  timelines: DeploymentStatusDetailsTimelineType[];
1055
1044
  wfrStatus?: WorkflowRunnerStatusDTO;
1056
1045
  isDeploymentWithoutApproval: boolean;
1057
- deploymentAppType: DeploymentAppTypes;
1058
1046
  }
1059
1047
  export type DeploymentStatusTimelineType = TIMELINE_STATUS.DEPLOYMENT_INITIATED | TIMELINE_STATUS.GIT_COMMIT | TIMELINE_STATUS.ARGOCD_SYNC | TIMELINE_STATUS.KUBECTL_APPLY | TIMELINE_STATUS.APP_HEALTH | TIMELINE_STATUS.HELM_PACKAGE_GENERATED | TIMELINE_STATUS.HELM_MANIFEST_PUSHED_TO_HELM_REPO;
1060
1048
  export type DeploymentStatusBreakdownItemIconType = 'success' | 'failed' | 'unknown' | 'inprogress' | 'unreachable' | 'loading' | 'disconnect' | 'timed_out' | '';
@@ -1099,7 +1087,6 @@ export interface DeploymentStatusDetailsBreakdownDataType {
1099
1087
  deploymentErrorMessage: string;
1100
1088
  nextTimelineToProcess: DeploymentStatusTimelineType;
1101
1089
  } | null;
1102
- deploymentAppType: DeploymentAppTypes;
1103
1090
  }
1104
1091
  export interface IntelligenceConfig {
1105
1092
  clusterId: number;