@devtron-labs/devtron-fe-common-lib 1.13.0-pre-7 → 1.13.0-redfish-preview-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@code-editor-DNvUxMqu.js → @common-rjsf-CWkKRfHL.js} +18950 -19444
- package/dist/{@framer-motion-eB9Rj-_8.js → @framer-motion-BL6-Hrrc.js} +1 -1
- package/dist/{@react-dates-CJpoumtu.js → @react-dates-CIHHgq4p.js} +14 -14
- package/dist/{@react-select-CUbAbK6L.js → @react-select-BVKpsqGO.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-Ckb5S1RC.js → @react-virtualized-sticky-tree-CjKfeUxB.js} +1 -1
- package/dist/{@vendor-4cEd9dja.js → @vendor-CekuMgQx.js} +33875 -33865
- package/dist/Common/Checkbox.d.ts +5 -0
- package/dist/Common/Common.service.d.ts +2 -2
- package/dist/Common/Constants.d.ts +2 -2
- package/dist/Common/Helper.d.ts +1 -5
- 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 +1 -4
- package/dist/Common/Types.d.ts +0 -2
- package/dist/Common/index.d.ts +3 -2
- package/dist/Pages/GlobalConfigurations/index.d.ts +0 -1
- package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/types.d.ts +5 -38
- package/dist/Shared/Components/ActionMenu/ActionMenu.component.d.ts +2 -1
- package/dist/Shared/Components/ActionMenu/ActionMenuOption.d.ts +3 -0
- package/dist/Shared/Components/ActionMenu/index.d.ts +2 -2
- package/dist/Shared/Components/ActionMenu/types.d.ts +11 -88
- package/dist/Shared/Components/AnnouncementBanner/AnnouncementBanner.d.ts +6 -0
- package/dist/Shared/Components/AnnouncementBanner/index.d.ts +1 -0
- package/dist/Shared/Components/BulkOperations/types.d.ts +2 -2
- package/dist/Shared/Components/Button/types.d.ts +1 -3
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +3 -0
- 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/ErrorInfoStatusBar.d.ts +2 -0
- package/dist/Shared/Components/CICDHistory/LogStageAccordion.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/constants.d.ts +0 -1
- package/dist/Shared/Components/CICDHistory/index.d.ts +1 -0
- package/dist/Shared/Components/CICDHistory/service.d.ts +0 -3
- package/dist/Shared/Components/CICDHistory/types.d.ts +77 -11
- package/dist/Shared/Components/CICDHistory/utils.d.ts +3 -7
- package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +2 -0
- package/dist/Shared/Components/EnterpriseTag/index.d.ts +1 -0
- package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
- package/dist/Shared/Components/Error/types.d.ts +0 -4
- package/dist/Shared/Components/Error/utils.d.ts +0 -1
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +3 -1
- package/dist/Shared/Components/Header/HelpNav.d.ts +3 -0
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
- package/dist/Shared/Components/Header/constants.d.ts +4 -5
- package/dist/Shared/Components/Header/types.d.ts +10 -15
- package/dist/Shared/Components/Header/utils.d.ts +1 -5
- package/dist/Shared/Components/Icon/Icon.d.ts +3 -35
- package/dist/Shared/Components/Icon/IconBase.d.ts +1 -1
- package/dist/Shared/Components/Icon/types.d.ts +8 -30
- 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 +1 -2
- package/dist/Shared/Components/LoginBanner/index.d.ts +0 -2
- 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 +0 -2
- package/dist/Shared/Components/SelectPicker/index.d.ts +0 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +0 -4
- package/dist/Shared/Components/StatusComponent/types.d.ts +1 -2
- package/dist/Shared/Components/TabGroup/TabGroup.helpers.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +7 -33
- package/dist/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.d.ts +1 -1
- package/dist/Shared/Components/TargetPlatforms/types.d.ts +2 -1
- 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 +1 -11
- package/dist/Shared/constants.d.ts +24 -18
- package/dist/Shared/types.d.ts +2 -110
- package/dist/assets/@common-rjsf.css +1 -1
- package/dist/assets/ic-charts.f41e185f.svg +19 -0
- package/dist/assets/ic-chat-circle-dots.e15514f8.svg +23 -0
- package/dist/assets/{ic-checkbox-unselected.ab91cdba.svg → ic-check-grey.f556e371.svg} +4 -2
- package/dist/assets/ic-disconnected.551d6161.svg +29 -0
- package/dist/assets/ic-discord-fill.1a1b291d.svg +19 -0
- package/dist/assets/ic-feedback.d32fa6b0.svg +19 -0
- package/dist/assets/ic-files.fc290dee.svg +19 -0
- package/dist/assets/{ic-checkbox-selected.c5539d6f.svg → ic-k8s-job.f4414c10.svg} +3 -4
- package/dist/assets/ic-login-devtron-logo.702a1d04.svg +22 -0
- package/dist/assets/{ic-checkbox-hover.93e8d66a.svg → ic-medal.a2e911f5.svg} +3 -4
- package/dist/assets/ic-megaphone.b9f9a901.svg +19 -0
- package/dist/assets/ic-onboarding.c98f9ef9.svg +19 -0
- package/dist/assets/{ic-caret-down-small.7c4f88bf.svg → ic-terminal.d875cce7.svg} +1 -1
- package/dist/assets/ic-thermometer.1bc48079.svg +3 -0
- package/dist/assets/{ic-checkbox-hover.0151d832.svg → ic-timeout-red.5eda1010.svg} +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +850 -881
- package/package.json +1 -1
- package/dist/@common-rjsf-DkqEvGgv.js +0 -617
- package/dist/Common/Checkbox/Checkbox.d.ts +0 -2
- package/dist/Common/Checkbox/index.d.ts +0 -1
- package/dist/Common/Drawer/index.d.ts +0 -1
- package/dist/Common/EmptyState/index.d.ts +0 -2
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +0 -8
- package/dist/Shared/Components/ActionMenu/ActionMenuItem.d.ts +0 -2
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +0 -275
- package/dist/Shared/Components/ActionMenu/utils.d.ts +0 -7
- package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +0 -2
- package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +0 -3
- package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +0 -3
- package/dist/Shared/Components/AppStatusModal/AppStatusModalTabList.d.ts +0 -3
- package/dist/Shared/Components/AppStatusModal/constants.d.ts +0 -4
- package/dist/Shared/Components/AppStatusModal/index.d.ts +0 -3
- package/dist/Shared/Components/AppStatusModal/service.d.ts +0 -4
- package/dist/Shared/Components/AppStatusModal/types.d.ts +0 -84
- package/dist/Shared/Components/AppStatusModal/utils.d.ts +0 -8
- package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +0 -10
- package/dist/Shared/Components/DeploymentStatusBreakdown/index.d.ts +0 -3
- package/dist/Shared/Components/DeploymentStatusBreakdown/types.d.ts +0 -22
- package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +0 -20
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +0 -10
- package/dist/Shared/Components/Header/HeaderWithCreateButton/utils.d.ts +0 -2
- package/dist/Shared/Components/Header/HelpButton.d.ts +0 -2
- package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +0 -3
- package/dist/Shared/Components/Popover/Popover.component.d.ts +0 -8
- package/dist/Shared/Components/Popover/index.d.ts +0 -3
- package/dist/Shared/Components/Popover/types.d.ts +0 -105
- package/dist/Shared/Components/Popover/usePopover.hook.d.ts +0 -2
- package/dist/Shared/Components/Popover/utils.d.ts +0 -92
- package/dist/assets/@code-editor.css +0 -1
- package/dist/assets/ic-amazon-eks.13404569.svg +0 -5
- package/dist/assets/ic-arrow-square-out.59bb549a.svg +0 -3
- package/dist/assets/ic-azure-aks.a9e437d5.svg +0 -46
- package/dist/assets/ic-bulk-check.0f698efa.svg +0 -21
- package/dist/assets/ic-bulk-check.99e92f7a.svg +0 -21
- package/dist/assets/ic-caret-right.0ff813c2.svg +0 -3
- package/dist/assets/ic-celebration.77350694.svg +0 -238
- package/dist/assets/ic-chat-circle-online.51348da5.svg +0 -4
- package/dist/assets/ic-checkbox-intermediate.24c6d21d.svg +0 -22
- package/dist/assets/ic-checkbox-intermediate.2a2d6c49.svg +0 -22
- package/dist/assets/ic-checkbox-selected.47444fab.svg +0 -20
- package/dist/assets/ic-checkbox-unselected.8054e3d7.svg +0 -19
- package/dist/assets/ic-cloud-vms.27ea954e.svg +0 -5
- package/dist/assets/ic-cluster.71ba9e26.svg +0 -3
- package/dist/assets/ic-delete-dots.5380e0d0.svg +0 -62
- package/dist/assets/ic-disconnect.2ad261fc.svg +0 -3
- package/dist/assets/ic-discord-fill.103b579a.svg +0 -3
- package/dist/assets/ic-edit.3249ed32.svg +0 -3
- package/dist/assets/ic-enterprise-feat.5ee25d5b.svg +0 -3
- package/dist/assets/ic-enterprise-tag.209dd129.svg +0 -43
- package/dist/assets/ic-expand-right-sm.9b347d49.svg +0 -3
- package/dist/assets/ic-expand-sm.a9a724f8.svg +0 -3
- package/dist/assets/ic-file-edit.96a172c7.svg +0 -3
- package/dist/assets/ic-file.c3c45e13.svg +0 -3
- package/dist/assets/ic-files.b0ebea46.svg +0 -3
- package/dist/assets/ic-gift-gradient.7690a246.svg +0 -9
- package/dist/assets/ic-gift.9b048fc7.svg +0 -3
- package/dist/assets/ic-gitlab.ac331d67.svg +0 -31
- package/dist/assets/ic-google-gke.07314724.svg +0 -9
- package/dist/assets/ic-install.28c3beec.svg +0 -3
- package/dist/assets/ic-k3s.7f4bf72d.svg +0 -3
- package/dist/assets/ic-kind.bd8ee992.svg +0 -9
- package/dist/assets/ic-laptop.485e21b4.svg +0 -3
- package/dist/assets/ic-man-on-rocket.7f67e914.svg +0 -94
- package/dist/assets/ic-megaphone-left.6b2a00b7.svg +0 -3
- package/dist/assets/ic-megaphone-right.9d6bcd36.svg +0 -3
- package/dist/assets/ic-minikube.d9ff1575.svg +0 -9
- package/dist/assets/ic-mobile.7c649251.svg +0 -4
- package/dist/assets/ic-path.d4fef3b0.svg +0 -3
- package/dist/assets/ic-sparkle-color.01c0be88.svg +0 -1
- package/dist/assets/ic-ubuntu.fa47508f.svg +0 -4
- package/dist/assets/ic-user-circle.7d7152fa.svg +0 -3
- package/dist/assets/ic-wifi-slash.d0390749.svg +0 -3
@@ -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,
|
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
|
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";
|
package/dist/Common/Helper.d.ts
CHANGED
@@ -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
|
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" | "
|
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>>>;
|
@@ -3,8 +3,16 @@ export type Entity = {
|
|
3
3
|
label: string;
|
4
4
|
value: number;
|
5
5
|
};
|
6
|
-
|
6
|
+
type EntityPropType = {
|
7
|
+
hideLegend?: false;
|
7
8
|
entities: NonNullable<Entity[]>;
|
9
|
+
} | {
|
10
|
+
hideLegend: true;
|
11
|
+
entities: NonNullable<Omit<Entity, 'label'> & {
|
12
|
+
label?: never;
|
13
|
+
}>[];
|
14
|
+
};
|
15
|
+
export type SegmentedBarChartProps = {
|
8
16
|
rootClassName?: string;
|
9
17
|
countClassName?: string;
|
10
18
|
labelClassName?: string;
|
@@ -12,4 +20,5 @@ export interface SegmentedBarChartProps {
|
|
12
20
|
swapLegendAndBar?: boolean;
|
13
21
|
showAnimationOnBar?: boolean;
|
14
22
|
isLoading?: boolean;
|
15
|
-
}
|
23
|
+
} & EntityPropType;
|
24
|
+
export {};
|
@@ -1,5 +1,4 @@
|
|
1
|
-
|
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;
|
package/dist/Common/Types.d.ts
CHANGED
@@ -75,7 +75,6 @@ export interface CheckboxProps {
|
|
75
75
|
onClick?: (event: any) => void;
|
76
76
|
id?: string;
|
77
77
|
dataTestId?: string;
|
78
|
-
children?: ReactNode;
|
79
78
|
}
|
80
79
|
export interface TippyCustomizedProps extends Pick<TippyProps, 'appendTo'> {
|
81
80
|
theme: TippyTheme;
|
@@ -111,7 +110,6 @@ export interface InfoIconTippyProps extends Pick<TippyCustomizedProps, 'heading'
|
|
111
110
|
dataTestid?: string;
|
112
111
|
children?: TippyCustomizedProps['children'];
|
113
112
|
iconClassName?: string;
|
114
|
-
buttonPadding?: string;
|
115
113
|
}
|
116
114
|
export interface GenericEmptyStateType {
|
117
115
|
title: ReactNode;
|
package/dist/Common/index.d.ts
CHANGED
@@ -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
|
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';
|
@@ -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: (
|
10
|
+
export declare const getClusterListRaw: () => Promise<ResponseType<ClusterDetail[]>>;
|
@@ -1,20 +1,11 @@
|
|
1
1
|
import { Dispatch, ReactElement, SetStateAction } from 'react';
|
2
|
-
import {
|
2
|
+
import { TabProps } from '../../Shared/Components';
|
3
3
|
import { NodeActionRequest } from './ResourceBrowser.Types';
|
4
4
|
export declare enum ClusterFiltersType {
|
5
5
|
ALL_CLUSTERS = "all",
|
6
6
|
HEALTHY = "healthy",
|
7
7
|
UNHEALTHY = "unhealthy"
|
8
8
|
}
|
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
9
|
export declare enum ClusterStatusType {
|
19
10
|
HEALTHY = "healthy",
|
20
11
|
UNHEALTHY = "unhealthy",
|
@@ -52,7 +43,6 @@ export interface ClusterCapacityType {
|
|
52
43
|
nodeErrors: Record<string, string>[];
|
53
44
|
status?: ClusterStatusType;
|
54
45
|
isProd: boolean;
|
55
|
-
installationId?: number;
|
56
46
|
}
|
57
47
|
export interface ClusterDetail extends ClusterCapacityType {
|
58
48
|
id: number;
|
@@ -81,31 +71,8 @@ export interface AdditionalConfirmationModalOptionsProps<T = unknown> {
|
|
81
71
|
setOptionsData: Dispatch<SetStateAction<T>>;
|
82
72
|
children?: ReactElement;
|
83
73
|
}
|
84
|
-
export
|
85
|
-
|
86
|
-
|
87
|
-
|
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
|
-
}
|
74
|
+
export type NodeDetailTabsInfoType = (Pick<TabProps, 'label' | 'icon'> & {
|
75
|
+
id: string;
|
76
|
+
renderComponent: () => JSX.Element;
|
77
|
+
})[];
|
111
78
|
export {};
|
@@ -1,2 +1,3 @@
|
|
1
1
|
import { ActionMenuProps } from './types';
|
2
|
-
|
2
|
+
declare const ActionMenu: ({ options, disableDescriptionEllipsis, children, onClick }: ActionMenuProps) => JSX.Element;
|
3
|
+
export default ActionMenu;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export
|
2
|
-
export type {
|
1
|
+
export { default as ActionMenu } from './ActionMenu.component';
|
2
|
+
export type { ActionMenuProps } from './types';
|
@@ -1,96 +1,19 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
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
|
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 @@
|
|
1
|
+
export { default as AnnouncementBanner } from './AnnouncementBanner';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
2
|
import { APIOptions, DrawerProps } from '../../../Common/index';
|
3
|
-
import {
|
3
|
+
import { Entity } from '@Common/SegmentedBarChart/types';
|
4
4
|
import { ConfirmationModalProps } from '../ConfirmationModal/types';
|
5
5
|
import { getProgressingStateForStatus } from '../Security';
|
6
6
|
interface BulkOperationAdditionalKeysType {
|
@@ -36,7 +36,7 @@ export type BulkOperationResultWithIdType = BulkOperationResultType & Record<'id
|
|
36
36
|
export interface OperationResultStoreType {
|
37
37
|
addResult: (result: BulkOperationResultType) => number;
|
38
38
|
getResults: (sortComparator: (a: BulkOperationResultType, b: BulkOperationResultType) => number) => BulkOperationResultWithIdType[];
|
39
|
-
getBarChartEntities: () =>
|
39
|
+
getBarChartEntities: () => NonNullable<Entity[]>;
|
40
40
|
getResultsStatusCount: () => Record<BulkOperationResultType['status'], number>;
|
41
41
|
getSize: () => number;
|
42
42
|
updateResultStatus: (id: number, result: Partial<Pick<BulkOperationResultType, 'message' | 'renderContentAtResultRowEnd'>> & (FailedOperationType | OtherStatusOperationType)) => void;
|
@@ -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",
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { DeploymentStatusDetailBreakdownType } from './types';
|
2
|
-
declare const DeploymentStatusDetailBreakdown: ({ deploymentStatusDetailsBreakdownData, isVirtualEnvironment,
|
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,
|
2
|
+
export declare const DeploymentStatusDetailRow: ({ type, hideVerticalConnector, deploymentDetailedData, }: DeploymentStatusDetailRowType) => 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,
|
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[];
|
@@ -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,
|
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,
|
5
|
+
import { AggregationKeys, 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
|
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
|
407
|
-
type:
|
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;
|
@@ -685,7 +752,6 @@ export interface LogStageAccordionProps extends StageDetailType, Pick<LogsRender
|
|
685
752
|
*/
|
686
753
|
isLoading: boolean;
|
687
754
|
searchIndex: string;
|
688
|
-
logsRendererRef: MutableRefObject<HTMLDivElement>;
|
689
755
|
}
|
690
756
|
export interface CreateMarkupReturnType {
|
691
757
|
__html: string;
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { ReactElement } from 'react';
|
2
|
-
import {
|
3
|
-
import {
|
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 @@
|
|
1
|
+
export { default as EnterpriseTag } from './EnterpriseTag.component';
|