@devtron-labs/devtron-fe-common-lib 1.12.0-beta-5 → 1.12.0-beta-6
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-Bgkd1h1Y.js → @code-editor-O6rcFNCZ.js} +8286 -8453
- package/dist/{@common-rjsf-kqKDCxYD.js → @common-rjsf-X2jUWono.js} +20 -20
- package/dist/{@framer-motion-B-tsB4kf.js → @framer-motion-BaOj5B1h.js} +1 -1
- package/dist/{@react-dates-DQl_saOu.js → @react-dates-CdRpENvm.js} +1 -1
- package/dist/{@react-select-Cq3Neli-.js → @react-select-BLSAqXV1.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-DzwGuB_x.js → @react-virtualized-sticky-tree-BLmFnJWD.js} +1 -1
- package/dist/{@vendor-B47rbd8d.js → @vendor-SjXFleuT.js} +17314 -17314
- package/dist/Common/Common.service.d.ts +2 -2
- package/dist/Common/Constants.d.ts +1 -2
- package/dist/Common/Helper.d.ts +0 -2
- package/dist/Common/Toggle/Toggle.d.ts +1 -4
- package/dist/Common/Types.d.ts +0 -1
- package/dist/Common/index.d.ts +3 -2
- 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 +38 -0
- package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +3 -0
- 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/types.d.ts +6 -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/Icon/Icon.d.ts +5 -2
- package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -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/SelectPicker/common.d.ts +1 -0
- package/dist/Shared/Components/SelectPicker/index.d.ts +1 -0
- package/dist/Shared/Components/StatusComponent/types.d.ts +2 -1
- package/dist/Shared/Components/index.d.ts +0 -2
- package/dist/Shared/types.d.ts +5 -5
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-amazon-eks.13404569.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-enterprise-feat.5ee25d5b.svg +3 -0
- package/dist/assets/ic-enterprise-tag.209dd129.svg +43 -0
- package/dist/index.js +693 -692
- package/package.json +1 -1
- package/dist/Common/Drawer/index.d.ts +0 -1
- package/dist/Common/EmptyState/index.d.ts +0 -2
- 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/constants.d.ts +0 -4
- package/dist/Shared/Components/AppStatusModal/index.d.ts +0 -2
- package/dist/Shared/Components/AppStatusModal/service.d.ts +0 -3
- package/dist/Shared/Components/AppStatusModal/types.d.ts +0 -35
- package/dist/Shared/Components/AppStatusModal/utils.d.ts +0 -5
- package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +0 -2
- package/dist/Shared/Components/EnterpriseTag/index.d.ts +0 -1
- package/dist/assets/ic-expand-sm.a9a724f8.svg +0 -3
- package/dist/assets/ic-login-devtron-logo.702a1d04.svg +0 -22
- package/dist/assets/ic-medal.a2e911f5.svg +0 -19
@@ -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, EnvAppsMetaDTO, GetAppsInfoForEnvProps } from './Types';
|
3
|
+
import { TeamList, ResponseType, DeploymentNodeType, CDMaterialServiceEnum, CDMaterialServiceQueryParams, CDMaterialResponseType, CDMaterialFilterQuery, EnvironmentListHelmResponse, UserApprovalMetadataType, GlobalVariableOptionType, UserRole, APIOptions, 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): Promise<EnvironmentListHelmResponse>;
|
24
|
+
export declare function getNamespaceListMin(clusterIdsCsv: string, abortControllerRef?: APIOptions['abortControllerRef']): Promise<EnvironmentListHelmResponse>;
|
25
25
|
export declare function getWebhookEventsForEventId(eventId: string | number): Promise<ResponseType<any>>;
|
26
26
|
/**
|
27
27
|
*
|
@@ -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;
|
@@ -65,6 +64,7 @@ export declare const URLS: {
|
|
65
64
|
readonly COMPARE_CLUSTERS: "/compare-clusters";
|
66
65
|
readonly APP_CONFIG: "edit";
|
67
66
|
readonly GLOBAL_CONFIG: "/global-config";
|
67
|
+
readonly CONFIG_DRIFT: "config-drift";
|
68
68
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP: "/global-config/templates/devtron-apps";
|
69
69
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_CREATE: "/global-config/templates/devtron-apps/create";
|
70
70
|
readonly GLOBAL_CONFIG_TEMPLATES_DEVTRON_APP_DETAIL: "/global-config/templates/devtron-apps/detail/:appId";
|
@@ -111,7 +111,6 @@ export declare const ROUTES: {
|
|
111
111
|
readonly ATTRIBUTES_CREATE: "attributes/create";
|
112
112
|
readonly ATTRIBUTES_UPDATE: "attributes/update";
|
113
113
|
readonly APP_LIST_MIN: "app/min";
|
114
|
-
readonly APP_DETAIL: "app/detail";
|
115
114
|
readonly CLUSTER_LIST_MIN: "cluster/autocomplete";
|
116
115
|
readonly CLUSTER_LIST_RAW: "k8s/capacity/cluster/list/raw";
|
117
116
|
readonly PLUGIN_GLOBAL_LIST_DETAIL_V2: "plugin/global/list/detail/v2";
|
package/dist/Common/Helper.d.ts
CHANGED
@@ -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
|
*/
|
@@ -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
@@ -110,7 +110,6 @@ export interface InfoIconTippyProps extends Pick<TippyCustomizedProps, 'heading'
|
|
110
110
|
dataTestid?: string;
|
111
111
|
children?: TippyCustomizedProps['children'];
|
112
112
|
iconClassName?: string;
|
113
|
-
buttonPadding?: string;
|
114
113
|
}
|
115
114
|
export interface GenericEmptyStateType {
|
116
115
|
title: ReactNode;
|
package/dist/Common/index.d.ts
CHANGED
@@ -16,8 +16,9 @@ export { default as DevtronCopyright } from './DevtronCopyright';
|
|
16
16
|
export * from './DevtronProgressing';
|
17
17
|
export * from './Dialogs';
|
18
18
|
export * from './DraggableWrapper';
|
19
|
-
export * from './Drawer';
|
20
|
-
export
|
19
|
+
export * from './Drawer/Drawer';
|
20
|
+
export { default as GenericEmptyState } from './EmptyState/GenericEmptyState';
|
21
|
+
export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEmptyState';
|
21
22
|
export { default as ErrorScreenManager } from './ErrorScreenManager';
|
22
23
|
export { default as ErrorScreenNotAuthorized } from './ErrorScreenNotAuthorized';
|
23
24
|
export * from './GenericDescription';
|
@@ -0,0 +1 @@
|
|
1
|
+
export type { NewClusterFormFooterProps, NewClusterFormProps } from './types';
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export interface NewClusterFormFooterProps {
|
2
|
+
apiCallInProgress: boolean;
|
3
|
+
handleModalClose: () => void;
|
4
|
+
closeButtonText?: string;
|
5
|
+
}
|
6
|
+
export interface NewClusterFormProps extends Pick<NewClusterFormFooterProps, 'handleModalClose'> {
|
7
|
+
FooterComponent: React.FunctionComponent<NewClusterFormFooterProps> & Record<'CTA' | 'Start', React.FunctionComponent<{}>>;
|
8
|
+
}
|
@@ -7,4 +7,4 @@ export declare const deleteResource: (resourceListPayload: ResourceListPayloadTy
|
|
7
7
|
export declare const deleteNodeCapacity: (requestPayload: NodeActionRequest, abortControllerRef?: APIOptions["abortControllerRef"]) => Promise<ResponseType>;
|
8
8
|
export declare const cordonNodeCapacity: (requestPayload: NodeCordonRequest, abortControllerRef?: APIOptions["abortControllerRef"]) => Promise<ResponseType>;
|
9
9
|
export declare const drainNodeCapacity: (requestPayload: NodeActionRequest, abortControllerRef?: APIOptions["abortControllerRef"]) => Promise<ResponseType>;
|
10
|
-
export declare const getClusterListRaw: () => Promise<ResponseType<ClusterDetail[]>>;
|
10
|
+
export declare const getClusterListRaw: (abortControllerRef?: APIOptions["abortControllerRef"]) => Promise<ResponseType<ClusterDetail[]>>;
|
@@ -1,10 +1,20 @@
|
|
1
1
|
import { Dispatch, ReactElement, SetStateAction } from 'react';
|
2
|
+
import { InstallationClusterType } from '../../Shared/types';
|
2
3
|
import { NodeActionRequest } from './ResourceBrowser.Types';
|
3
4
|
export declare enum ClusterFiltersType {
|
4
5
|
ALL_CLUSTERS = "all",
|
5
6
|
HEALTHY = "healthy",
|
6
7
|
UNHEALTHY = "unhealthy"
|
7
8
|
}
|
9
|
+
export declare enum InstallationClusterStatus {
|
10
|
+
Creating = "Creating",
|
11
|
+
Updated = "Updated",
|
12
|
+
Updating = "Updating",
|
13
|
+
Installed = "Installed",
|
14
|
+
Failed = "Failed",
|
15
|
+
Deleting = "Deleting",
|
16
|
+
Deleted = "Deleted"
|
17
|
+
}
|
8
18
|
export declare enum ClusterStatusType {
|
9
19
|
HEALTHY = "healthy",
|
10
20
|
UNHEALTHY = "unhealthy",
|
@@ -42,6 +52,7 @@ export interface ClusterCapacityType {
|
|
42
52
|
nodeErrors: Record<string, string>[];
|
43
53
|
status?: ClusterStatusType;
|
44
54
|
isProd: boolean;
|
55
|
+
installationId?: number;
|
45
56
|
}
|
46
57
|
export interface ClusterDetail extends ClusterCapacityType {
|
47
58
|
id: number;
|
@@ -70,4 +81,31 @@ export interface AdditionalConfirmationModalOptionsProps<T = unknown> {
|
|
70
81
|
setOptionsData: Dispatch<SetStateAction<T>>;
|
71
82
|
children?: ReactElement;
|
72
83
|
}
|
84
|
+
export interface InstallationClusterStepType {
|
85
|
+
lastTransitionTime: string;
|
86
|
+
lastProbeTime: string;
|
87
|
+
message: string;
|
88
|
+
reason: string;
|
89
|
+
status: 'False' | 'True' | 'Unknown';
|
90
|
+
type: string;
|
91
|
+
}
|
92
|
+
export interface InstallationClusterConfigDTO {
|
93
|
+
installationId: number;
|
94
|
+
installationStatus: InstallationClusterStatus;
|
95
|
+
name: string;
|
96
|
+
values: string;
|
97
|
+
valuesSchema: string;
|
98
|
+
isProd: boolean;
|
99
|
+
installationType: InstallationClusterType;
|
100
|
+
conditions: InstallationClusterStepType[];
|
101
|
+
installedEntityId: number | 0;
|
102
|
+
}
|
103
|
+
export interface InstallationClusterConfigType extends Pick<InstallationClusterConfigDTO, 'installationType' | 'conditions'> {
|
104
|
+
schema: object;
|
105
|
+
values: object;
|
106
|
+
installationId: number;
|
107
|
+
name: string;
|
108
|
+
status: InstallationClusterStatus;
|
109
|
+
correspondingClusterId: number | 0;
|
110
|
+
}
|
73
111
|
export {};
|
@@ -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[];
|
@@ -507,6 +507,12 @@ export interface DeploymentHistorySidebarType {
|
|
507
507
|
deploymentHistoryList: DeploymentTemplateList[];
|
508
508
|
setDeploymentHistoryList: React.Dispatch<React.SetStateAction<DeploymentTemplateList[]>>;
|
509
509
|
}
|
510
|
+
export interface AppStatusDetailsChartType {
|
511
|
+
filterRemoveHealth?: boolean;
|
512
|
+
showFooter: boolean;
|
513
|
+
showConfigDriftInfo?: boolean;
|
514
|
+
onClose?: () => void;
|
515
|
+
}
|
510
516
|
export interface StatusFilterButtonType {
|
511
517
|
nodes: Array<Node>;
|
512
518
|
selectedTab: string;
|
@@ -3,6 +3,7 @@ export declare const iconMap: {
|
|
3
3
|
'ic-73strings': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
4
4
|
'ic-aborted': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
5
5
|
'ic-add': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
6
|
+
'ic-amazon-eks': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
6
7
|
'ic-apica': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
7
8
|
'ic-app-group': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
8
9
|
'ic-arrow-clockwise': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -29,6 +30,7 @@ export declare const iconMap: {
|
|
29
30
|
'ic-clock': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
30
31
|
'ic-close-large': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
31
32
|
'ic-close-small': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
33
|
+
'ic-cluster': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
32
34
|
'ic-code': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
33
35
|
'ic-container': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
34
36
|
'ic-cookr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -36,6 +38,7 @@ export declare const iconMap: {
|
|
36
38
|
'ic-cpu': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
37
39
|
'ic-crown': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
38
40
|
'ic-cube': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
41
|
+
'ic-delete-dots': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
39
42
|
'ic-delete-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
40
43
|
'ic-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
41
44
|
'ic-delhivery': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -43,9 +46,10 @@ export declare const iconMap: {
|
|
43
46
|
'ic-devtron': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
44
47
|
'ic-dockerhub': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
45
48
|
'ic-ecr': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
49
|
+
'ic-enterprise-feat': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
50
|
+
'ic-enterprise-tag': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
46
51
|
'ic-env': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
47
52
|
'ic-error': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
48
|
-
'ic-expand-sm': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
49
53
|
'ic-failure': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
50
54
|
'ic-file-key': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
51
55
|
'ic-folder-user': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -74,7 +78,6 @@ export declare const iconMap: {
|
|
74
78
|
'ic-lightning-fill': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
75
79
|
'ic-lightning': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
76
80
|
'ic-livspace': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
77
|
-
'ic-login-devtron-logo': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
78
81
|
'ic-logout': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
79
82
|
'ic-medium-delete': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
80
83
|
'ic-medium-paintbucket': import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement>>;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { InfoIconTippyProps } from '../../../Common/Types';
|
2
|
-
declare const InfoIconTippy: ({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo,
|
2
|
+
declare const InfoIconTippy: ({ heading, infoText, iconClass, documentationLink, documentationLinkText, additionalContent, iconClassName, placement, dataTestid, children, headingInfo, }: InfoIconTippyProps) => JSX.Element;
|
3
3
|
export default InfoIconTippy;
|
@@ -13,3 +13,4 @@ export declare const SelectPickerMultiValueLabel: <OptionValue, IsMulti extends
|
|
13
13
|
export declare const SelectPickerMultiValueRemove: (props: MultiValueRemoveProps) => JSX.Element;
|
14
14
|
export declare const SelectPickerGroupHeading: <OptionValue>({ isGroupHeadingSelectable, ...props }: SelectPickerGroupHeadingProps<OptionValue>) => JSX.Element;
|
15
15
|
export declare const renderLoadingMessage: () => JSX.Element;
|
16
|
+
export declare const ValueContainerWithLoadingShimmer: (props: ValueContainerProps) => JSX.Element;
|
@@ -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. */
|
@@ -4,7 +4,6 @@ export * from './AnimatedDeployButton';
|
|
4
4
|
export * from './AnimatedTimer';
|
5
5
|
export * from './AnnouncementBanner';
|
6
6
|
export * from './APIResponseHandler';
|
7
|
-
export * from './AppStatusModal';
|
8
7
|
export * from './ArtifactInfoModal';
|
9
8
|
export * from './Backdrop';
|
10
9
|
export * from './BulkOperations';
|
@@ -29,7 +28,6 @@ export * from './DiffViewer';
|
|
29
28
|
export * from './DynamicDataTable';
|
30
29
|
export * from './EditableTextArea';
|
31
30
|
export * from './EditImageFormField';
|
32
|
-
export * from './EnterpriseTag';
|
33
31
|
export * from './EnvironmentSelector';
|
34
32
|
export * from './Error';
|
35
33
|
export * from './ExcludedImageNode';
|
package/dist/Shared/types.d.ts
CHANGED
@@ -111,7 +111,6 @@ export interface Node {
|
|
111
111
|
canBeHibernated: boolean;
|
112
112
|
isHibernated: boolean;
|
113
113
|
hasDrift?: boolean;
|
114
|
-
status?: string;
|
115
114
|
}
|
116
115
|
export interface iNodes extends Array<iNode> {
|
117
116
|
}
|
@@ -199,10 +198,6 @@ export interface AppDetails {
|
|
199
198
|
fluxTemplateType?: string;
|
200
199
|
FluxAppStatusDetail?: FluxAppStatusDetail;
|
201
200
|
}
|
202
|
-
export interface ConfigDriftModalProps extends Required<Pick<AppDetails, 'appId'>> {
|
203
|
-
envId: number;
|
204
|
-
handleCloseModal?: () => void;
|
205
|
-
}
|
206
201
|
export declare enum RegistryType {
|
207
202
|
GIT = "git",
|
208
203
|
GITHUB = "github",
|
@@ -408,6 +403,7 @@ export declare enum ResourceKindType {
|
|
408
403
|
releaseChannel = "release-channel",
|
409
404
|
tenant = "tenant",
|
410
405
|
installation = "installation",
|
406
|
+
infrastructureInstallation = "installations",
|
411
407
|
environment = "environment",
|
412
408
|
cdPipeline = "cd-pipeline",
|
413
409
|
ciPipeline = "ci-pipeline",
|
@@ -944,6 +940,10 @@ export type CountryISO2Type = ParsedCountry['iso2'];
|
|
944
940
|
export declare enum ResponseHeaders {
|
945
941
|
LICENSE_STATUS = "X-License-Status"
|
946
942
|
}
|
943
|
+
export declare enum InstallationClusterType {
|
944
|
+
EKS_AUTO_CLUSTER = "eksAutoCluster",
|
945
|
+
EKS_MANUAL_CLUSTER = "eksManualCluster"
|
946
|
+
}
|
947
947
|
export type IconBaseSizeType = 6 | 8 | 10 | 12 | 14 | 16 | 18 | 20 | 22 | 24 | 28 | 30 | 32 | 34 | 36 | 40 | 42 | 44 | 48 | 72 | 80;
|
948
948
|
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;
|
949
949
|
export interface GetTimeDifferenceParamsType {
|