@devtron-labs/devtron-fe-common-lib 1.13.0-beta-8 → 1.13.0-beta-9

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 (187) hide show
  1. package/dist/{@code-editor-DfxVL5Vn.js → @common-rjsf-CFz7q72H.js} +14106 -14719
  2. package/dist/{@framer-motion-DyOLEeMN.js → @framer-motion-CR14HVwJ.js} +1 -1
  3. package/dist/{@react-dates-B7d8RWU9.js → @react-dates-z_WnuIha.js} +14 -14
  4. package/dist/{@react-select-Coo19Q6a.js → @react-select-C1KOG39W.js} +1 -1
  5. package/dist/{@react-virtualized-sticky-tree-BPjPJDIR.js → @react-virtualized-sticky-tree-DE3LznCK.js} +1 -1
  6. package/dist/{@vendor-D9q4wrnL.js → @vendor-0Z6AwxJy.js} +13157 -13167
  7. package/dist/Common/Checkbox.d.ts +5 -0
  8. package/dist/Common/Common.service.d.ts +2 -2
  9. package/dist/Common/Constants.d.ts +2 -2
  10. package/dist/Common/Helper.d.ts +1 -5
  11. package/dist/Common/RJSF/Form.d.ts +1 -1
  12. package/dist/Common/Toggle/Toggle.d.ts +1 -4
  13. package/dist/Common/Types.d.ts +3 -4
  14. package/dist/Common/index.d.ts +3 -2
  15. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/services.d.ts +1 -1
  16. package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +2 -1
  17. package/dist/Pages/GlobalConfigurations/index.d.ts +0 -1
  18. package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
  19. package/dist/Pages/ResourceBrowser/types.d.ts +0 -38
  20. package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +2 -1
  21. package/dist/Shared/Components/ActionMenu/ActionMenuOption.d.ts +3 -0
  22. package/dist/Shared/Components/ActionMenu/index.d.ts +2 -2
  23. package/dist/Shared/Components/ActionMenu/types.d.ts +11 -88
  24. package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +6 -0
  25. package/dist/Shared/Components/AnnouncementBanner/index.d.ts +1 -0
  26. package/dist/Shared/Components/Button/types.d.ts +1 -3
  27. package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +3 -0
  28. package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
  29. package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
  30. package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +2 -0
  31. package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
  32. package/dist/Shared/Components/CICDHistory/constants.d.ts +0 -1
  33. package/dist/Shared/Components/CICDHistory/index.d.ts +1 -0
  34. package/dist/Shared/Components/CICDHistory/service.d.ts +0 -3
  35. package/dist/Shared/Components/CICDHistory/types.d.ts +77 -12
  36. package/dist/Shared/Components/CICDHistory/utils.d.ts +3 -7
  37. package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +2 -0
  38. package/dist/Shared/Components/EnterpriseTag/index.d.ts +1 -0
  39. package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
  40. package/dist/Shared/Components/Error/types.d.ts +0 -4
  41. package/dist/Shared/Components/Error/utils.d.ts +0 -1
  42. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
  43. package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +3 -1
  44. package/dist/Shared/Components/Header/HelpNav.d.ts +3 -0
  45. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  46. package/dist/Shared/Components/Header/constants.d.ts +4 -5
  47. package/dist/Shared/Components/Header/types.d.ts +10 -15
  48. package/dist/Shared/Components/Header/utils.d.ts +1 -5
  49. package/dist/Shared/Components/Icon/Icon.d.ts +17 -35
  50. package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
  51. package/dist/Shared/Components/Icon/types.d.ts +8 -30
  52. package/dist/Shared/Components/InfoBlock/constants.d.ts +2 -2
  53. package/dist/Shared/Components/InfoBlock/types.d.ts +2 -2
  54. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  55. package/dist/Shared/Components/License/index.d.ts +1 -1
  56. package/dist/Shared/Components/License/utils.d.ts +1 -2
  57. package/dist/Shared/Components/LoadingCard.d.ts +5 -0
  58. package/dist/Shared/Components/LoginBanner/index.d.ts +0 -2
  59. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  60. package/dist/Shared/Components/SelectPicker/common.d.ts +0 -2
  61. package/dist/Shared/Components/SelectPicker/index.d.ts +0 -1
  62. package/dist/Shared/Components/SelectPicker/type.d.ts +0 -4
  63. package/dist/Shared/Components/StatusComponent/types.d.ts +1 -2
  64. package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +1 -1
  65. package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +7 -33
  66. package/dist/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.d.ts +1 -1
  67. package/dist/Shared/Components/TargetPlatforms/types.d.ts +2 -1
  68. package/dist/Shared/Components/index.d.ts +3 -3
  69. package/dist/Shared/Helpers.d.ts +2 -2
  70. package/dist/Shared/Providers/index.d.ts +1 -1
  71. package/dist/Shared/Providers/types.d.ts +1 -11
  72. package/dist/Shared/constants.d.ts +24 -18
  73. package/dist/Shared/types.d.ts +5 -110
  74. package/dist/assets/@common-rjsf.css +1 -1
  75. package/dist/assets/ic-arrows-clockwise.5858ba0a.svg +3 -0
  76. package/dist/assets/ic-charts.f41e185f.svg +19 -0
  77. package/dist/assets/ic-chat-circle-dots.e15514f8.svg +23 -0
  78. package/dist/assets/{ic-checkbox-unselected.8054e3d7.svg → ic-check-grey.f556e371.svg} +4 -2
  79. package/dist/assets/ic-disconnected.551d6161.svg +29 -0
  80. package/dist/assets/ic-discord-fill.1a1b291d.svg +19 -0
  81. package/dist/assets/ic-fast-forward.8d1a414b.svg +4 -0
  82. package/dist/assets/ic-feedback.d32fa6b0.svg +19 -0
  83. package/dist/assets/ic-files.fc290dee.svg +19 -0
  84. package/dist/assets/ic-filter-applied.56f397cb.svg +4 -0
  85. package/dist/assets/{ic-caret-down-small.7c4f88bf.svg → ic-filter.d6f03b78.svg} +1 -1
  86. package/dist/assets/ic-flask.d0624c30.svg +3 -0
  87. package/dist/assets/ic-hibernate-circle.7c32c56e.svg +3 -0
  88. package/dist/assets/{ic-checkbox-unselected.ab91cdba.svg → ic-hibernate.263ffcea.svg} +1 -1
  89. package/dist/assets/{ic-checkbox-selected.c5539d6f.svg → ic-k8s-job.f4414c10.svg} +3 -4
  90. package/dist/assets/ic-lego.1d2c5e1d.svg +3 -0
  91. package/dist/assets/ic-login-devtron-logo.702a1d04.svg +22 -0
  92. package/dist/assets/{ic-caret-right.0ff813c2.svg → ic-magnifying-glass.cf47bce0.svg} +1 -1
  93. package/dist/assets/{ic-checkbox-hover.93e8d66a.svg → ic-medal.a2e911f5.svg} +3 -4
  94. package/dist/assets/ic-megaphone.b9f9a901.svg +19 -0
  95. package/dist/assets/ic-more-vertical.6b4cc903.svg +3 -0
  96. package/dist/assets/ic-onboarding.c98f9ef9.svg +19 -0
  97. package/dist/assets/ic-play-outline.a4f09bf9.svg +3 -0
  98. package/dist/assets/ic-strategy-blue-green.0b348d03.svg +6 -0
  99. package/dist/assets/ic-strategy-canary.db010ee7.svg +5 -0
  100. package/dist/assets/ic-strategy-recreate.f0acddaa.svg +4 -0
  101. package/dist/assets/ic-strategy-rolling.1c356cdb.svg +6 -0
  102. package/dist/assets/ic-sun.47c14f53.svg +3 -0
  103. package/dist/assets/{ic-hibernate.f75c1e70.svg → ic-timeout-red.5eda1010.svg} +3 -1
  104. package/dist/assets/ic-traffic-signal.f23a1086.svg +3 -0
  105. package/dist/index.d.ts +6 -3
  106. package/dist/index.js +850 -883
  107. package/package.json +1 -1
  108. package/dist/@common-rjsf-6fcCPJuJ.js +0 -617
  109. package/dist/Common/Checkbox/Checkbox.d.ts +0 -2
  110. package/dist/Common/Checkbox/index.d.ts +0 -1
  111. package/dist/Common/Drawer/index.d.ts +0 -1
  112. package/dist/Common/EmptyState/index.d.ts +0 -2
  113. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +0 -1
  114. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +0 -8
  115. package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +0 -2
  116. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +0 -275
  117. package/dist/Shared/Components/ActionMenu/utils.d.ts +0 -7
  118. package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +0 -2
  119. package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +0 -3
  120. package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +0 -3
  121. package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +0 -3
  122. package/dist/Shared/Components/AppStatusModal/constants.d.ts +0 -4
  123. package/dist/Shared/Components/AppStatusModal/index.d.ts +0 -3
  124. package/dist/Shared/Components/AppStatusModal/service.d.ts +0 -4
  125. package/dist/Shared/Components/AppStatusModal/types.d.ts +0 -84
  126. package/dist/Shared/Components/AppStatusModal/utils.d.ts +0 -8
  127. package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +0 -10
  128. package/dist/Shared/Components/DeploymentStatusBreakdown/index.d.ts +0 -3
  129. package/dist/Shared/Components/DeploymentStatusBreakdown/types.d.ts +0 -22
  130. package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +0 -20
  131. package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +0 -10
  132. package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +0 -2
  133. package/dist/Shared/Components/Header/HelpButton.d.ts +0 -2
  134. package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +0 -3
  135. package/dist/Shared/Components/Popover/Popover.component.d.ts +0 -8
  136. package/dist/Shared/Components/Popover/index.d.ts +0 -3
  137. package/dist/Shared/Components/Popover/types.d.ts +0 -105
  138. package/dist/Shared/Components/Popover/usePopover.hook.d.ts +0 -2
  139. package/dist/Shared/Components/Popover/utils.d.ts +0 -92
  140. package/dist/Shared/Components/Switch/Switch.component.d.ts +0 -3
  141. package/dist/Shared/Components/Switch/constants.d.ts +0 -14
  142. package/dist/Shared/Components/Switch/index.d.ts +0 -3
  143. package/dist/Shared/Components/Switch/types.d.ts +0 -101
  144. package/dist/Shared/Components/Switch/utils.d.ts +0 -10
  145. package/dist/assets/@code-editor.css +0 -1
  146. package/dist/assets/ic-amazon-eks.13404569.svg +0 -5
  147. package/dist/assets/ic-arrow-square-out.59bb549a.svg +0 -3
  148. package/dist/assets/ic-azure-aks.a9e437d5.svg +0 -46
  149. package/dist/assets/ic-bulk-check.0f698efa.svg +0 -21
  150. package/dist/assets/ic-bulk-check.99e92f7a.svg +0 -21
  151. package/dist/assets/ic-celebration.77350694.svg +0 -238
  152. package/dist/assets/ic-chat-circle-online.51348da5.svg +0 -4
  153. package/dist/assets/ic-checkbox-hover.0151d832.svg +0 -20
  154. package/dist/assets/ic-checkbox-intermediate.24c6d21d.svg +0 -22
  155. package/dist/assets/ic-checkbox-intermediate.2a2d6c49.svg +0 -22
  156. package/dist/assets/ic-checkbox-selected.47444fab.svg +0 -20
  157. package/dist/assets/ic-cloud-vms.27ea954e.svg +0 -5
  158. package/dist/assets/ic-cluster.71ba9e26.svg +0 -3
  159. package/dist/assets/ic-delete-dots.5380e0d0.svg +0 -62
  160. package/dist/assets/ic-disconnect.2ad261fc.svg +0 -3
  161. package/dist/assets/ic-discord-fill.103b579a.svg +0 -3
  162. package/dist/assets/ic-edit.3249ed32.svg +0 -3
  163. package/dist/assets/ic-enterprise-feat.5ee25d5b.svg +0 -3
  164. package/dist/assets/ic-enterprise-tag.209dd129.svg +0 -43
  165. package/dist/assets/ic-expand-right-sm.9b347d49.svg +0 -3
  166. package/dist/assets/ic-expand-sm.a9a724f8.svg +0 -3
  167. package/dist/assets/ic-file-edit.96a172c7.svg +0 -3
  168. package/dist/assets/ic-file.c3c45e13.svg +0 -3
  169. package/dist/assets/ic-files.b0ebea46.svg +0 -3
  170. package/dist/assets/ic-gift-gradient.7690a246.svg +0 -9
  171. package/dist/assets/ic-gift.9b048fc7.svg +0 -3
  172. package/dist/assets/ic-gitlab.ac331d67.svg +0 -31
  173. package/dist/assets/ic-google-gke.07314724.svg +0 -9
  174. package/dist/assets/ic-install.28c3beec.svg +0 -3
  175. package/dist/assets/ic-k3s.7f4bf72d.svg +0 -3
  176. package/dist/assets/ic-kind.bd8ee992.svg +0 -9
  177. package/dist/assets/ic-laptop.485e21b4.svg +0 -3
  178. package/dist/assets/ic-man-on-rocket.7f67e914.svg +0 -94
  179. package/dist/assets/ic-megaphone-left.6b2a00b7.svg +0 -3
  180. package/dist/assets/ic-megaphone-right.9d6bcd36.svg +0 -3
  181. package/dist/assets/ic-minikube.d9ff1575.svg +0 -9
  182. package/dist/assets/ic-mobile.7c649251.svg +0 -4
  183. package/dist/assets/ic-path.d4fef3b0.svg +0 -3
  184. package/dist/assets/ic-sparkle-color.01c0be88.svg +0 -1
  185. package/dist/assets/ic-ubuntu.fa47508f.svg +0 -4
  186. package/dist/assets/ic-user-circle.7d7152fa.svg +0 -3
  187. package/dist/assets/ic-wifi-slash.d0390749.svg +0 -3
@@ -0,0 +1,5 @@
1
+ import { Component } from 'react';
2
+ import { CheckboxProps } from './Types';
3
+ export declare class Checkbox extends Component<CheckboxProps> {
4
+ render(): JSX.Element;
5
+ }
@@ -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 } from './Types';
3
+ import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, EnvAppsMetaDTO, GetAppsInfoForEnvProps } 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, abortControllerRef?: APIOptions['abortControllerRef']): Promise<EnvironmentListHelmResponse>;
24
+ export declare function getNamespaceListMin(clusterIdsCsv: string): Promise<EnvironmentListHelmResponse>;
25
25
  export declare function getWebhookEventsForEventId(eventId: string | number): Promise<ResponseType<any>>;
26
26
  /**
27
27
  *
@@ -13,7 +13,6 @@ export declare const DOCUMENTATION: {
13
13
  GLOBAL_CONFIG_BUILD_INFRA: string;
14
14
  ENTERPRISE_LICENSE: string;
15
15
  KUBE_CONFIG: string;
16
- TENANT_INSTALLATION: string;
17
16
  };
18
17
  export declare const PATTERNS: {
19
18
  STRING: RegExp;
@@ -43,6 +42,7 @@ export declare const URLS: {
43
42
  readonly CREATE_JOB: "create-job";
44
43
  readonly GETTING_STARTED: "getting-started";
45
44
  readonly STACK_MANAGER_ABOUT: "/stack-manager/about";
45
+ readonly APP_LIST_HELM: "h";
46
46
  readonly APP_CI_DETAILS: "ci-details";
47
47
  readonly LOGS: "Logs";
48
48
  readonly CREATE: "/create";
@@ -64,6 +64,7 @@ export declare const URLS: {
64
64
  readonly COMPARE_CLUSTERS: "/compare-clusters";
65
65
  readonly APP_CONFIG: "edit";
66
66
  readonly GLOBAL_CONFIG: "/global-config";
67
+ readonly CONFIG_DRIFT: "config-drift";
67
68
  readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
68
69
  readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
69
70
  readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
@@ -110,7 +111,6 @@ export declare const ROUTES: {
110
111
  readonly ATTRIBUTES_CREATE: "attributes/create";
111
112
  readonly ATTRIBUTES_UPDATE: "attributes/update";
112
113
  readonly APP_LIST_MIN: "app/min";
113
- readonly APP_DETAIL: "app/detail";
114
114
  readonly CLUSTER_LIST_MIN: "cluster/autocomplete";
115
115
  readonly CLUSTER_LIST_RAW: "k8s/capacity/cluster/list/raw";
116
116
  readonly PLUGIN_GLOBAL_LIST_DETAIL_V2: "plugin/global/list/detail/v2";
@@ -1,7 +1,7 @@
1
1
  import { default as React, SyntheticEvent } from 'react';
2
2
  import { JSONPathOptions } from 'jsonpath-plus';
3
3
  import { AsyncOptions, DeploymentNodeType, UseSearchString } from './Types';
4
- import { scrollableInterface, AppType } from '../Shared';
4
+ import { scrollableInterface } from '../Shared';
5
5
  import * as Sentry from '@sentry/browser';
6
6
  export declare function showError(serverError: any, showToastOnUnknownError?: boolean, hideAccessError?: boolean): void;
7
7
  interface ConditionalWrapper<T> {
@@ -95,10 +95,8 @@ export declare const flatMapOfJSONPaths: (paths: string[], json: object, resultT
95
95
  export declare const applyCompareDiffOnUneditedDocument: (uneditedDocument: object, editedDocument: object) => any;
96
96
  /**
97
97
  * Returns a debounced variant of the function
98
- * @deprecated - It should use useRef instead, pls use useDebounce
99
98
  */
100
99
  export declare const debounce: (func: any, timeout?: number) => (this: any, ...args: any[]) => void;
101
- export declare const useDebounce: <Callback extends (...args: any[]) => void>(cb: Callback, delay: number) => (...args: Parameters<Callback>) => void;
102
100
  /**
103
101
  * Returns a capitalized string with first letter in uppercase and rest in lowercase
104
102
  */
@@ -146,6 +144,4 @@ export declare const getGoLangFormattedDateWithTimezone: (dateFormat: string) =>
146
144
  */
147
145
  export declare const getHashedValue: (value: string) => Promise<string | null>;
148
146
  export declare const getTTLInHumanReadableFormat: (ttl: number) => string;
149
- export declare const getAIAnalyticsEvents: (context: string, appType?: AppType) => string;
150
- export declare const findRight: <T>(arr: T[], predicate: (item: T) => boolean) => T | null;
151
147
  export {};
@@ -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, "children" | "className" | "name" | "id" | "disabled" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "autoComplete" | "method" | "action" | "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>>>;
3
+ export declare const RJSFForm: import('react').ForwardRefExoticComponent<Pick<FormProps, "children" | "className" | "name" | "id" | "disabled" | "action" | "target" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "onError" | "method" | "autoComplete" | "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,5 +1,4 @@
1
- import { CHECKBOX_VALUE } from '../Types';
2
- declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dataTestId, Icon, iconClass, throttleOnChange, shouldToggleValueOnLabelClick, isLoading, value, isControlled, ...props }: {
1
+ declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dataTestId, Icon, iconClass, throttleOnChange, shouldToggleValueOnLabelClick, isLoading, ...props }: {
3
2
  [x: string]: any;
4
3
  selected?: boolean;
5
4
  onSelect?: any;
@@ -12,7 +11,5 @@ declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dat
12
11
  throttleOnChange?: boolean;
13
12
  shouldToggleValueOnLabelClick?: boolean;
14
13
  isLoading?: boolean;
15
- value?: CHECKBOX_VALUE;
16
- isControlled?: boolean;
17
14
  }) => JSX.Element;
18
15
  export default Toggle;
@@ -2,7 +2,7 @@ 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, ButtonProps, ComponentLayoutType, StatusType } from '../Shared';
5
+ import { MandatoryPluginBaseStateType, RegistryType, RuntimePluginVariables, Severity, PolicyBlockInfo, TargetPlatformItemDTO, ButtonProps, ComponentLayoutType, StatusType, DeploymentStrategyType } from '../Shared';
6
6
  import { ACTION_STATE, DEPLOYMENT_WINDOW_TYPE, DockerConfigOverrideType, RefVariableType, SortingOrder, TaskErrorObj, VariableTypeFormat } from '.';
7
7
  /**
8
8
  * Generic response type object with support for overriding the result type
@@ -75,7 +75,7 @@ export interface CheckboxProps {
75
75
  onClick?: (event: any) => void;
76
76
  id?: string;
77
77
  dataTestId?: string;
78
- children?: ReactNode;
78
+ error?: boolean;
79
79
  }
80
80
  export interface TippyCustomizedProps extends Pick<TippyProps, 'appendTo'> {
81
81
  theme: TippyTheme;
@@ -111,7 +111,6 @@ export interface InfoIconTippyProps extends Pick<TippyCustomizedProps, 'heading'
111
111
  dataTestid?: string;
112
112
  children?: TippyCustomizedProps['children'];
113
113
  iconClassName?: string;
114
- buttonPadding?: string;
115
114
  }
116
115
  export interface GenericEmptyStateType {
117
116
  title: ReactNode;
@@ -712,7 +711,7 @@ export interface AppEnvironment {
712
711
  ciArtifactId?: number;
713
712
  }
714
713
  export interface Strategy {
715
- deploymentTemplate: string;
714
+ deploymentTemplate: DeploymentStrategyType;
716
715
  config: any;
717
716
  default?: boolean;
718
717
  }
@@ -15,8 +15,9 @@ export { default as DevtronCopyright } from './DevtronCopyright';
15
15
  export * from './DevtronProgressing';
16
16
  export * from './Dialogs';
17
17
  export * from './DraggableWrapper';
18
- export * from './Drawer';
19
- export * from './EmptyState';
18
+ export * from './Drawer/Drawer';
19
+ export { default as GenericEmptyState } from './EmptyState/GenericEmptyState';
20
+ export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEmptyState';
20
21
  export { default as ErrorScreenManager } from './ErrorScreenManager';
21
22
  export { default as ErrorScreenNotAuthorized } from './ErrorScreenNotAuthorized';
22
23
  export * from './GenericDescription';
@@ -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, skipIfHibernated, isRollbackTrigger, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
9
+ export declare const triggerCDNode: ({ pipelineId, ciArtifactId, appId, stageType, deploymentWithConfig, wfrId, runtimeParamsPayload, abortControllerRef, skipIfHibernated, isRollbackTrigger, strategy, }: TriggerCDNodeServiceProps) => Promise<import('../../../../../Common/Types').ResponseType<any>>;
@@ -1,7 +1,7 @@
1
1
  import { BuildStageType, FormType } from '../../../../../Common/CIPipeline.Types';
2
2
  import { APIOptions, DeploymentAppTypes, DeploymentNodeType } from '../../../../../Common/Types';
3
3
  import { DeploymentStrategy } from '../../../../../Shared/Components';
4
- import { EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '../../../../../Shared/types';
4
+ import { DeploymentStrategyType, EnvListMinDTO, RuntimeParamsTriggerPayloadType } from '../../../../../Shared/types';
5
5
  import { STAGE_MAP } from '../../../../index';
6
6
  interface ConfigSecretType {
7
7
  label: string;
@@ -108,6 +108,7 @@ export interface TriggerCDNodeServiceProps extends Pick<APIOptions, 'abortContro
108
108
  */
109
109
  runtimeParamsPayload?: RuntimeParamsTriggerPayloadType;
110
110
  isRollbackTrigger?: boolean;
111
+ strategy?: DeploymentStrategyType;
111
112
  }
112
113
  export interface TriggerCDPipelinePayloadType extends Pick<TriggerCDNodeServiceProps, 'pipelineId' | 'appId' | 'ciArtifactId' | 'runtimeParamsPayload' | 'deploymentWithConfig'>, Partial<Pick<TriggerCDNodeServiceProps, 'skipIfHibernated'>> {
113
114
  cdWorkflowType: (typeof STAGE_MAP)[keyof typeof STAGE_MAP];
@@ -1,5 +1,4 @@
1
1
  export * from './Authorization';
2
2
  export * from './BuildInfra';
3
- export * from './ClustersAndEnvironments';
4
3
  export * from './DeploymentCharts';
5
4
  export * from './ScopedVariables';
@@ -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: (abortControllerRef?: APIOptions["abortControllerRef"]) => Promise<ResponseType<ClusterDetail[]>>;
10
+ export declare const getClusterListRaw: () => Promise<ResponseType<ClusterDetail[]>>;
@@ -1,20 +1,10 @@
1
1
  import { Dispatch, ReactElement, SetStateAction } from 'react';
2
- import { InstallationClusterType } from '../../Shared/types';
3
2
  import { NodeActionRequest } from './ResourceBrowser.Types';
4
3
  export declare enum ClusterFiltersType {
5
4
  ALL_CLUSTERS = "all",
6
5
  HEALTHY = "healthy",
7
6
  UNHEALTHY = "unhealthy"
8
7
  }
9
- export declare enum InstallationClusterStatus {
10
- Creating = "Creating",
11
- Updated = "Updated",
12
- Updating = "Updating",
13
- Installed = "Installed",
14
- Failed = "Failed",
15
- Deleting = "Deleting",
16
- Deleted = "Deleted"
17
- }
18
8
  export declare enum ClusterStatusType {
19
9
  HEALTHY = "healthy",
20
10
  UNHEALTHY = "unhealthy",
@@ -52,7 +42,6 @@ export interface ClusterCapacityType {
52
42
  nodeErrors: Record<string, string>[];
53
43
  status?: ClusterStatusType;
54
44
  isProd: boolean;
55
- installationId?: number;
56
45
  }
57
46
  export interface ClusterDetail extends ClusterCapacityType {
58
47
  id: number;
@@ -81,31 +70,4 @@ export interface AdditionalConfirmationModalOptionsProps<T = unknown> {
81
70
  setOptionsData: Dispatch<SetStateAction<T>>;
82
71
  children?: ReactElement;
83
72
  }
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
- }
111
73
  export {};
@@ -1,2 +1,3 @@
1
1
  import { ActionMenuProps } from './types';
2
- export declare const ActionMenu: <T extends string | number = string | number>({ id, options, onClick, position, alignment, width, isSearchable, disableDescriptionEllipsis, buttonProps, children, onOpen, footerConfig, }: ActionMenuProps<T>) => JSX.Element;
2
+ declare const ActionMenu: ({ options, disableDescriptionEllipsis, children, onClick }: ActionMenuProps) => JSX.Element;
3
+ export default ActionMenu;
@@ -0,0 +1,3 @@
1
+ import { ActionMenuOptionProps } from './types';
2
+ declare const ActionMenuOption: ({ option, onClick, disableDescriptionEllipsis }: ActionMenuOptionProps) => JSX.Element;
3
+ export default ActionMenuOption;
@@ -1,2 +1,2 @@
1
- export * from './ActionMenu.component';
2
- export type { ActionMenuItemType, ActionMenuOptionType, ActionMenuProps } from './types';
1
+ export { default as ActionMenu } from './ActionMenu.component';
2
+ export type { ActionMenuProps } from './types';
@@ -1,96 +1,19 @@
1
- import { LegacyRef, Ref } from 'react';
2
- import { LinkProps } from 'react-router-dom';
3
- import { IconsProps } from '../Icon';
4
- import { PopoverProps, UsePopoverProps } from '../Popover';
1
+ import { ReactElement } from 'react';
2
+ import { GroupBase, OptionsOrGroups } from 'react-select';
5
3
  import { SelectPickerOptionType, SelectPickerProps } from '../SelectPicker';
6
- type ConditionalActionMenuComponentType = {
7
- /**
8
- * @default 'button'
9
- */
10
- componentType?: 'button';
11
- href?: never;
12
- to?: never;
13
- } | {
14
- componentType?: 'anchor';
15
- /** Specifies the URL for the `<a>` tag. */
16
- href: string;
17
- to?: never;
18
- } | {
19
- componentType?: 'link';
20
- /** Specifies the `to` property for react-router `Link` */
21
- to: LinkProps['to'];
22
- href?: never;
23
- };
24
- type ActionMenuItemIconType = Pick<IconsProps, 'name'> & {
25
- /** @default 'N800' */
26
- color?: IconsProps['color'];
27
- };
28
- export type ActionMenuItemType<T extends string | number = string | number> = Omit<SelectPickerOptionType, 'label' | 'value' | 'endIcon' | 'startIcon'> & {
29
- /** A unique identifier for the action menu item. */
30
- id: T;
31
- /** The text label for the menu item. */
32
- label: string;
33
- /** Indicates whether the menu item is disabled. */
4
+ type ActionMenuOptionType = SelectPickerOptionType & {
34
5
  isDisabled?: boolean;
35
6
  /**
36
- * Specifies the type of the menu item.
37
7
  * @default 'neutral'
38
8
  */
39
9
  type?: 'neutral' | 'negative';
40
- /** Defines the icon to be displayed at the start of the menu item. */
41
- startIcon?: ActionMenuItemIconType;
42
- /** Defines the icon to be displayed at the end of the menu item. */
43
- endIcon?: ActionMenuItemIconType;
44
- } & ConditionalActionMenuComponentType;
45
- export type ActionMenuOptionType<T extends string | number> = {
46
- /**
47
- * The label for the group of menu items. \
48
- * This is optional and can be used to categorize items under a specific group.
49
- */
50
- groupLabel?: string;
51
- /**
52
- * The list of items belonging to this group.
53
- */
54
- items: ActionMenuItemType<T>[];
55
- };
56
- export type UseActionMenuProps<T extends string | number> = Omit<UsePopoverProps, 'onPopoverKeyDown' | 'onTriggerKeyDown'> & {
57
- /**
58
- * The options to display in the action menu.
59
- */
60
- options: ActionMenuOptionType<T>[];
61
- /**
62
- * Determines whether the action menu is searchable.
63
- */
64
- isSearchable?: boolean;
65
- };
66
- export type ActionMenuProps<T extends string | number = string | number> = UseActionMenuProps<T> & Pick<SelectPickerProps, 'disableDescriptionEllipsis'> & {
67
- /**
68
- * Callback function triggered when an item is clicked.
69
- * @param item - The selected item.
70
- */
71
- onClick: (item: ActionMenuItemType<T>) => void;
72
- /**
73
- * Config for the footer at the bottom of action menu list. It is sticky by default
74
- */
75
- footerConfig?: SelectPickerProps['menuListFooterConfig'];
76
- } & ({
77
- /**
78
- * The React element to which the ActionMenu is attached.
79
- * @note only use when children is not `Button` component otherwise use `buttonProps`.
80
- */
81
- children: NonNullable<PopoverProps['triggerElement']>;
82
- buttonProps?: never;
83
- } | {
84
- children?: never;
85
- /**
86
- * Properties for the button to which the Popover is attached.
87
- */
88
- buttonProps: NonNullable<PopoverProps['buttonProps']>;
89
- });
90
- export type ActionMenuItemProps<T extends string | number> = Pick<ActionMenuProps<T>, 'onClick' | 'disableDescriptionEllipsis'> & {
91
- item: ActionMenuItemType<T>;
92
- itemRef: Ref<HTMLAnchorElement> | LegacyRef<HTMLAnchorElement | HTMLButtonElement>;
93
- isFocused?: boolean;
94
- onMouseEnter?: () => void;
95
10
  };
11
+ export interface ActionMenuProps extends Pick<SelectPickerProps, 'disableDescriptionEllipsis'> {
12
+ children: ReactElement;
13
+ options: OptionsOrGroups<ActionMenuOptionType, GroupBase<ActionMenuOptionType>>;
14
+ onClick: (option: SelectPickerOptionType) => void;
15
+ }
16
+ export interface ActionMenuOptionProps extends Pick<ActionMenuProps, 'onClick' | 'disableDescriptionEllipsis'> {
17
+ option: ActionMenuOptionType;
18
+ }
96
19
  export {};
@@ -0,0 +1,6 @@
1
+ interface AnnouncementBannerType {
2
+ parentClassName?: string;
3
+ isCDMaterial?: boolean;
4
+ }
5
+ declare const AnnouncementBanner: ({ parentClassName, isCDMaterial }: AnnouncementBannerType) => JSX.Element;
6
+ export default AnnouncementBanner;
@@ -0,0 +1 @@
1
+ export { default as AnnouncementBanner } from './AnnouncementBanner';
@@ -14,9 +14,7 @@ export declare enum ButtonStyleType {
14
14
  negativeGrey = "negative-grey",
15
15
  positive = "positive",
16
16
  warning = "warning",
17
- neutral = "neutral",
18
- neutralN0 = "neutral-n0",
19
- neutralWhite = "neutral-white"
17
+ neutral = "neutral"
20
18
  }
21
19
  export declare enum ButtonComponentType {
22
20
  button = "button",
@@ -0,0 +1,3 @@
1
+ import { AppStatusDetailsChartType } from './types';
2
+ declare const AppStatusDetailsChart: ({ filterRemoveHealth, showFooter, showConfigDriftInfo, onClose, }: AppStatusDetailsChartType) => JSX.Element;
3
+ export default AppStatusDetailsChart;
@@ -1,3 +1,3 @@
1
1
  import { DeploymentStatusDetailBreakdownType } from './types';
2
- declare const DeploymentStatusDetailBreakdown: ({ deploymentStatusDetailsBreakdownData, isVirtualEnvironment, appDetails, rootClassName, }: DeploymentStatusDetailBreakdownType) => JSX.Element;
2
+ declare const DeploymentStatusDetailBreakdown: ({ deploymentStatusDetailsBreakdownData, isVirtualEnvironment, }: DeploymentStatusDetailBreakdownType) => JSX.Element;
3
3
  export default DeploymentStatusDetailBreakdown;
@@ -1,2 +1,2 @@
1
1
  import { DeploymentStatusDetailRowType } from './types';
2
- export declare const DeploymentStatusDetailRow: ({ type, hideVerticalConnector, deploymentDetailedData, appDetails, }: DeploymentStatusDetailRowType) => JSX.Element;
2
+ export declare const DeploymentStatusDetailRow: ({ type, hideVerticalConnector, deploymentDetailedData, }: DeploymentStatusDetailRowType) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { ErrorInfoStatusBarType } from './types';
2
+ export declare const ErrorInfoStatusBar: ({ nonDeploymentError, type, errorMessage, hideVerticalConnector, hideErrorIcon, }: ErrorInfoStatusBarType) => JSX.Element;
@@ -1,3 +1,3 @@
1
1
  import { LogStageAccordionProps } from './types';
2
- declare const LogStageAccordion: ({ stage, isOpen, logs, endTime, startTime, status, handleStageClose, handleStageOpen, stageIndex, isLoading, fullScreenView, searchIndex, targetPlatforms, logsRendererRef, }: LogStageAccordionProps) => JSX.Element;
2
+ declare const LogStageAccordion: ({ stage, isOpen, logs, endTime, startTime, status, handleStageClose, handleStageOpen, stageIndex, isLoading, fullScreenView, searchIndex, targetPlatforms, }: LogStageAccordionProps) => JSX.Element;
3
3
  export default LogStageAccordion;
@@ -84,4 +84,3 @@ export declare const PROGRESSING_STATUS: {
84
84
  readonly [x: string]: "progressing" | "starting" | "initiating" | "queued" | "running";
85
85
  };
86
86
  export declare const FAILED_WORKFLOW_STAGE_STATUS_MAP: Record<Extract<WorkflowStageStatusType, WorkflowStageStatusType.ABORTED | WorkflowStageStatusType.FAILED | WorkflowStageStatusType.TIMEOUT>, true>;
87
- export declare const APP_HEALTH_DROP_DOWN_LIST: string[];
@@ -1,3 +1,4 @@
1
+ export { default as AppStatusDetailsChart } from './AppStatusDetailsChart';
1
2
  export { default as Artifacts } from './Artifacts';
2
3
  export { default as CDEmptyState } from './CDEmptyState';
3
4
  export * from './CiPipelineSourceConfig';
@@ -10,9 +10,6 @@ export declare function getTriggerDetails({ appId, envId, pipelineId, triggerId,
10
10
  export declare const getTagDetails: (params: any) => Promise<ResponseType<any>>;
11
11
  export declare const cancelCiTrigger: (params: any, isForceAbort: any) => Promise<ResponseType<any>>;
12
12
  export declare const cancelPrePostCdTrigger: (pipelineId: any, workflowRunner: any, isForceAbort: boolean) => Promise<ResponseType<any>>;
13
- /**
14
- * @deprecated
15
- */
16
13
  export declare function getDeploymentStatusDetail(appId: string, envId: string, showTimeline: boolean, triggerId?: string, isHelmApps?: boolean, installedAppVersionHistoryId?: number): Promise<DeploymentStatusDetailsResponse>;
17
14
  export declare function getManualSync(params: {
18
15
  appId: string;
@@ -1,8 +1,8 @@
1
- import { CSSProperties, MutableRefObject, ReactElement, ReactNode } from 'react';
1
+ import { CSSProperties, ReactElement, ReactNode } from 'react';
2
2
  import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
3
3
  import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, UserApprovalMetadataType, useScrollable } from '../../../Common';
4
4
  import { DeploymentStageType } from '../../constants';
5
- import { AggregationKeys, AppDetails, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, DeploymentStatusTimelineType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
5
+ import { AggregationKeys, DeploymentStrategyType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
6
6
  import { TargetPlatformBadgeListProps } from '../TargetPlatforms';
7
7
  export declare enum HistoryComponentType {
8
8
  CI = "CI",
@@ -296,7 +296,66 @@ export type FinishedType = {
296
296
  status?: never;
297
297
  finishedOn?: never;
298
298
  });
299
- export type DeploymentStatusDetailsResponse = ResponseType<DeploymentStatusDetailsType>;
299
+ export interface SyncStageResourceDetail {
300
+ id: number;
301
+ cdWorkflowRunnerId: number;
302
+ resourceGroup: string;
303
+ resourceKind: string;
304
+ resourceName: string;
305
+ resourcePhase: string;
306
+ resourceStatus: string;
307
+ statusMessage: string;
308
+ }
309
+ export interface DeploymentStatusDetailsTimelineType {
310
+ id: number;
311
+ cdWorkflowRunnerId: number;
312
+ status: string;
313
+ statusDetail: string;
314
+ statusTime: string;
315
+ resourceDetails?: SyncStageResourceDetail[];
316
+ }
317
+ export interface DeploymentStatusDetailsType extends Pick<History, 'isDeploymentWithoutApproval'> {
318
+ deploymentFinishedOn: string;
319
+ deploymentStartedOn: string;
320
+ triggeredBy: string;
321
+ statusFetchCount: number;
322
+ statusLastFetchedAt: string;
323
+ timelines: DeploymentStatusDetailsTimelineType[];
324
+ wfrStatus?: string;
325
+ }
326
+ export interface DeploymentStatusDetailsResponse extends ResponseType {
327
+ result?: DeploymentStatusDetailsType;
328
+ }
329
+ interface DeploymentStatusDetailRow {
330
+ icon: string;
331
+ displayText: ReactNode;
332
+ displaySubText: string;
333
+ time: string;
334
+ resourceDetails?: any;
335
+ isCollapsed?: boolean;
336
+ kubeList?: {
337
+ icon: any;
338
+ message: string;
339
+ }[];
340
+ timelineStatus?: string;
341
+ }
342
+ export interface DeploymentStatusDetailsBreakdownDataType {
343
+ deploymentStatus: string;
344
+ deploymentStatusText: string;
345
+ deploymentTriggerTime: string;
346
+ deploymentEndTime: string;
347
+ deploymentError: string;
348
+ triggeredBy: string;
349
+ nonDeploymentError: string;
350
+ deploymentStatusBreakdown: {
351
+ DEPLOYMENT_INITIATED: DeploymentStatusDetailRow;
352
+ GIT_COMMIT?: DeploymentStatusDetailRow;
353
+ ARGOCD_SYNC?: DeploymentStatusDetailRow;
354
+ KUBECTL_APPLY?: DeploymentStatusDetailRow;
355
+ APP_HEALTH?: DeploymentStatusDetailRow;
356
+ HELM_PACKAGE_GENERATED?: DeploymentStatusDetailRow;
357
+ };
358
+ }
300
359
  export interface DeploymentDetailStepsType extends Pick<History, 'isDeploymentWithoutApproval'> {
301
360
  deploymentStatus?: string;
302
361
  deploymentAppType?: DeploymentAppTypes;
@@ -397,17 +456,19 @@ export interface LogsRendererType extends Pick<HistoryLogsProps, 'fullScreenView
397
456
  export interface DeploymentStatusDetailBreakdownType {
398
457
  deploymentStatusDetailsBreakdownData: DeploymentStatusDetailsBreakdownDataType;
399
458
  isVirtualEnvironment?: boolean;
400
- /**
401
- * Won't be available if coming directly to deployment history from url
402
- */
403
- appDetails: AppDetails | null;
404
- rootClassName?: string;
405
459
  }
406
- export interface DeploymentStatusDetailRowType extends Pick<DeploymentStatusDetailBreakdownType, 'appDetails'> {
407
- type: DeploymentStatusTimelineType;
460
+ export interface DeploymentStatusDetailRowType {
461
+ type: string;
408
462
  hideVerticalConnector?: boolean;
409
463
  deploymentDetailedData: DeploymentStatusDetailsBreakdownDataType;
410
464
  }
465
+ export interface ErrorInfoStatusBarType {
466
+ nonDeploymentError: string;
467
+ type: string;
468
+ errorMessage: string;
469
+ hideVerticalConnector?: boolean;
470
+ hideErrorIcon?: boolean;
471
+ }
411
472
  export interface DeploymentConfigurationsRes extends ResponseType {
412
473
  result?: DeploymentTemplateList[];
413
474
  }
@@ -447,6 +508,12 @@ export interface DeploymentHistorySidebarType {
447
508
  deploymentHistoryList: DeploymentTemplateList[];
448
509
  setDeploymentHistoryList: React.Dispatch<React.SetStateAction<DeploymentTemplateList[]>>;
449
510
  }
511
+ export interface AppStatusDetailsChartType {
512
+ filterRemoveHealth?: boolean;
513
+ showFooter: boolean;
514
+ showConfigDriftInfo?: boolean;
515
+ onClose?: () => void;
516
+ }
450
517
  export interface StatusFilterButtonType {
451
518
  nodes: Array<Node>;
452
519
  selectedTab: string;
@@ -593,7 +660,6 @@ export interface DeploymentHistory {
593
660
  ci_artifact_id?: number;
594
661
  runSource?: RunSourceType;
595
662
  }
596
- type DeploymentStrategyType = 'CANARY' | 'ROLLING' | 'RECREATE' | 'BLUE_GREEN';
597
663
  export interface DeploymentStrategy {
598
664
  deploymentTemplate: DeploymentStrategyType;
599
665
  config: any;
@@ -685,7 +751,6 @@ export interface LogStageAccordionProps extends StageDetailType, Pick<LogsRender
685
751
  */
686
752
  isLoading: boolean;
687
753
  searchIndex: string;
688
- logsRendererRef: MutableRefObject<HTMLDivElement>;
689
754
  }
690
755
  export interface CreateMarkupReturnType {
691
756
  __html: string;
@@ -1,11 +1,10 @@
1
1
  import { ReactElement } from 'react';
2
- import { DeploymentAppTypes } from '../../../Common/Types';
3
- import { DeploymentStatusBreakdownItemType, Node } from '../../types';
4
- import { TabGroupProps } from '../TabGroup';
5
- import { DeploymentHistoryResultObject, ExecutionInfoType, History, NodeFilters, NodeStatus, StageStatusType, TriggerHistoryFilterCriteriaProps, TriggerHistoryFilterCriteriaType, WorkflowExecutionStagesMapDTO, WorkflowStageStatusType } from './types';
2
+ import { Node } from '../../types';
3
+ import { DeploymentHistoryResultObject, ExecutionInfoType, NodeFilters, NodeStatus, StageStatusType, TriggerHistoryFilterCriteriaProps, TriggerHistoryFilterCriteriaType, WorkflowExecutionStagesMapDTO, WorkflowStageStatusType } from './types';
6
4
  export declare const getTriggerHistoryFilterCriteria: ({ appId, envId, releaseId, showCurrentReleaseDeployments, }: TriggerHistoryFilterCriteriaProps) => TriggerHistoryFilterCriteriaType;
7
5
  export declare const getParsedTriggerHistory: (result: any) => DeploymentHistoryResultObject;
8
6
  export declare const buildHoverHtmlForWebhook: (eventName: any, condition: any, selectors: any) => JSX.Element;
7
+ export declare const renderIcon: (iconState: string) => JSX.Element;
9
8
  export declare const getStageStatusIcon: (status: StageStatusType) => JSX.Element;
10
9
  export declare const getLogSearchIndex: ({ stageIndex, lineNumberInsideStage, }: Record<"stageIndex" | "lineNumberInsideStage", number>) => string;
11
10
  export declare const sanitizeWorkflowExecutionStages: (workflowExecutionStages: WorkflowExecutionStagesMapDTO["workflowExecutionStages"]) => ExecutionInfoType | null;
@@ -37,6 +36,3 @@ export declare const getStatusFilters: ({ allNodeCount, missingNodeCount, failed
37
36
  };
38
37
  export declare const getAppStatusIcon: (status: NodeStatus | NodeFilters, hideMessage?: boolean) => JSX.Element;
39
38
  export declare const getTriggerStatusIcon: (status: string) => string;
40
- export declare const renderDeploymentTimelineIcon: (iconState: DeploymentStatusBreakdownItemType["icon"]) => JSX.Element;
41
- export declare const getDeploymentTimelineBGColorFromIcon: (icon: DeploymentStatusBreakdownItemType["icon"]) => string;
42
- export declare const getTriggerOutputTabs: (triggerDetails: History, deploymentAppType: DeploymentAppTypes) => TabGroupProps["tabs"];
@@ -0,0 +1,2 @@
1
+ declare const EnterpriseTag: () => JSX.Element;
2
+ export default EnterpriseTag;
@@ -0,0 +1 @@
1
+ export { default as EnterpriseTag } from './EnterpriseTag.component';
@@ -1,3 +1,3 @@
1
1
  import { ErrorBarType } from './types';
2
- declare const ErrorBar: ({ appDetails, useParentMargin }: ErrorBarType) => JSX.Element;
2
+ declare const ErrorBar: ({ appDetails }: ErrorBarType) => JSX.Element;
3
3
  export default ErrorBar;