@devtron-labs/devtron-fe-common-lib 1.15.3-pre-4 → 1.16.0-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-BqrKjHnF.js → @code-editor-DxJTBxC3.js} +6207 -6203
- package/dist/{@common-rjsf-BouEdO2I.js → @common-rjsf-BP_R1OLj.js} +6 -6
- package/dist/{@framer-motion-BhKAac90.js → @framer-motion-DAmKhMSi.js} +854 -784
- package/dist/{@moment-CGWt8tF2.js → @moment-C_WeV3Af.js} +1 -12
- package/dist/{@react-dates-CfRo6n5e.js → @react-dates-D5kydtW-.js} +2140 -2065
- package/dist/{@react-select-DNDV8S9D.js → @react-select-Cmser7OI.js} +6 -6
- package/dist/{@react-virtualized-sticky-tree-mXcyQzGx.js → @react-virtualized-sticky-tree-DMnFy9PE.js} +1 -1
- package/dist/{@vendor-CA9d7Ztm.js → @vendor-STJ9h0oI.js} +20458 -20720
- package/dist/Common/Tooltip/types.d.ts +1 -1
- package/dist/Common/Types.d.ts +2 -2
- package/dist/Pages/Applications/DevtronApps/Details/CDPipeline/types.d.ts +0 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +1 -1
- package/dist/Shared/Components/AppStatusModal/service.d.ts +1 -1
- package/dist/Shared/Components/AppStatusModal/types.d.ts +2 -1
- package/dist/Shared/Components/BulkOperations/types.d.ts +1 -1
- package/dist/Shared/Components/Button/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/helpers.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/types.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentHistoryConfigDiff/utils.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/DeploymentStatusBreakdown.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +2 -1
- package/dist/Shared/Components/CodeEditor/CodeEditor.constants.d.ts +1 -1
- package/dist/Shared/Components/DeploymentStatusBreakdown/constants.d.ts +2 -1
- package/dist/Shared/Components/DeploymentStatusBreakdown/utils.d.ts +2 -1
- package/dist/Shared/Components/DynamicDataTable/types.d.ts +1 -1
- package/dist/Shared/Components/FramerComponents/index.d.ts +2 -2
- package/dist/Shared/Components/GenericInfoCard/types.d.ts +1 -1
- package/dist/Shared/Components/Header/HeaderWithCreateButton/types.d.ts +1 -1
- package/dist/Shared/Components/InvalidYAMLTippy/types.d.ts +1 -1
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +7 -7
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +1 -1
- package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/common.d.ts +1 -1
- package/dist/Shared/Components/SelectPicker/type.d.ts +1 -1
- package/dist/Shared/Components/TabGroup/TabGroup.types.d.ts +1 -1
- package/dist/Shared/Components/Table/types.d.ts +1 -1
- package/dist/Shared/Components/TargetPlatforms/types.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +0 -1
- package/dist/Shared/Helpers.d.ts +1 -1
- package/dist/Shared/Hooks/useUserPreferences/types.d.ts +2 -2
- package/dist/Shared/constants.d.ts +0 -1
- package/dist/Shared/types.d.ts +2 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.js +377 -376
- package/package.json +7 -6
- package/dist/Shared/Components/Badge/Badge.d.ts +0 -3
- package/dist/Shared/Components/Badge/index.d.ts +0 -2
- package/dist/Shared/Components/Badge/types.d.ts +0 -18
- package/dist/Shared/Components/Badge/utils.d.ts +0 -7
- package/dist/Shared/Components/Security/SeverityChip.d.ts +0 -6
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TippyProps } from '@tippyjs/react';
|
2
|
-
import { SupportedKeyboardKeysType } from '
|
2
|
+
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
3
|
type BaseTooltipProps = {
|
4
4
|
/**
|
5
5
|
* If true, show tippy on truncate
|
package/dist/Common/Types.d.ts
CHANGED
@@ -550,10 +550,10 @@ export interface CommonNodeAttr extends Pick<MandatoryPluginBaseStateType, 'isTr
|
|
550
550
|
}
|
551
551
|
export declare enum DeploymentAppTypes {
|
552
552
|
HELM = "helm",
|
553
|
-
|
553
|
+
ARGO = "argo_cd",
|
554
554
|
MANIFEST_DOWNLOAD = "manifest_download",
|
555
555
|
MANIFEST_PUSH = "manifest_push",
|
556
|
-
FLUX = "
|
556
|
+
FLUX = "flux_cd"
|
557
557
|
}
|
558
558
|
export interface VulnerabilityType {
|
559
559
|
name: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { UseBreadcrumbProps } from '
|
1
|
+
import { UseBreadcrumbProps } from '@Common/BreadCrumb/Types';
|
2
2
|
import { CMSecretComponentType } from '../../../Shared/Services';
|
3
3
|
import { BuildInfraAPIVersionType, BuildInfraConfigTypes, BuildInfraFormFieldType, BuildInfraInheritActionsOnSubValues, BuildInfraLocators, BuildInfraMetaConfigTypes, BuildInfraToleranceEffectType, BuildInfraToleranceOperatorType, HandleProfileInputChangeType, InfraConfigWithSubValues, ProfileInputErrorType, RequestLimitConfigType, TargetPlatformErrorFields, ValidateRequestLimitType } from './types';
|
4
4
|
export declare const BUILD_INFRA_INPUT_CONSTRAINTS: {
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { AppDetails, DeploymentStatusDetailsBreakdownDataType } from '../../types';
|
2
2
|
import { GetAppDetailsParamsType, GetDeploymentStatusWithTimelineParamsType } from './types';
|
3
3
|
export declare const getAppDetails: ({ appId, envId, abortControllerRef, }: GetAppDetailsParamsType) => Promise<AppDetails>;
|
4
|
-
export declare const getDeploymentStatusWithTimeline: ({ abortControllerRef, appId, envId, showTimeline, virtualEnvironmentConfig, isHelmApp, }: GetDeploymentStatusWithTimelineParamsType) => Promise<DeploymentStatusDetailsBreakdownDataType>;
|
4
|
+
export declare const getDeploymentStatusWithTimeline: ({ abortControllerRef, appId, envId, showTimeline, virtualEnvironmentConfig, isHelmApp, deploymentAppType, }: GetDeploymentStatusWithTimelineParamsType) => Promise<DeploymentStatusDetailsBreakdownDataType>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { FunctionComponent, PropsWithChildren, ReactNode } from 'react';
|
2
|
-
import { APIOptions } from '../../../Common/Types';
|
2
|
+
import { APIOptions, DeploymentAppTypes } from '../../../Common/Types';
|
3
3
|
import { AppDetails, ConfigDriftModalProps, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, IntelligenceConfig } from '../../types';
|
4
4
|
export declare enum AppStatusModalTabType {
|
5
5
|
APP_STATUS = "appStatus",
|
@@ -65,6 +65,7 @@ export type GetDeploymentStatusWithTimelineParamsType = Pick<APIOptions, 'abortC
|
|
65
65
|
wfrId: AppDetails['resourceTree']['wfrId'];
|
66
66
|
};
|
67
67
|
isHelmApp?: boolean;
|
68
|
+
deploymentAppType: DeploymentAppTypes;
|
68
69
|
};
|
69
70
|
export interface AppStatusModalTabListProps extends Pick<AppStatusModalProps, 'appDetails' | 'type'> {
|
70
71
|
handleSelectTab: (updatedTab: AppStatusModalTabType) => void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
2
|
import { APIOptions, DrawerProps } from '../../../Common/index';
|
3
|
-
import { Entity } from '
|
3
|
+
import { Entity } from '@Common/SegmentedBarChart/types';
|
4
4
|
import { ConfirmationModalProps } from '../ConfirmationModal/types';
|
5
5
|
import { getProgressingStateForStatus } from '../Security';
|
6
6
|
interface BulkOperationAdditionalKeysType {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AnchorHTMLAttributes, ButtonHTMLAttributes, ReactElement } from 'react';
|
2
2
|
import { LinkProps } from 'react-router-dom';
|
3
|
-
import { TooltipProps } from '
|
3
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
4
4
|
import { ComponentSizeType } from '../../constants';
|
5
5
|
export declare enum ButtonVariantType {
|
6
6
|
primary = "primary",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { DeploymentConfigDiffProps } from '
|
1
|
+
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
2
2
|
import { History } from '../types';
|
3
3
|
import { DeploymentHistoryConfigDiffProps } from './types';
|
4
4
|
export declare const renderDeploymentHistoryConfig: (config: DeploymentConfigDiffProps["configList"], heading: string, pathname: string, hideDiffState: boolean) => JSX.Element;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
2
2
|
import { UseUrlFiltersReturnType } from '../../../../Common/Hooks';
|
3
|
-
import { DeploymentConfigDiffProps } from '
|
3
|
+
import { DeploymentConfigDiffProps } from '@Shared/Components/DeploymentConfigDiff';
|
4
4
|
import { EnvResourceType } from '../../../Services';
|
5
5
|
import { History, HistoryLogsProps } from '../types';
|
6
6
|
export interface DeploymentHistoryConfigDiffQueryParams {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SelectPickerOptionType } from '
|
1
|
+
import { SelectPickerOptionType } from '@Shared/Components/SelectPicker';
|
2
2
|
import { DeploymentHistorySingleValue, History } from '../types';
|
3
3
|
import { DeploymentHistoryConfigDiffProps } from './types';
|
4
4
|
export declare const getPipelineDeployments: (triggerHistory: DeploymentHistoryConfigDiffProps["triggerHistory"]) => History[];
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { DeploymentStatusDetailBreakdownType } from './types';
|
2
|
-
declare const DeploymentStatusDetailBreakdown: ({ deploymentStatusDetailsBreakdownData, isVirtualEnvironment, appDetails, rootClassName, }: DeploymentStatusDetailBreakdownType) => JSX.Element;
|
2
|
+
declare const DeploymentStatusDetailBreakdown: ({ deploymentStatusDetailsBreakdownData, isVirtualEnvironment, appDetails, rootClassName, deploymentAppType, }: DeploymentStatusDetailBreakdownType) => JSX.Element;
|
3
3
|
export default DeploymentStatusDetailBreakdown;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { CSSProperties, MutableRefObject, ReactElement, ReactNode } from 'react';
|
2
|
-
import { SupportedKeyboardKeysType } from '
|
2
|
+
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
3
3
|
import { DeploymentAppTypes, FilterConditionsListType, ImageComment, OptionType, PaginationProps, PromotionApprovalMetadataType, ReleaseTag, ResponseType, TooltipProps, UserApprovalMetadataType, useScrollable } from '../../../Common';
|
4
4
|
import { DeploymentStageType } from '../../constants';
|
5
5
|
import { AggregationKeys, AppDetails, DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType, DeploymentStatusTimelineType, DeploymentStrategyType, GitTriggers, Node, NodeType, ResourceKindType, ResourceVersionType, TargetPlatformsDTO } from '../../types';
|
@@ -402,6 +402,7 @@ export interface DeploymentStatusDetailBreakdownType {
|
|
402
402
|
*/
|
403
403
|
appDetails: AppDetails | null;
|
404
404
|
rootClassName?: string;
|
405
|
+
deploymentAppType?: DeploymentAppTypes;
|
405
406
|
}
|
406
407
|
export interface DeploymentStatusDetailRowType extends Pick<DeploymentStatusDetailBreakdownType, 'appDetails'> {
|
407
408
|
type: DeploymentStatusTimelineType;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SupportedKeyboardKeysType } from '
|
1
|
+
import { SupportedKeyboardKeysType } from '@Common/Hooks/UseRegisterShortcut/types';
|
2
2
|
export declare const PREVIOUS_MATCH_SHORTCUT_KEYS: SupportedKeyboardKeysType[];
|
3
3
|
export declare const NEXT_MATCH_SHORTCUT_KEYS: SupportedKeyboardKeysType[];
|
4
4
|
export declare const REPLACE_SHORTCUT_KEYS: SupportedKeyboardKeysType[];
|
@@ -6,5 +6,6 @@ export declare const WFR_STATUS_DTO_TO_DEPLOYMENT_STATUS_MAP: Readonly<Record<Wo
|
|
6
6
|
export declare const PROGRESSING_DEPLOYMENT_STATUS: Readonly<(typeof DEPLOYMENT_STATUS)[keyof typeof DEPLOYMENT_STATUS][]>;
|
7
7
|
export declare const SUCCESSFUL_DEPLOYMENT_STATUS: typeof PROGRESSING_DEPLOYMENT_STATUS;
|
8
8
|
export declare const FAILED_DEPLOYMENT_STATUS: typeof PROGRESSING_DEPLOYMENT_STATUS;
|
9
|
-
export declare const
|
9
|
+
export declare const PHYSICAL_ENV_DEPLOYMENT_TIMELINE_ORDER_ARGO: Readonly<DeploymentStatusTimelineType[]>;
|
10
|
+
export declare const PHYSICAL_ENV_DEPLOYMENT_TIMELINE_ORDER_FLUX: Readonly<DeploymentStatusTimelineType[]>;
|
10
11
|
export declare const DEPLOYMENT_PHASES: Readonly<DeploymentPhaseType[]>;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { DeploymentAppTypes } from '../../../Common/Types';
|
1
2
|
import { DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType } from '../../types';
|
2
3
|
/**
|
3
4
|
* @description
|
@@ -17,4 +18,4 @@ import { DeploymentStatusDetailsBreakdownDataType, DeploymentStatusDetailsType }
|
|
17
18
|
* - If this timeline is not inprogress and deploymentStatus is progressing, we will set the current timeline to waiting.
|
18
19
|
* - In similar fashion based on the deploymentStatus we will set the icon and display text for the timeline.
|
19
20
|
*/
|
20
|
-
export declare const processDeploymentStatusDetailsData: (data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
21
|
+
export declare const processDeploymentStatusDetailsData: (deploymentAppType: DeploymentAppTypes, data?: DeploymentStatusDetailsType) => DeploymentStatusDetailsBreakdownDataType;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { DetailedHTMLProps, ReactElement, ReactNode } from 'react';
|
2
2
|
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
3
3
|
import { UseStateFiltersReturnType } from '../../../Common/Hooks';
|
4
|
-
import { TooltipProps } from '
|
4
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
5
5
|
import { FileUploadProps } from '../FileUpload';
|
6
6
|
import { SelectPickerOptionType, SelectPickerProps, SelectPickerTextAreaProps } from '../SelectPicker';
|
7
7
|
/**
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { animate, AnimatePresence, motion, useMotionTemplate, useMotionValue } from 'framer-motion';
|
2
|
-
export { animate, AnimatePresence, motion, useMotionTemplate, useMotionValue };
|
1
|
+
import { animate, AnimatePresence, motion, useAnimationControls, useMotionTemplate, useMotionValue } from 'framer-motion';
|
2
|
+
export { animate, AnimatePresence, motion, useAnimationControls, useMotionTemplate, useMotionValue };
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { MouseEventHandler, ReactElement } from 'react';
|
2
2
|
import { LinkProps } from 'react-router-dom';
|
3
|
-
import { GenericFilterEmptyStateProps } from '
|
3
|
+
import { GenericFilterEmptyStateProps } from '@Common/EmptyState/types';
|
4
4
|
import { GenericEmptyStateType } from '../../../Common/Types';
|
5
5
|
import { APIResponseHandlerProps } from '../APIResponseHandler';
|
6
6
|
type BaseGenericInfoCardProps = {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CodeScan, DetailViewDataType, EmptyStateType, InfoCardPropsType, OpenDetailViewButtonProps, ScanResultDTO, SecurityModalStateType,
|
1
|
+
import { CodeScan, DetailViewDataType, EmptyStateType, InfoCardPropsType, OpenDetailViewButtonProps, ScanResultDTO, SecurityModalStateType, StatusType, TablePropsType } from '../types';
|
2
2
|
export declare const getCodeScanVulnerabilities: (data: CodeScan["vulnerability"], hidePolicy: boolean) => {
|
3
3
|
headers: ({
|
4
4
|
headerText: string;
|
@@ -10,7 +10,7 @@ export declare const getCodeScanVulnerabilities: (data: CodeScan["vulnerability"
|
|
10
10
|
headerText: string;
|
11
11
|
isSortable: boolean;
|
12
12
|
width: number;
|
13
|
-
compareFunc: (a: SeveritiesDTO, b: SeveritiesDTO) => number;
|
13
|
+
compareFunc: (a: import('../types').SeveritiesDTO, b: import('../types').SeveritiesDTO) => number;
|
14
14
|
defaultSortOrder: import('../types').SortOrderEnum;
|
15
15
|
})[];
|
16
16
|
rows: {
|
@@ -34,7 +34,7 @@ export declare const getCodeScanLicense: (data: CodeScan["license"]) => {
|
|
34
34
|
headerText: string;
|
35
35
|
isSortable: boolean;
|
36
36
|
width: number;
|
37
|
-
compareFunc: (a: SeveritiesDTO, b: SeveritiesDTO) => number;
|
37
|
+
compareFunc: (a: import('../types').SeveritiesDTO, b: import('../types').SeveritiesDTO) => number;
|
38
38
|
defaultSortOrder: import('../types').SortOrderEnum;
|
39
39
|
})[];
|
40
40
|
rows: {
|
@@ -57,7 +57,7 @@ export declare const getCodeScanMisconfigurations: (data: CodeScan["misConfigura
|
|
57
57
|
headerText: string;
|
58
58
|
isSortable: boolean;
|
59
59
|
width: number;
|
60
|
-
compareFunc: (a: Record<SeveritiesDTO, number>, b: Record<SeveritiesDTO, number>) => number;
|
60
|
+
compareFunc: (a: Record<import('../types').SeveritiesDTO, number>, b: Record<import('../types').SeveritiesDTO, number>) => number;
|
61
61
|
})[];
|
62
62
|
rows: {
|
63
63
|
id: number;
|
@@ -67,7 +67,7 @@ export declare const getCodeScanMisconfigurations: (data: CodeScan["misConfigura
|
|
67
67
|
cellContent: string;
|
68
68
|
} | {
|
69
69
|
component: JSX.Element;
|
70
|
-
cellContent: Partial<Record<SeveritiesDTO, number>>;
|
70
|
+
cellContent: Partial<Record<import('../types').SeveritiesDTO, number>>;
|
71
71
|
})[];
|
72
72
|
}[];
|
73
73
|
};
|
@@ -81,7 +81,7 @@ export declare const getCodeScanExposedSecrets: (data: CodeScan["exposedSecrets"
|
|
81
81
|
headerText: string;
|
82
82
|
isSortable: boolean;
|
83
83
|
width: number;
|
84
|
-
compareFunc: (a: Record<SeveritiesDTO, number>, b: Record<SeveritiesDTO, number>) => number;
|
84
|
+
compareFunc: (a: Record<import('../types').SeveritiesDTO, number>, b: Record<import('../types').SeveritiesDTO, number>) => number;
|
85
85
|
})[];
|
86
86
|
rows: {
|
87
87
|
id: number;
|
@@ -91,7 +91,7 @@ export declare const getCodeScanExposedSecrets: (data: CodeScan["exposedSecrets"
|
|
91
91
|
cellContent: string;
|
92
92
|
} | {
|
93
93
|
component: JSX.Element;
|
94
|
-
cellContent: Partial<Record<SeveritiesDTO, number>>;
|
94
|
+
cellContent: Partial<Record<import('../types').SeveritiesDTO, number>>;
|
95
95
|
})[];
|
96
96
|
}[];
|
97
97
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
|
-
import { Entity } from '
|
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';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ImageCardAccordionProps } from '
|
1
|
+
import { ImageCardAccordionProps } from '@Shared/Components/ImageCardAccordion/types';
|
2
2
|
import { MaterialSecurityInfoType } from '../../../types';
|
3
3
|
export interface VulnerabilitiesProps extends MaterialSecurityInfoType, Pick<ImageCardAccordionProps, 'SecurityModalSidebar'> {
|
4
4
|
artifactId: number;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ClearIndicatorProps, ControlProps, DropdownIndicatorProps, InputProps, MenuListProps, MultiValueProps, MultiValueRemoveProps, OptionProps, ValueContainerProps } from 'react-select';
|
2
|
-
import { TooltipProps } from '
|
2
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
3
3
|
import { SelectPickerGroupHeadingProps, SelectPickerOptionType, SelectPickerProps } from './type';
|
4
4
|
export declare const getTooltipProps: (tooltipProps?: SelectPickerOptionType["tooltipProps"]) => TooltipProps;
|
5
5
|
export declare const SelectPickerDropdownIndicator: <OptionValue>(props: DropdownIndicatorProps<SelectPickerOptionType<OptionValue>>) => JSX.Element;
|
@@ -3,7 +3,7 @@ import { GroupBase, GroupHeadingProps, Props as ReactSelectProps, SelectInstance
|
|
3
3
|
import { CreatableProps } from 'react-select/creatable';
|
4
4
|
import { ResizableTagTextAreaProps } from '../../../Common/CustomTagSelector';
|
5
5
|
import { ServerErrors } from '../../../Common/ServerError';
|
6
|
-
import { TooltipProps } from '
|
6
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
7
7
|
import { OptionType } from '../../../Common/Types';
|
8
8
|
import { ComponentSizeType } from '../../constants';
|
9
9
|
import { ButtonComponentType, ButtonProps, ButtonVariantType } from '../Button';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { LinkProps, NavLinkProps } from 'react-router-dom';
|
2
|
-
import { TooltipProps } from '
|
2
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
3
3
|
import { ComponentSizeType } from '../../constants';
|
4
4
|
import { DataAttributes } from '../../types';
|
5
5
|
import { IconName } from '../Icon';
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Dispatch, FunctionComponent, PropsWithChildren, SetStateAction } from 'react';
|
2
|
-
import { GenericFilterEmptyStateProps } from '
|
2
|
+
import { GenericFilterEmptyStateProps } from '@Common/EmptyState/types';
|
3
3
|
import { UseStateFiltersProps, UseStateFiltersReturnType, UseUrlFiltersProps } from '../../../Common/Hooks';
|
4
4
|
import { GenericEmptyStateType } from '../../../Common/index';
|
5
5
|
import { SortableTableHeaderCellProps, useResizableTableConfig } from '../../../Common/SortableTableHeaderCell';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { TooltipProps } from '
|
1
|
+
import { TooltipProps } from '@Common/Tooltip/types';
|
2
2
|
import { TargetPlatformsDTO } from '../../types';
|
3
3
|
export interface TargetPlatformBadgeListProps extends Required<Pick<TargetPlatformsDTO, 'targetPlatforms'>> {
|
4
4
|
}
|
@@ -7,7 +7,6 @@ export * from './APIResponseHandler';
|
|
7
7
|
export * from './AppStatusModal';
|
8
8
|
export * from './ArtifactInfoModal';
|
9
9
|
export * from './Backdrop';
|
10
|
-
export * from './Badge';
|
11
10
|
export * from './BulkOperations';
|
12
11
|
export * from './BulkSelection';
|
13
12
|
export * from './Button';
|
package/dist/Shared/Helpers.d.ts
CHANGED
@@ -2,7 +2,7 @@ import { ReactElement } from 'react';
|
|
2
2
|
import { PromptProps } from 'react-router-dom';
|
3
3
|
import { StrictRJSFSchema } from '@rjsf/utils';
|
4
4
|
import { Pair } from 'yaml';
|
5
|
-
import { MaterialHistoryType } from '
|
5
|
+
import { MaterialHistoryType } from '@Shared/Services/app.types';
|
6
6
|
import { ApprovalConfigDataType, MaterialInfo, SortingOrder, UserApprovalConfigType, UserApprovalInfo } from '../Common';
|
7
7
|
import { AggregatedNodes, PodMetadatum } from './Components';
|
8
8
|
import { BorderConfigType, GetTimeDifferenceParamsType, GitTriggers, IntersectionChangeHandler, IntersectionOptions, PreventOutsideFocusProps, TargetPlatformItemDTO, TargetPlatformsDTO, WebhookEventNameType } from './types';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { USER_PREFERENCES_ATTRIBUTE_KEY } from '
|
2
|
-
import { AppThemeType, ThemeConfigType, ThemePreferenceType } from '
|
1
|
+
import { USER_PREFERENCES_ATTRIBUTE_KEY } from '@Shared/Hooks/useUserPreferences/constants';
|
2
|
+
import { AppThemeType, ThemeConfigType, ThemePreferenceType } from '@Shared/Providers/ThemeProvider/types';
|
3
3
|
import { BaseAppMetaData } from '../../Services';
|
4
4
|
import { ResourceKindType } from '../../types';
|
5
5
|
export interface GetUserPreferencesQueryParamsType {
|
package/dist/Shared/types.d.ts
CHANGED
@@ -1043,6 +1043,7 @@ export interface DeploymentStatusDetailsType {
|
|
1043
1043
|
timelines: DeploymentStatusDetailsTimelineType[];
|
1044
1044
|
wfrStatus?: WorkflowRunnerStatusDTO;
|
1045
1045
|
isDeploymentWithoutApproval: boolean;
|
1046
|
+
deploymentAppType: DeploymentAppTypes;
|
1046
1047
|
}
|
1047
1048
|
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;
|
1048
1049
|
export type DeploymentStatusBreakdownItemIconType = 'success' | 'failed' | 'unknown' | 'inprogress' | 'unreachable' | 'loading' | 'disconnect' | 'timed_out' | '';
|
@@ -1087,6 +1088,7 @@ export interface DeploymentStatusDetailsBreakdownDataType {
|
|
1087
1088
|
deploymentErrorMessage: string;
|
1088
1089
|
nextTimelineToProcess: DeploymentStatusTimelineType;
|
1089
1090
|
} | null;
|
1091
|
+
deploymentAppType: DeploymentAppTypes;
|
1090
1092
|
}
|
1091
1093
|
export interface IntelligenceConfig {
|
1092
1094
|
clusterId: number;
|
package/dist/index.d.ts
CHANGED
@@ -149,9 +149,14 @@ export interface customEnv {
|
|
149
149
|
*/
|
150
150
|
FEATURE_MANAGE_TRAFFIC_ENABLE?: boolean;
|
151
151
|
FEATURE_INFRA_PROVISION_INFO_BLOCK_HIDE?: boolean;
|
152
|
+
/**
|
153
|
+
* If true, will add flux option to deployment types in devtron apps and devtron charts
|
154
|
+
* @default false
|
155
|
+
*/
|
156
|
+
FEATURE_FLUX_DEPLOYMENTS_ENABLE?: boolean;
|
157
|
+
FEATURE_LINK_EXTERNAL_FLUX_ENABLE?: boolean;
|
152
158
|
/**
|
153
159
|
* If true, online/offline connectivity banner is enabled
|
154
|
-
*
|
155
160
|
* @default true
|
156
161
|
*/
|
157
162
|
FEATURE_INTERNET_CONNECTIVITY_ENABLE?: boolean;
|