@devtron-labs/devtron-fe-common-lib 1.13.0 → 1.14.0
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.
- package/dist/{@common-rjsf-BUC7SZkT.js → @code-editor-YS-brIXD.js} +15073 -14565
- package/dist/@common-rjsf--YchCFEp.js +617 -0
- package/dist/{@framer-motion-BL6-Hrrc.js → @framer-motion-eB9Rj-_8.js} +1 -1
- package/dist/{@react-dates-CIHHgq4p.js → @react-dates-CJpoumtu.js} +14 -14
- package/dist/{@react-select-BVKpsqGO.js → @react-select-CUbAbK6L.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-CjKfeUxB.js → @react-virtualized-sticky-tree-Ckb5S1RC.js} +1 -1
- package/dist/{@vendor-CekuMgQx.js → @vendor-4cEd9dja.js} +45804 -45814
- package/dist/Common/Checkbox/Checkbox.d.ts +2 -0
- package/dist/Common/Checkbox/index.d.ts +1 -0
- package/dist/Common/Common.service.d.ts +2 -2
- package/dist/Common/Constants.d.ts +2 -2
- package/dist/Common/Drawer/index.d.ts +1 -0
- package/dist/Common/EmptyState/index.d.ts +2 -0
- package/dist/Common/Helper.d.ts +5 -1
- package/dist/Common/RJSF/Form.d.ts +1 -1
- package/dist/Common/SegmentedBarChart/types.d.ts +11 -2
- package/dist/Common/Toggle/Toggle.d.ts +4 -1
- package/dist/Common/Types.d.ts +2 -0
- package/dist/Common/index.d.ts +2 -3
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
- package/dist/Pages/GlobalConfigurations/index.d.ts +1 -0
- package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/types.d.ts +43 -0
- package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +1 -2
- package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +2 -0
- package/dist/Shared/Components/ActionMenu/index.d.ts +2 -2
- package/dist/Shared/Components/ActionMenu/types.d.ts +88 -11
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +275 -0
- package/dist/Shared/Components/ActionMenu/utils.d.ts +7 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +2 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/constants.d.ts +4 -0
- package/dist/Shared/Components/AppStatusModal/index.d.ts +3 -0
- package/dist/Shared/Components/AppStatusModal/service.d.ts +4 -0
- package/dist/Shared/Components/AppStatusModal/types.d.ts +84 -0
- package/dist/Shared/Components/AppStatusModal/utils.d.ts +8 -0
- package/dist/Shared/Components/BulkOperations/types.d.ts +2 -2
- package/dist/Shared/Components/Button/types.d.ts +3 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusDetailRow.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +1 -0
- package/dist/Shared/Components/CICDHistory/index.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/service.d.ts +3 -0
- package/dist/Shared/Components/CICDHistory/types.d.ts +11 -77
- package/dist/Shared/Components/CICDHistory/utils.d.ts +7 -3
- package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +10 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/index.d.ts +3 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/types.d.ts +22 -0
- package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +20 -0
- package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
- package/dist/Shared/Components/Error/types.d.ts +4 -0
- package/dist/Shared/Components/Error/utils.d.ts +1 -0
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -3
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +10 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +2 -0
- package/dist/Shared/Components/Header/HelpButton.d.ts +2 -0
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/constants.d.ts +5 -4
- package/dist/Shared/Components/Header/types.d.ts +15 -10
- package/dist/Shared/Components/Header/utils.d.ts +5 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +37 -1
- package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
- package/dist/Shared/Components/Icon/types.d.ts +30 -8
- package/dist/Shared/Components/InfoBlock/constants.d.ts +2 -2
- package/dist/Shared/Components/InfoBlock/types.d.ts +2 -2
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
- package/dist/Shared/Components/License/index.d.ts +1 -1
- package/dist/Shared/Components/License/utils.d.ts +2 -1
- package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +3 -0
- package/dist/Shared/Components/LoginBanner/index.d.ts +2 -0
- package/dist/Shared/Components/Popover/Popover.component.d.ts +8 -0
- package/dist/Shared/Components/Popover/index.d.ts +3 -0
- package/dist/Shared/Components/Popover/types.d.ts +105 -0
- package/dist/Shared/Components/Popover/usePopover.hook.d.ts +2 -0
- package/dist/Shared/Components/Popover/utils.d.ts +92 -0
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +2 -2
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +2 -0
- package/dist/Shared/Components/SelectPicker/index.d.ts +1 -0
- package/dist/Shared/Components/SelectPicker/type.d.ts +4 -0
- package/dist/Shared/Components/StatusComponent/types.d.ts +2 -1
- package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +33 -7
- package/dist/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.d.ts +1 -1
- package/dist/Shared/Components/TargetPlatforms/types.d.ts +1 -2
- package/dist/Shared/Components/index.d.ts +2 -2
- package/dist/Shared/Helpers.d.ts +2 -2
- package/dist/Shared/Providers/index.d.ts +1 -1
- package/dist/Shared/Providers/types.d.ts +11 -1
- package/dist/Shared/constants.d.ts +18 -24
- package/dist/Shared/types.d.ts +110 -2
- package/dist/assets/@code-editor.css +1 -0
- package/dist/assets/@common-rjsf.css +1 -1
- package/dist/assets/ic-amazon-eks.13404569.svg +5 -0
- package/dist/assets/ic-arrow-square-out.59bb549a.svg +3 -0
- package/dist/assets/ic-azure-aks.a9e437d5.svg +46 -0
- package/dist/assets/{ic-timeout-red.5eda1010.svg → ic-bulk-check.0f698efa.svg} +4 -4
- package/dist/assets/ic-bulk-check.99e92f7a.svg +21 -0
- package/dist/assets/ic-caret-down-small.7c4f88bf.svg +3 -0
- package/dist/assets/ic-caret-right.0ff813c2.svg +3 -0
- package/dist/assets/ic-celebration.77350694.svg +238 -0
- package/dist/assets/ic-chat-circle-online.51348da5.svg +4 -0
- package/dist/assets/{ic-medal.a2e911f5.svg → ic-checkbox-hover.0151d832.svg} +4 -3
- package/dist/assets/{ic-k8s-job.f4414c10.svg → ic-checkbox-hover.93e8d66a.svg} +4 -3
- package/dist/assets/ic-checkbox-intermediate.24c6d21d.svg +22 -0
- package/dist/assets/ic-checkbox-intermediate.2a2d6c49.svg +22 -0
- package/dist/assets/ic-checkbox-selected.47444fab.svg +20 -0
- package/dist/assets/ic-checkbox-selected.c5539d6f.svg +20 -0
- package/dist/assets/{ic-check-grey.f556e371.svg → ic-checkbox-unselected.8054e3d7.svg} +2 -4
- package/dist/assets/ic-checkbox-unselected.ab91cdba.svg +19 -0
- package/dist/assets/ic-cloud-vms.27ea954e.svg +5 -0
- package/dist/assets/ic-cluster.71ba9e26.svg +3 -0
- package/dist/assets/ic-delete-dots.5380e0d0.svg +62 -0
- package/dist/assets/ic-disconnect.2ad261fc.svg +3 -0
- package/dist/assets/ic-discord-fill.103b579a.svg +3 -0
- package/dist/assets/ic-edit.3249ed32.svg +3 -0
- package/dist/assets/ic-enterprise-feat.5ee25d5b.svg +3 -0
- package/dist/assets/ic-enterprise-tag.209dd129.svg +43 -0
- package/dist/assets/ic-expand-right-sm.9b347d49.svg +3 -0
- package/dist/assets/ic-expand-sm.a9a724f8.svg +3 -0
- package/dist/assets/ic-file-edit.96a172c7.svg +3 -0
- package/dist/assets/ic-file.c3c45e13.svg +3 -0
- package/dist/assets/ic-files.b0ebea46.svg +3 -0
- package/dist/assets/ic-gift-gradient.7690a246.svg +9 -0
- package/dist/assets/ic-gift.9b048fc7.svg +3 -0
- package/dist/assets/ic-gitlab.ac331d67.svg +31 -0
- package/dist/assets/ic-google-gke.07314724.svg +9 -0
- package/dist/assets/ic-install.28c3beec.svg +3 -0
- package/dist/assets/ic-k3s.7f4bf72d.svg +3 -0
- package/dist/assets/ic-kind.bd8ee992.svg +9 -0
- package/dist/assets/ic-laptop.485e21b4.svg +3 -0
- package/dist/assets/ic-man-on-rocket.7f67e914.svg +94 -0
- package/dist/assets/ic-megaphone-left.6b2a00b7.svg +3 -0
- package/dist/assets/ic-megaphone-right.9d6bcd36.svg +3 -0
- package/dist/assets/ic-minikube.d9ff1575.svg +9 -0
- package/dist/assets/ic-mobile.7c649251.svg +4 -0
- package/dist/assets/ic-path.d4fef3b0.svg +3 -0
- package/dist/assets/ic-sparkle-color.01c0be88.svg +1 -0
- package/dist/assets/ic-terminal.d875cce7.svg +3 -0
- package/dist/assets/ic-thermometer.1bc48079.svg +3 -0
- package/dist/assets/ic-ubuntu.fa47508f.svg +4 -0
- package/dist/assets/ic-user-circle.7d7152fa.svg +3 -0
- package/dist/assets/ic-wifi-slash.d0390749.svg +3 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +881 -850
- package/package.json +1 -1
- package/dist/Common/Checkbox.d.ts +0 -5
- package/dist/Shared/Components/ActionMenu/ActionMenuOption.d.ts +0 -3
- package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +0 -6
- package/dist/Shared/Components/AnnouncementBanner/index.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/ErrorInfoStatusBar.d.ts +0 -2
- package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +0 -2
- package/dist/Shared/Components/EnterpriseTag/index.d.ts +0 -1
- package/dist/Shared/Components/Header/HelpNav.d.ts +0 -3
- package/dist/assets/ic-charts.f41e185f.svg +0 -19
- package/dist/assets/ic-chat-circle-dots.e15514f8.svg +0 -23
- package/dist/assets/ic-disconnected.551d6161.svg +0 -29
- package/dist/assets/ic-discord-fill.1a1b291d.svg +0 -19
- package/dist/assets/ic-feedback.d32fa6b0.svg +0 -19
- package/dist/assets/ic-files.fc290dee.svg +0 -19
- package/dist/assets/ic-login-devtron-logo.702a1d04.svg +0 -22
- package/dist/assets/ic-megaphone.b9f9a901.svg +0 -19
- package/dist/assets/ic-onboarding.c98f9ef9.svg +0 -19
@@ -0,0 +1,92 @@
|
|
1
|
+
import { HTMLMotionProps } from 'framer-motion';
|
2
|
+
import { UsePopoverProps } from './types';
|
3
|
+
export declare const getPopoverAlignmentStyle: ({ position, alignment }: Pick<UsePopoverProps, "position" | "alignment">) => {
|
4
|
+
right: number;
|
5
|
+
left?: undefined;
|
6
|
+
bottom?: undefined;
|
7
|
+
top?: undefined;
|
8
|
+
} | {
|
9
|
+
left: string;
|
10
|
+
right?: undefined;
|
11
|
+
bottom?: undefined;
|
12
|
+
top?: undefined;
|
13
|
+
} | {
|
14
|
+
left: number;
|
15
|
+
right?: undefined;
|
16
|
+
bottom?: undefined;
|
17
|
+
top?: undefined;
|
18
|
+
} | {
|
19
|
+
bottom: number;
|
20
|
+
right?: undefined;
|
21
|
+
left?: undefined;
|
22
|
+
top?: undefined;
|
23
|
+
} | {
|
24
|
+
top: string;
|
25
|
+
right?: undefined;
|
26
|
+
left?: undefined;
|
27
|
+
bottom?: undefined;
|
28
|
+
} | {
|
29
|
+
top: number;
|
30
|
+
right?: undefined;
|
31
|
+
left?: undefined;
|
32
|
+
bottom?: undefined;
|
33
|
+
};
|
34
|
+
export declare const getPopoverPositionStyle: ({ position }: Pick<UsePopoverProps, "position">) => {
|
35
|
+
bottom: string;
|
36
|
+
marginBottom: number;
|
37
|
+
right?: undefined;
|
38
|
+
marginRight?: undefined;
|
39
|
+
left?: undefined;
|
40
|
+
marginLeft?: undefined;
|
41
|
+
top?: undefined;
|
42
|
+
marginTop?: undefined;
|
43
|
+
} | {
|
44
|
+
right: string;
|
45
|
+
marginRight: number;
|
46
|
+
bottom?: undefined;
|
47
|
+
marginBottom?: undefined;
|
48
|
+
left?: undefined;
|
49
|
+
marginLeft?: undefined;
|
50
|
+
top?: undefined;
|
51
|
+
marginTop?: undefined;
|
52
|
+
} | {
|
53
|
+
left: string;
|
54
|
+
marginLeft: number;
|
55
|
+
bottom?: undefined;
|
56
|
+
marginBottom?: undefined;
|
57
|
+
right?: undefined;
|
58
|
+
marginRight?: undefined;
|
59
|
+
top?: undefined;
|
60
|
+
marginTop?: undefined;
|
61
|
+
} | {
|
62
|
+
top: string;
|
63
|
+
marginTop: number;
|
64
|
+
bottom?: undefined;
|
65
|
+
marginBottom?: undefined;
|
66
|
+
right?: undefined;
|
67
|
+
marginRight?: undefined;
|
68
|
+
left?: undefined;
|
69
|
+
marginLeft?: undefined;
|
70
|
+
};
|
71
|
+
export declare const getPopoverFramerProps: ({ position, alignment }: Pick<UsePopoverProps, "position" | "alignment">) => {
|
72
|
+
initial: {
|
73
|
+
[x: string]: number;
|
74
|
+
opacity: number;
|
75
|
+
};
|
76
|
+
animate: {
|
77
|
+
[x: string]: number;
|
78
|
+
opacity: number;
|
79
|
+
};
|
80
|
+
exit: {
|
81
|
+
[x: string]: number;
|
82
|
+
opacity: number;
|
83
|
+
};
|
84
|
+
transformTemplate: HTMLMotionProps<"div">["transformTemplate"];
|
85
|
+
};
|
86
|
+
export declare const getPopoverActualPositionAlignment: ({ position, alignment, triggerRect, popoverRect, }: Pick<UsePopoverProps, "position" | "alignment"> & {
|
87
|
+
triggerRect: DOMRect;
|
88
|
+
popoverRect: DOMRect;
|
89
|
+
}) => {
|
90
|
+
fallbackPosition: "top" | "bottom" | "right" | "left";
|
91
|
+
fallbackAlignment: "start" | "middle" | "end";
|
92
|
+
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
|
-
import {
|
2
|
+
import { Entity } from '@Common/SegmentedBarChart/types';
|
3
3
|
import { ServerErrors } from '../../../../Common/ServerError';
|
4
4
|
import { GenericEmptyStateType } from '../../../../Common/Types';
|
5
5
|
import { LastExecutionResultType, Nodes, NodeType } from '../../../types';
|
@@ -72,7 +72,7 @@ export interface StatusType {
|
|
72
72
|
scanToolUrl: string;
|
73
73
|
}
|
74
74
|
export interface InfoCardPropsType extends Pick<StatusType, 'scanToolName' | 'scanToolUrl'> {
|
75
|
-
entities:
|
75
|
+
entities: NonNullable<Entity[]>;
|
76
76
|
lastScanTimeString?: string;
|
77
77
|
}
|
78
78
|
export type DetailViewDataType = {
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { SEVERITIES } from './constants';
|
2
2
|
import { GetResourceScanDetailsResponseType, ImageScanVulnerabilityType, ImageVulnerabilityType, ScanResultDTO, SeveritiesDTO, VulnerabilityCountType } from './types';
|
3
3
|
export declare const mapSeveritiesToSegmentedBarChartEntities: (severities: Partial<Record<keyof typeof SEVERITIES, number>>) => {
|
4
|
-
color: "var(--R500)" | "var(--N300)" | "var(--O500)" | "var(--
|
4
|
+
color: "var(--R500)" | "var(--N300)" | "var(--O500)" | "var(--Y500)" | "var(--G500)" | "var(--R700)";
|
5
5
|
label: "Unknown" | "Critical" | "High" | "Medium" | "Low" | "Failures" | "Successes" | "Exceptions";
|
6
6
|
value: number;
|
7
7
|
}[];
|
@@ -8,8 +8,10 @@ export declare const SelectPickerControl: <OptionValue>(props: ControlProps<Sele
|
|
8
8
|
export declare const SelectPickerInput: <OptionValue>(props: InputProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
9
9
|
export declare const SelectPickerValueContainer: <OptionValue, IsMulti extends boolean>({ showSelectedOptionsCount, customSelectedOptionsCount, ...props }: ValueContainerProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "showSelectedOptionsCount" | "customSelectedOptionsCount">) => JSX.Element;
|
10
10
|
export declare const SelectPickerOption: <OptionValue, IsMulti extends boolean>({ disableDescriptionEllipsis, ...props }: OptionProps<SelectPickerOptionType<OptionValue>> & Pick<SelectPickerProps<OptionValue, IsMulti>, "disableDescriptionEllipsis">) => JSX.Element;
|
11
|
+
export declare const SelectPickerMenuListFooter: ({ menuListFooterConfig, }: Required<Pick<SelectPickerProps, "menuListFooterConfig">>) => JSX.Element;
|
11
12
|
export declare const SelectPickerMenuList: <OptionValue>(props: MenuListProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
12
13
|
export declare const SelectPickerMultiValueLabel: <OptionValue, IsMulti extends boolean>({ getIsOptionValid, ...props }: MultiValueProps<SelectPickerOptionType<OptionValue>, true> & Pick<SelectPickerProps<OptionValue, IsMulti>["multiSelectProps"], "getIsOptionValid">) => JSX.Element;
|
13
14
|
export declare const SelectPickerMultiValueRemove: (props: MultiValueRemoveProps) => JSX.Element;
|
14
15
|
export declare const SelectPickerGroupHeading: <OptionValue>({ isGroupHeadingSelectable, ...props }: SelectPickerGroupHeadingProps<OptionValue>) => JSX.Element;
|
15
16
|
export declare const renderLoadingMessage: () => JSX.Element;
|
17
|
+
export declare const ValueContainerWithLoadingShimmer: (props: ValueContainerProps) => JSX.Element;
|
@@ -40,6 +40,10 @@ type MenuListFooterConfigType = {
|
|
40
40
|
buttonProps: {
|
41
41
|
variant: ButtonVariantType.primary | ButtonVariantType.borderLess;
|
42
42
|
} & Omit<ButtonProps<ButtonComponentType>, 'size' | 'fullWidth' | 'icon' | 'endIcon' | 'variant' | 'style'>;
|
43
|
+
} | {
|
44
|
+
type: 'customNode';
|
45
|
+
value: ReactElement;
|
46
|
+
buttonProps?: never;
|
43
47
|
};
|
44
48
|
declare module 'react-select/base' {
|
45
49
|
interface Props<Option, IsMulti extends boolean, Group extends GroupBase<Option>> {
|
@@ -16,7 +16,8 @@ export declare enum StatusType {
|
|
16
16
|
PROGRESSING = "PROGRESSING",
|
17
17
|
INPROGRESS = "INPROGRESS",
|
18
18
|
HIBERNATING = "HIBERNATING",
|
19
|
-
TIMED_OUT = "TIMED_OUT"
|
19
|
+
TIMED_OUT = "TIMED_OUT",
|
20
|
+
DELETING = "DELETING"
|
20
21
|
}
|
21
22
|
export interface StatusComponentProps {
|
22
23
|
/** The status to display, either a predefined StatusType or a custom string. */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TabGroupProps, TabProps } from './TabGroup.types';
|
2
|
-
export declare const getTabIcon: ({ icon, showError, showWarning, className, size, active, }: Pick<TabProps, "showError" | "showWarning" | "icon" | "active"> & Pick<TabGroupProps, "size"> & {
|
2
|
+
export declare const getTabIcon: ({ icon, showError, showWarning, className, size, active, iconElement, }: Pick<TabProps, "showError" | "showWarning" | "icon" | "active" | "iconElement"> & Pick<TabGroupProps, "size"> & {
|
3
3
|
className: string;
|
4
4
|
}) => JSX.Element;
|
5
5
|
export declare const getTabBadge: (badge: TabProps["badge"], className: string) => JSX.Element;
|
@@ -65,6 +65,38 @@ type TabTooltipProps = {
|
|
65
65
|
shouldWrapTooltip?: never;
|
66
66
|
tooltipProps?: never;
|
67
67
|
};
|
68
|
+
/**
|
69
|
+
* Represents the properties for defining an icon in a tab group.
|
70
|
+
* This type allows for three configurations:
|
71
|
+
*
|
72
|
+
* 1. **Icon as a functional component or string**:
|
73
|
+
* - Use the `icon` property to specify either a functional component that renders an SVG or a string representing the name of the icon.
|
74
|
+
* - The `iconElement` property must not be provided in this case.
|
75
|
+
*
|
76
|
+
* 2. **Icon as a JSX element**:
|
77
|
+
* - Use the `iconElement` property to specify a JSX element representing the icon.
|
78
|
+
* - The `icon` property must not be provided in this case.
|
79
|
+
*
|
80
|
+
* 3. **No icon**:
|
81
|
+
* - Neither `icon` nor `iconElement` is provided, resulting in no icon being displayed.
|
82
|
+
*
|
83
|
+
*/
|
84
|
+
type TabGroupIconProp = {
|
85
|
+
/**
|
86
|
+
* A functional component rendering an SVG or a string representing the icon name. Mutually exclusive with `iconElement`.
|
87
|
+
*/
|
88
|
+
icon: React.FunctionComponent<React.SVGProps<SVGSVGElement>> | IconName;
|
89
|
+
iconElement?: never;
|
90
|
+
} | {
|
91
|
+
icon?: never;
|
92
|
+
/**
|
93
|
+
* A JSX element representing the icon. Mutually exclusive with `icon`.
|
94
|
+
*/
|
95
|
+
iconElement: JSX.Element;
|
96
|
+
} | {
|
97
|
+
icon?: never;
|
98
|
+
iconElement?: never;
|
99
|
+
};
|
68
100
|
export type TabProps = {
|
69
101
|
/**
|
70
102
|
* Unique identifier for the tab.
|
@@ -79,12 +111,6 @@ export type TabProps = {
|
|
79
111
|
* @note - If passed as a `string[]`, it will be rendered with a bullet in-between strings.
|
80
112
|
*/
|
81
113
|
description?: string | string[];
|
82
|
-
/**
|
83
|
-
* Icon to be displayed in the tab.
|
84
|
-
* This can either be a functional component that renders a SVG
|
85
|
-
* or a string representing the name of the icon to be rendered by the Icon component.
|
86
|
-
*/
|
87
|
-
icon?: React.FunctionComponent<React.SVGProps<SVGSVGElement>> | IconName;
|
88
114
|
/**
|
89
115
|
* Badge number to be displayed on the tab, typically for notifications.
|
90
116
|
*/
|
@@ -107,7 +133,7 @@ export type TabProps = {
|
|
107
133
|
* Disables the tab, preventing interaction and indicating an inactive state.
|
108
134
|
*/
|
109
135
|
disabled?: boolean;
|
110
|
-
} & ConditionalTabType & TabTooltipProps;
|
136
|
+
} & ConditionalTabType & TabTooltipProps & TabGroupIconProp;
|
111
137
|
export interface TabGroupProps {
|
112
138
|
/**
|
113
139
|
* Array of tabs to be rendered.
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { TargetPlatformListTooltipProps } from './types';
|
2
|
-
declare const TargetPlatformListTooltip: ({ targetPlatforms, children }: TargetPlatformListTooltipProps) => JSX.Element;
|
2
|
+
declare const TargetPlatformListTooltip: ({ targetPlatforms, children, appendTo }: TargetPlatformListTooltipProps) => JSX.Element;
|
3
3
|
export default TargetPlatformListTooltip;
|
@@ -2,6 +2,5 @@ import { TooltipProps } from '@Common/Tooltip/types';
|
|
2
2
|
import { TargetPlatformsDTO } from '../../types';
|
3
3
|
export interface TargetPlatformBadgeListProps extends Required<Pick<TargetPlatformsDTO, 'targetPlatforms'>> {
|
4
4
|
}
|
5
|
-
export interface TargetPlatformListTooltipProps extends Pick<TargetPlatformsDTO, 'targetPlatforms'> {
|
6
|
-
children: TooltipProps['children'];
|
5
|
+
export interface TargetPlatformListTooltipProps extends Pick<TargetPlatformsDTO, 'targetPlatforms'>, Pick<TooltipProps, 'children' | 'appendTo'> {
|
7
6
|
}
|
@@ -3,8 +3,8 @@ export * from './ActionMenu';
|
|
3
3
|
export * from './ActivityIndicator';
|
4
4
|
export * from './AnimatedDeployButton';
|
5
5
|
export * from './AnimatedTimer';
|
6
|
-
export * from './AnnouncementBanner';
|
7
6
|
export * from './APIResponseHandler';
|
7
|
+
export * from './AppStatusModal';
|
8
8
|
export * from './ArtifactInfoModal';
|
9
9
|
export * from './Backdrop';
|
10
10
|
export * from './BulkOperations';
|
@@ -24,12 +24,12 @@ export * from './CountrySelect';
|
|
24
24
|
export * from './CustomInput';
|
25
25
|
export * from './DatePicker';
|
26
26
|
export * from './DeploymentConfigDiff';
|
27
|
+
export * from './DeploymentStatusBreakdown';
|
27
28
|
export * from './DetectBottom';
|
28
29
|
export * from './DiffViewer';
|
29
30
|
export * from './DynamicDataTable';
|
30
31
|
export * from './EditableTextArea';
|
31
32
|
export * from './EditImageFormField';
|
32
|
-
export * from './EnterpriseTag';
|
33
33
|
export * from './EnvironmentSelector';
|
34
34
|
export * from './Error';
|
35
35
|
export * from './ExcludedImageNode';
|
package/dist/Shared/Helpers.d.ts
CHANGED
@@ -4,7 +4,7 @@ import { StrictRJSFSchema } from '@rjsf/utils';
|
|
4
4
|
import { Pair } from 'yaml';
|
5
5
|
import { MaterialHistoryType } from '@Shared/Services/app.types';
|
6
6
|
import { ApprovalConfigDataType, MaterialInfo, SortingOrder, UserApprovalConfigType, UserApprovalInfo } from '../Common';
|
7
|
-
import { AggregatedNodes,
|
7
|
+
import { AggregatedNodes, PodMetadatum } from './Components';
|
8
8
|
import { BorderConfigType, GetTimeDifferenceParamsType, GitTriggers, IntersectionChangeHandler, IntersectionOptions, PreventOutsideFocusProps, TargetPlatformItemDTO, TargetPlatformsDTO, WebhookEventNameType } from './types';
|
9
9
|
interface HighlightSearchTextProps {
|
10
10
|
/**
|
@@ -36,7 +36,6 @@ export declare const isNullOrUndefined: (value: unknown) => boolean;
|
|
36
36
|
export declare const handleDisableSubmitOnEnter: (event: React.KeyboardEvent<HTMLFormElement>) => void;
|
37
37
|
export declare const getKeyToBooleanMapFromArray: <T extends string | number>(arr?: T[]) => Record<T, boolean>;
|
38
38
|
export declare const renderValidInputButtonTippy: (children: ReactElement) => JSX.Element;
|
39
|
-
export declare const processDeploymentStatusDetailsData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
40
39
|
export declare function aggregateNodes(nodes: any[], podMetadata: PodMetadatum[]): AggregatedNodes;
|
41
40
|
export declare const decode: (data: any, isEncoded?: boolean) => {};
|
42
41
|
export declare const isTimeStringAvailable: (time: string) => boolean;
|
@@ -101,4 +100,5 @@ export declare const deriveBorderRadiusAndBorderClassFromConfig: ({ borderConfig
|
|
101
100
|
}) => string;
|
102
101
|
export declare const getClassNameForStickyHeaderWithShadow: (isStuck: boolean, topClassName?: string) => string;
|
103
102
|
export declare const clearCookieOnLogout: () => void;
|
103
|
+
export declare const getAppDetailsURL: (appId: number | string, envId?: number | string) => string;
|
104
104
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export * from './ImageSelectionUtility';
|
2
2
|
export * from './MainContextProvider';
|
3
3
|
export * from './ThemeProvider';
|
4
|
-
export type { MainContext } from './types';
|
4
|
+
export type { MainContext, ReloadVersionConfigTypes } from './types';
|
5
5
|
export * from './UserEmailProvider';
|
@@ -1,7 +1,16 @@
|
|
1
1
|
import { Dispatch, MutableRefObject, ReactNode, SetStateAction } from 'react';
|
2
2
|
import { SERVER_MODE } from '../../Common';
|
3
3
|
import { ServerInfo } from '../Components/Header/types';
|
4
|
-
import { DevtronLicenseInfo, IntelligenceConfig, LicenseInfoDialogType } from '..';
|
4
|
+
import { DevtronLicenseInfo, IntelligenceConfig, LicenseInfoDialogType, ToastManager } from '..';
|
5
|
+
export interface ReloadVersionConfigTypes {
|
6
|
+
bgUpdated: boolean;
|
7
|
+
handleAppUpdate: () => void;
|
8
|
+
doesNeedRefresh: boolean;
|
9
|
+
updateServiceWorker: () => Promise<void>;
|
10
|
+
handleControllerChange: () => void;
|
11
|
+
updateToastRef: MutableRefObject<ReturnType<typeof ToastManager.showToast>> | null;
|
12
|
+
isRefreshing: boolean;
|
13
|
+
}
|
5
14
|
export interface MainContext {
|
6
15
|
serverMode: SERVER_MODE;
|
7
16
|
setServerMode: (serverMode: SERVER_MODE) => void;
|
@@ -46,6 +55,7 @@ export interface MainContext {
|
|
46
55
|
licenseData: DevtronLicenseInfo;
|
47
56
|
setLicenseData: Dispatch<SetStateAction<DevtronLicenseInfo>>;
|
48
57
|
canFetchHelmAppStatus: boolean;
|
58
|
+
reloadVersionConfig: ReloadVersionConfigTypes;
|
49
59
|
intelligenceConfig: IntelligenceConfig;
|
50
60
|
setIntelligenceConfig: Dispatch<SetStateAction<IntelligenceConfig>>;
|
51
61
|
}
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { OptionType } from '../Common/Types';
|
2
|
-
import {
|
1
|
+
import { DeploymentNodeType, OptionType } from '../Common/Types';
|
2
|
+
import { InfoBlockProps } from './Components';
|
3
|
+
import { CDMaterialSidebarType, ConfigKeysWithLockType, ConfigurationType, IconBaseColorType } from './types';
|
3
4
|
export declare const ARTIFACT_STATUS: {
|
4
5
|
PROGRESSING: string;
|
5
6
|
DEGRADED: string;
|
@@ -50,28 +51,6 @@ export declare enum EnvironmentTypeEnum {
|
|
50
51
|
production = "Production",
|
51
52
|
nonProduction = "Non-Production"
|
52
53
|
}
|
53
|
-
export declare enum TIMELINE_STATUS {
|
54
|
-
DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED",
|
55
|
-
GIT_COMMIT = "GIT_COMMIT",
|
56
|
-
GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED",
|
57
|
-
ARGOCD_SYNC = "ARGOCD_SYNC",
|
58
|
-
ARGOCD_SYNC_FAILED = "ARGOCD_SYNC_FAILED",
|
59
|
-
KUBECTL_APPLY = "KUBECTL_APPLY",
|
60
|
-
KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED",
|
61
|
-
KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED",
|
62
|
-
HEALTHY = "HEALTHY",
|
63
|
-
APP_HEALTH = "APP_HEALTH",
|
64
|
-
DEPLOYMENT_FAILED = "FAILED",
|
65
|
-
FETCH_TIMED_OUT = "TIMED_OUT",
|
66
|
-
UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS",
|
67
|
-
DEGRADED = "DEGRADED",
|
68
|
-
DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED",
|
69
|
-
ABORTED = "ABORTED",
|
70
|
-
INPROGRESS = "INPROGRESS",
|
71
|
-
HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED",
|
72
|
-
HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO",
|
73
|
-
HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED"
|
74
|
-
}
|
75
54
|
/**
|
76
55
|
* Constants for NO MATCHING result
|
77
56
|
*/
|
@@ -435,3 +414,18 @@ export declare const Routes: {
|
|
435
414
|
};
|
436
415
|
export declare const ENTERPRISE_SUPPORT_LINK = "enterprise@devtron.ai";
|
437
416
|
export declare const INVALID_LICENSE_KEY = "inValid";
|
417
|
+
export declare enum InfoBlockVariant {
|
418
|
+
ERROR = "error",
|
419
|
+
HELP = "help",
|
420
|
+
INFORMATION = "information",
|
421
|
+
SUCCESS = "success",
|
422
|
+
WARNING = "warning",
|
423
|
+
NEUTRAL = "neutral"
|
424
|
+
}
|
425
|
+
export type InfoBlockVariantType = 'error' | 'help' | 'information' | 'success' | 'warning' | 'neutral';
|
426
|
+
export declare const VARIANT_TO_BG_MAP: Record<InfoBlockProps['variant'], string>;
|
427
|
+
export declare const VARIANT_TO_ICON_COLOR_MAP: Record<InfoBlockProps['variant'], IconBaseColorType>;
|
428
|
+
export declare const VARIANT_TO_BORDER_MAP: Record<InfoBlockProps['variant'], string>;
|
429
|
+
export declare const DEPLOYMENT_STAGE_TO_NODE_MAP: Readonly<Record<DeploymentStageType, DeploymentNodeType>>;
|
430
|
+
export declare const APP_DETAILS_FALLBACK_POLLING_INTERVAL = 30000;
|
431
|
+
export declare const PROGRESSING_DEPLOYMENT_STATUS_POLLING_INTERVAL = 10000;
|
package/dist/Shared/types.d.ts
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
+
import { ReactNode } from 'react';
|
1
2
|
import { ParsedCountry } from 'react-international-phone';
|
2
3
|
import { Dayjs } from 'dayjs';
|
3
4
|
import { APIOptions, ApprovalConfigDataType } from '../Common/Types';
|
5
|
+
import { ReleaseMode } from '../Pages/index';
|
4
6
|
import { CommonNodeAttr, DeploymentAppTypes, OptionType, PluginType, RefVariableType, SegmentedControlProps, ServerErrors, SortingParams, TriggerBlockType, ValueConstraintType, VariableType, VulnerabilityType } from '../Common';
|
5
|
-
import { SelectPickerOptionType } from './Components';
|
6
|
-
import { BASE_CONFIGURATION_ENV_ID, EnvironmentTypeEnum, PatchOperationType } from './constants';
|
7
|
+
import { SelectPickerOptionType, WorkflowRunnerStatusDTO } from './Components';
|
8
|
+
import { BASE_CONFIGURATION_ENV_ID, DEPLOYMENT_STATUS, EnvironmentTypeEnum, PatchOperationType } from './constants';
|
7
9
|
export declare enum EnvType {
|
8
10
|
CHART = "helm_charts",
|
9
11
|
APPLICATION = "apps"
|
@@ -111,6 +113,7 @@ export interface Node {
|
|
111
113
|
canBeHibernated: boolean;
|
112
114
|
isHibernated: boolean;
|
113
115
|
hasDrift?: boolean;
|
116
|
+
status?: string;
|
114
117
|
}
|
115
118
|
export interface iNodes extends Array<iNode> {
|
116
119
|
}
|
@@ -127,6 +130,7 @@ export interface ResourceTree {
|
|
127
130
|
podMetadata: Array<PodMetaData>;
|
128
131
|
status: string;
|
129
132
|
resourcesSyncResult?: Record<string, string>;
|
133
|
+
wfrId?: number;
|
130
134
|
}
|
131
135
|
export declare enum AppType {
|
132
136
|
DEVTRON_APP = "devtron_app",
|
@@ -197,6 +201,12 @@ export interface AppDetails {
|
|
197
201
|
chartAvatar?: string;
|
198
202
|
fluxTemplateType?: string;
|
199
203
|
FluxAppStatusDetail?: FluxAppStatusDetail;
|
204
|
+
isPipelineTriggered?: boolean;
|
205
|
+
releaseMode?: ReleaseMode;
|
206
|
+
}
|
207
|
+
export interface ConfigDriftModalProps extends Required<Pick<AppDetails, 'appId'>> {
|
208
|
+
envId: number;
|
209
|
+
handleCloseModal?: () => void;
|
200
210
|
}
|
201
211
|
export declare enum RegistryType {
|
202
212
|
GIT = "git",
|
@@ -405,6 +415,7 @@ export declare enum ResourceKindType {
|
|
405
415
|
releaseChannel = "release-channel",
|
406
416
|
tenant = "tenant",
|
407
417
|
installation = "installation",
|
418
|
+
infrastructureInstallation = "installations",
|
408
419
|
environment = "environment",
|
409
420
|
cdPipeline = "cd-pipeline",
|
410
421
|
ciPipeline = "ci-pipeline",
|
@@ -941,6 +952,10 @@ export type CountryISO2Type = ParsedCountry['iso2'];
|
|
941
952
|
export declare enum ResponseHeaders {
|
942
953
|
LICENSE_STATUS = "X-License-Status"
|
943
954
|
}
|
955
|
+
export declare enum InstallationClusterType {
|
956
|
+
EKS_AUTO_CLUSTER = "eksAutoCluster",
|
957
|
+
EKS_MANUAL_CLUSTER = "eksManualCluster"
|
958
|
+
}
|
944
959
|
export type IconBaseSizeType = 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 | 28 | 30 | 32 | 34 | 36 | 40 | 42 | 44 | 48 | 72 | 80;
|
945
960
|
export type IconBaseColorType = `${'B' | 'N' | 'G' | 'Y' | 'R' | 'V' | 'O'}${`${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9}00` | '50' | '0'}` | 'white' | 'black' | null;
|
946
961
|
export interface GetTimeDifferenceParamsType {
|
@@ -955,6 +970,99 @@ export declare enum RegistryCredentialsType {
|
|
955
970
|
USERNAME_PASSWORD = "username_password",
|
956
971
|
ANONYMOUS = "anonymous"
|
957
972
|
}
|
973
|
+
export interface SyncStageResourceDetail {
|
974
|
+
id: number;
|
975
|
+
cdWorkflowRunnerId: number;
|
976
|
+
resourceGroup: string;
|
977
|
+
resourceKind: string;
|
978
|
+
resourceName: string;
|
979
|
+
resourcePhase: string;
|
980
|
+
resourceStatus: string;
|
981
|
+
statusMessage: string;
|
982
|
+
}
|
983
|
+
export declare enum TIMELINE_STATUS {
|
984
|
+
DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED",
|
985
|
+
GIT_COMMIT = "GIT_COMMIT",
|
986
|
+
GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED",
|
987
|
+
ARGOCD_SYNC = "ARGOCD_SYNC",
|
988
|
+
ARGOCD_SYNC_FAILED = "ARGOCD_SYNC_FAILED",
|
989
|
+
KUBECTL_APPLY = "KUBECTL_APPLY",
|
990
|
+
KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED",
|
991
|
+
KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED",
|
992
|
+
HEALTHY = "HEALTHY",
|
993
|
+
APP_HEALTH = "APP_HEALTH",
|
994
|
+
DEPLOYMENT_FAILED = "FAILED",
|
995
|
+
FETCH_TIMED_OUT = "TIMED_OUT",
|
996
|
+
UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS",
|
997
|
+
DEGRADED = "DEGRADED",
|
998
|
+
DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED",
|
999
|
+
ABORTED = "ABORTED",
|
1000
|
+
INPROGRESS = "INPROGRESS",
|
1001
|
+
HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED",
|
1002
|
+
HELM_PACKAGE_GENERATION_FAILED = "HELM_PACKAGE_GENERATION_FAILED",
|
1003
|
+
HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO",
|
1004
|
+
HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED"
|
1005
|
+
}
|
1006
|
+
export interface DeploymentStatusDetailsTimelineType extends Pick<SyncStageResourceDetail, 'id' | 'cdWorkflowRunnerId'> {
|
1007
|
+
status: TIMELINE_STATUS;
|
1008
|
+
statusDetail: string;
|
1009
|
+
statusTime: string;
|
1010
|
+
resourceDetails?: SyncStageResourceDetail[];
|
1011
|
+
}
|
1012
|
+
export interface DeploymentStatusDetailsType {
|
1013
|
+
deploymentFinishedOn: string;
|
1014
|
+
deploymentStartedOn: string;
|
1015
|
+
triggeredBy: string;
|
1016
|
+
statusFetchCount: number;
|
1017
|
+
statusLastFetchedAt: string;
|
1018
|
+
timelines: DeploymentStatusDetailsTimelineType[];
|
1019
|
+
wfrStatus?: WorkflowRunnerStatusDTO;
|
1020
|
+
isDeploymentWithoutApproval: boolean;
|
1021
|
+
}
|
1022
|
+
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;
|
1023
|
+
export type DeploymentStatusBreakdownItemIconType = 'success' | 'failed' | 'unknown' | 'inprogress' | 'unreachable' | 'loading' | 'disconnect' | 'timed_out' | '';
|
1024
|
+
export declare enum DeploymentPhaseType {
|
1025
|
+
PRE_SYNC = "PreSync",
|
1026
|
+
SYNC = "Sync",
|
1027
|
+
POST_SYNC = "PostSync",
|
1028
|
+
SKIP = "Skip",
|
1029
|
+
SYNC_FAIL = "SyncFail"
|
1030
|
+
}
|
1031
|
+
export interface DeploymentStatusBreakdownItemType {
|
1032
|
+
icon: DeploymentStatusBreakdownItemIconType;
|
1033
|
+
displayText: ReactNode;
|
1034
|
+
displaySubText: string;
|
1035
|
+
time: string;
|
1036
|
+
/**
|
1037
|
+
* Shown in accordion details if type is TIMELINE_STATUS.KUBECTL_APPLY to display resource details
|
1038
|
+
*/
|
1039
|
+
resourceDetails?: SyncStageResourceDetail[];
|
1040
|
+
isCollapsed?: boolean;
|
1041
|
+
/**
|
1042
|
+
* Sub-Steps in accordion details in case type is TIMELINE_STATUS.KUBECTL_APPLY
|
1043
|
+
*/
|
1044
|
+
subSteps?: {
|
1045
|
+
icon: DeploymentStatusBreakdownItemIconType;
|
1046
|
+
message: string;
|
1047
|
+
phase?: DeploymentPhaseType;
|
1048
|
+
}[];
|
1049
|
+
/**
|
1050
|
+
* To be shown in accordion details below heading tile
|
1051
|
+
*/
|
1052
|
+
timelineStatus?: ReactNode;
|
1053
|
+
showHelmManifest?: boolean;
|
1054
|
+
}
|
1055
|
+
export interface DeploymentStatusDetailsBreakdownDataType {
|
1056
|
+
deploymentStatus: (typeof DEPLOYMENT_STATUS)[keyof typeof DEPLOYMENT_STATUS];
|
1057
|
+
deploymentTriggerTime: string;
|
1058
|
+
deploymentEndTime: string;
|
1059
|
+
triggeredBy: string;
|
1060
|
+
deploymentStatusBreakdown: Partial<Record<DeploymentStatusTimelineType, DeploymentStatusBreakdownItemType>>;
|
1061
|
+
errorBarConfig?: {
|
1062
|
+
deploymentErrorMessage: string;
|
1063
|
+
nextTimelineToProcess: DeploymentStatusTimelineType;
|
1064
|
+
} | null;
|
1065
|
+
}
|
958
1066
|
export interface IntelligenceConfig {
|
959
1067
|
clusterId: number;
|
960
1068
|
metadata: Record<string, string>;
|