@devtron-labs/devtron-fe-common-lib 0.0.76-beta-2 → 0.0.76-beta-3
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/AddCDButton/AddCDButton.d.ts +1 -1
- package/dist/Common/AddCDButton/types.d.ts +1 -0
- package/dist/Common/AddCDButton/utils.d.ts +1 -0
- package/dist/Common/Api.d.ts +2 -1
- package/dist/Common/AppStatus/AppStatus.d.ts +1 -1
- package/dist/Common/BreadCrumb/BreadCrumb.d.ts +2 -1
- package/dist/Common/BreadCrumb/BreadcrumbStore.d.ts +2 -1
- package/dist/Common/ChartVersionAndTypeSelector.d.ts +1 -0
- package/dist/Common/Checkbox.d.ts +2 -1
- package/dist/Common/ClipboardButton/ClipboardButton.d.ts +2 -2
- package/dist/Common/CodeEditor/CodeEditor.d.ts +2 -1
- package/dist/Common/Common.service.d.ts +1 -1
- package/dist/Common/Constants.d.ts +27 -8
- package/dist/Common/CustomInput/CustomInput.d.ts +1 -0
- package/dist/Common/CustomInput/Types.d.ts +2 -1
- package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +1 -0
- package/dist/Common/CustomTagSelector/TagDetails.d.ts +1 -0
- package/dist/Common/CustomTagSelector/TagLabelSelect.d.ts +1 -0
- package/dist/Common/CustomTagSelector/TagLabelValueSelector.d.ts +1 -0
- package/dist/Common/CustomTagSelector/Types.d.ts +2 -2
- package/dist/Common/DebouncedSearch/DebouncedSearch.d.ts +1 -1
- package/dist/Common/DeleteComponentModal/DeleteComponent.d.ts +1 -0
- package/dist/Common/DevtronProgressing/DevtronProgressing.d.ts +1 -0
- package/dist/Common/Dialogs/ConfirmationDialog.d.ts +1 -0
- package/dist/Common/Dialogs/DeleteDialog.d.ts +2 -1
- package/dist/Common/Dialogs/DialogForm.d.ts +2 -1
- package/dist/Common/Dialogs/ForceDeleteDialog.d.ts +1 -1
- package/dist/Common/Dialogs/Types.d.ts +1 -0
- package/dist/Common/DraggableWrapper/DraggableButton.d.ts +1 -1
- package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +1 -1
- package/dist/Common/DraggableWrapper/types.d.ts +1 -0
- package/dist/Common/Drawer/Drawer.d.ts +1 -0
- package/dist/Common/EmptyState/GenericEmptyState.d.ts +1 -0
- package/dist/Common/ErrorPage.d.ts +4 -0
- package/dist/Common/ErrorScreenManager.d.ts +4 -0
- package/dist/Common/ErrorScreenNotAuthorized.d.ts +4 -0
- package/dist/Common/Grid/Grid.d.ts +1 -1
- package/dist/Common/Grid/types.d.ts +1 -0
- package/dist/Common/Helper.d.ts +5 -2
- package/dist/Common/Hooks/UseSuperAdmin/UseSuperAdmin.d.ts +1 -0
- package/dist/Common/Hooks/index.d.ts +0 -1
- package/dist/Common/Hooks/useUrlFilters/types.d.ts +1 -0
- package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +1 -0
- package/dist/Common/ImageTags.Types.d.ts +1 -1
- package/dist/Common/ImageTags.d.ts +1 -0
- package/dist/Common/InfoColorBar/InfoColourbar.d.ts +1 -0
- package/dist/Common/Modals/Modal.d.ts +2 -1
- package/dist/Common/Modals/OpaqueModal.d.ts +2 -1
- package/dist/Common/Modals/VisibleModal.d.ts +2 -1
- package/dist/Common/Modals/VisibleModal2.d.ts +2 -1
- package/dist/Common/MultiSelectCustomization.d.ts +2 -1
- package/dist/Common/Pagination/PageSizeSelector.d.ts +1 -0
- package/dist/Common/Pagination/Pagination.d.ts +1 -0
- package/dist/Common/Pagination/utils.d.ts +1 -0
- package/dist/Common/Policy.Types.d.ts +2 -1
- package/dist/Common/PopupMenu.d.ts +1 -0
- package/dist/Common/Progressing.d.ts +1 -0
- package/dist/Common/RJSF/Form.d.ts +1 -0
- package/dist/Common/RJSF/common/FieldRow.d.ts +2 -1
- package/dist/Common/RJSF/common/types.d.ts +1 -0
- package/dist/Common/RJSF/config.d.ts +2 -1
- package/dist/Common/RJSF/templates/ArrayFieldItemTemplate.d.ts +1 -0
- package/dist/Common/RJSF/templates/ArrayFieldTemplate.d.ts +1 -0
- package/dist/Common/RJSF/templates/BaseInput.d.ts +1 -0
- package/dist/Common/RJSF/templates/ButtonTemplates/AddButton.d.ts +1 -0
- package/dist/Common/RJSF/templates/ButtonTemplates/RemoveButton.d.ts +1 -0
- package/dist/Common/RJSF/templates/ButtonTemplates/SubmitButton.d.ts +1 -0
- package/dist/Common/RJSF/templates/Description.d.ts +1 -0
- package/dist/Common/RJSF/templates/Field.d.ts +1 -0
- package/dist/Common/RJSF/templates/FieldErrorTemplate.d.ts +1 -0
- package/dist/Common/RJSF/templates/ObjectFieldTemplate.d.ts +1 -0
- package/dist/Common/RJSF/templates/TitleField.d.ts +1 -0
- package/dist/Common/RJSF/templates/WrapIfAdditionalTemplate.d.ts +1 -0
- package/dist/Common/RJSF/types.d.ts +2 -1
- package/dist/Common/RJSF/utils.d.ts +2 -1
- package/dist/Common/RJSF/widgets/Checkbox.d.ts +1 -0
- package/dist/Common/RJSF/widgets/Select.d.ts +1 -0
- package/dist/Common/RadioGroup/RadioGroup.d.ts +2 -1
- package/dist/Common/RadioGroup.d.ts +2 -2
- package/dist/Common/RadioGroupItem.d.ts +1 -0
- package/dist/Common/Reload.d.ts +2 -2
- package/dist/Common/ResizableTextarea.d.ts +2 -1
- package/dist/Common/SearchBar/SearchBar.component.d.ts +1 -0
- package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +2 -2
- package/dist/Common/Select/Select.d.ts +2 -1
- package/dist/Common/SortableTableHeaderCell/SortableTableHeaderCell.d.ts +1 -0
- package/dist/Common/SortableTableHeaderCell/types.d.ts +1 -0
- package/dist/Common/TippyCustomized.d.ts +1 -0
- package/dist/Common/ToastBody.d.ts +2 -1
- package/dist/Common/Toggle/Toggle.d.ts +1 -0
- package/dist/Common/Types.d.ts +26 -68
- package/dist/Common/index.d.ts +2 -3
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupTableRow.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/UserRoleGroupsTable.component.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/Authorization/shared/components/UserRoleGroupsTable/types.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraConfigForm.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraDescriptionField.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormAction.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraFormItem.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/BuildInfraProfileNameField.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/Descriptor.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/BuildInfra/Footer.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/constants.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/services.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/BuildInfra/types.d.ts +4 -3
- package/dist/Pages/GlobalConfigurations/BuildInfra/utils.d.ts +1 -0
- package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +2 -1
- package/dist/Shared/Components/APIResponseHandler/types.d.ts +2 -10
- package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -0
- package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +1 -0
- package/dist/Shared/Components/BulkSelection/BulkSelectionProvider.d.ts +1 -0
- package/dist/Shared/Components/BulkSelection/types.d.ts +1 -1
- package/dist/Shared/Components/ButtonWithLoader/ButtonWithLoader.d.ts +2 -1
- package/dist/Shared/Components/EditableTextArea/EditableTextArea.d.ts +2 -1
- package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +1 -0
- package/dist/Shared/Components/FilterChips/types.d.ts +1 -0
- package/dist/Shared/Components/GenericSectionErrorState/GenericSectionErrorState.component.d.ts +2 -1
- package/dist/Shared/Components/GenericSectionErrorState/types.d.ts +1 -21
- package/dist/Shared/Components/GettingStartedCard/GettingStarted.d.ts +1 -0
- package/dist/Shared/Components/GettingStartedCard/service.d.ts +1 -0
- package/dist/Shared/Components/GettingStartedCard/types.d.ts +1 -0
- package/dist/Shared/Components/Header/HeaderWithCreateButton/HeaderWithCreateButon.d.ts +1 -0
- package/dist/Shared/Components/Header/HelpNav.d.ts +1 -0
- package/dist/Shared/Components/Header/PageHeader.d.ts +1 -0
- package/dist/Shared/Components/Header/constants.d.ts +1 -0
- package/dist/Shared/Components/Header/service.d.ts +2 -1
- package/dist/Shared/Components/Header/types.d.ts +1 -1
- package/dist/Shared/Components/KeyValueList/KeyValueList.d.ts +1 -0
- package/dist/Shared/Components/LogoutCard.d.ts +2 -1
- package/dist/Shared/Components/ReactSelect/utils.d.ts +0 -1
- package/dist/Shared/Components/index.d.ts +0 -7
- package/dist/Shared/Helpers.d.ts +0 -7
- package/dist/Shared/Providers/MainContextProvider.d.ts +1 -0
- package/dist/Shared/Providers/types.d.ts +3 -2
- package/dist/Shared/index.d.ts +0 -1
- package/dist/Shared/types.d.ts +0 -157
- package/dist/assets/index.css +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +14311 -14407
- package/package.json +3 -5
- package/dist/Common/Error.d.ts +0 -17
- package/dist/Common/ErrorScreenNotFound.d.ts +0 -2
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcut.d.ts +0 -2
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutContext.d.ts +0 -3
- package/dist/Common/Hooks/UseRegisterShortcut/UseRegisterShortcutProvider.d.ts +0 -3
- package/dist/Common/Hooks/UseRegisterShortcut/index.d.ts +0 -2
- package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +0 -8
- package/dist/Common/Markdown/MarkDown.d.ts +0 -3
- package/dist/Common/Markdown/Types.d.ts +0 -7
- package/dist/Common/Markdown/index.d.ts +0 -1
- package/dist/Common/SegmentedBarChart/SegmentedBarChart.d.ts +0 -4
- package/dist/Common/SegmentedBarChart/constants.d.ts +0 -5
- package/dist/Common/SegmentedBarChart/index.d.ts +0 -2
- package/dist/Common/SegmentedBarChart/types.d.ts +0 -11
- package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +0 -3
- package/dist/Shared/Components/ActivityIndicator/index.d.ts +0 -1
- package/dist/Shared/Components/ActivityIndicator/types.d.ts +0 -3
- package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +0 -3
- package/dist/Shared/Components/ExcludedImageNode/index.d.ts +0 -1
- package/dist/Shared/Components/ExcludedImageNode/types.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/ArtifactInfo/index.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/ArtifactInfo/types.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/ImageCard.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/constants.d.ts +0 -6
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/index.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/types.d.ts +0 -10
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/utils.d.ts +0 -2
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/index.d.ts +0 -1
- package/dist/Shared/Components/ImageCard/index.d.ts +0 -3
- package/dist/Shared/Components/ImageCard/types.d.ts +0 -40
- package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +0 -3
- package/dist/Shared/Components/ImageCardAccordion/index.d.ts +0 -1
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +0 -23
- package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +0 -3
- package/dist/Shared/Components/ScannedByToolModal/index.d.ts +0 -1
- package/dist/Shared/Components/ScannedByToolModal/types.d.ts +0 -3
- package/dist/Shared/Components/ScannedObjectBar/ScannedObjectBar.d.ts +0 -3
- package/dist/Shared/Components/ScannedObjectBar/index.d.ts +0 -1
- package/dist/Shared/Components/ScannedObjectBar/types.d.ts +0 -7
- package/dist/Shared/Components/Vulnerabilities/Vulnerabilities.d.ts +0 -3
- package/dist/Shared/Components/Vulnerabilities/constants.d.ts +0 -4
- package/dist/Shared/Components/Vulnerabilities/index.d.ts +0 -2
- package/dist/Shared/Components/Vulnerabilities/service.d.ts +0 -2
- package/dist/Shared/Components/Vulnerabilities/types.d.ts +0 -8
- package/dist/Shared/Components/Vulnerabilities/utils.d.ts +0 -3
- package/dist/Shared/constants.d.ts +0 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devtron-labs/devtron-fe-common-lib",
|
|
3
|
-
"version": "0.0.76-beta-
|
|
3
|
+
"version": "0.0.76-beta-3",
|
|
4
4
|
"description": "Supporting common component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -79,11 +79,9 @@
|
|
|
79
79
|
"react-router": "^5.3.0",
|
|
80
80
|
"react-router-dom": "^5.3.0",
|
|
81
81
|
"react-draggable": "^4.4.5",
|
|
82
|
-
"yaml": "^2.4.1",
|
|
83
|
-
"marked": "4.3.0",
|
|
84
|
-
"dompurify": "^3.0.2",
|
|
85
82
|
"react-ga4": "^1.4.1",
|
|
86
|
-
"@typeform/embed-react": "2.20.0"
|
|
83
|
+
"@typeform/embed-react": "2.20.0",
|
|
84
|
+
"yaml": "^2.4.1"
|
|
87
85
|
},
|
|
88
86
|
"dependencies": {
|
|
89
87
|
"react-monaco-editor": "^0.54.0",
|
package/dist/Common/Error.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React, { Component } from 'react';
|
|
2
|
-
export declare class ErrorScreenManager extends Component<{
|
|
3
|
-
code?: number;
|
|
4
|
-
reload?: (...args: any[]) => any;
|
|
5
|
-
subtitle?: React.ReactChild;
|
|
6
|
-
subtitleClass?: string;
|
|
7
|
-
reloadClass?: string;
|
|
8
|
-
}> {
|
|
9
|
-
getMessage(): JSX.Element | "Bad Request" | "Unauthorized" | "Internal Server Error" | "Bad Gateway" | "Service Temporarily Unavailable";
|
|
10
|
-
render(): JSX.Element;
|
|
11
|
-
}
|
|
12
|
-
export declare class ErrorScreenNotAuthorized extends Component<{
|
|
13
|
-
subtitle?: React.ReactChild;
|
|
14
|
-
title?: string;
|
|
15
|
-
}> {
|
|
16
|
-
render(): JSX.Element;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as MarkDown } from './MarkDown';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ActivityIndicator } from './ActivityIndicator';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ExcludedImageNode } from './ExcludedImageNode';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ArtifactInfoProps } from '../types';
|
|
2
|
-
declare const ArtifactInfo: ({ imagePath, registryName, registryType, image, deployedTime, deployedBy, isRollbackTrigger, excludedImagePathNode, approvalChecksNode, approvalInfoTippy, }: ArtifactInfoProps) => JSX.Element;
|
|
3
|
-
export default ArtifactInfo;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ArtifactInfo } from './ArtifactInfo';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ImageCardProps } from './types';
|
|
2
|
-
declare const ImageCard: ({ testIdLocator, cta, sequentialCDCardTitleProps, artifactInfoProps, imageTagContainerProps, children, rootClassName, materialInfoRootClassName, }: ImageCardProps) => JSX.Element;
|
|
3
|
-
export default ImageCard;
|
package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as DeploymentEnvState } from './DeploymentEnvState';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { SequentialCDCardTitleProps } from '../types';
|
|
2
|
-
declare const SequentialCDCardTitle: ({ isLatest, isRunningOnParentCD, artifactStatus, environmentName, parentEnvironmentName, stageType, showLatestTag, isVirtualEnvironment, deployedOn, additionalInfo, }: SequentialCDCardTitleProps) => JSX.Element;
|
|
3
|
-
export default SequentialCDCardTitle;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as SequentialCDCardTitle } from './SequentialCDCardTitle';
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { ImageTaggingContainerType } from '../../../Common';
|
|
3
|
-
import { RegistryType } from '../..';
|
|
4
|
-
export interface ArtifactInfoProps {
|
|
5
|
-
imagePath: string;
|
|
6
|
-
registryName: string;
|
|
7
|
-
registryType: RegistryType;
|
|
8
|
-
image: string;
|
|
9
|
-
deployedTime: string;
|
|
10
|
-
deployedBy: string;
|
|
11
|
-
isRollbackTrigger: boolean;
|
|
12
|
-
excludedImagePathNode: ReactNode;
|
|
13
|
-
approvalChecksNode?: ReactNode;
|
|
14
|
-
approvalInfoTippy?: ReactNode;
|
|
15
|
-
}
|
|
16
|
-
export interface SequentialCDCardTitleProps {
|
|
17
|
-
isLatest: boolean;
|
|
18
|
-
isRunningOnParentCD: boolean;
|
|
19
|
-
artifactStatus: string;
|
|
20
|
-
stageType: string;
|
|
21
|
-
showLatestTag: boolean;
|
|
22
|
-
isVirtualEnvironment: boolean;
|
|
23
|
-
deployedOn?: string[];
|
|
24
|
-
environmentName?: string;
|
|
25
|
-
parentEnvironmentName?: string;
|
|
26
|
-
additionalInfo?: ReactNode;
|
|
27
|
-
}
|
|
28
|
-
export interface ImageCardProps {
|
|
29
|
-
testIdLocator: string;
|
|
30
|
-
sequentialCDCardTitleProps: SequentialCDCardTitleProps;
|
|
31
|
-
cta: ReactNode;
|
|
32
|
-
artifactInfoProps: ArtifactInfoProps;
|
|
33
|
-
imageTagContainerProps: ImageTaggingContainerType;
|
|
34
|
-
/**
|
|
35
|
-
* Meant for ImageCardAccordion
|
|
36
|
-
*/
|
|
37
|
-
children?: ReactNode;
|
|
38
|
-
rootClassName?: string;
|
|
39
|
-
materialInfoRootClassName?: string;
|
|
40
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ImageCardAccordionProps } from './types';
|
|
2
|
-
declare const ImageCardAccordion: ({ isSecurityModuleInstalled, artifactId, applicationId, environmentId, changesCard, isScanned, isScanEnabled, }: ImageCardAccordionProps) => JSX.Element;
|
|
3
|
-
export default ImageCardAccordion;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ImageCardAccordion } from './ImageCardAccordion';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { CDModalTabType, VulnerabilityType } from '../../../Common';
|
|
3
|
-
import { MaterialSecurityInfoType } from '../../types';
|
|
4
|
-
export interface ImageCardAccordionProps extends MaterialSecurityInfoType {
|
|
5
|
-
isSecurityModuleInstalled: boolean;
|
|
6
|
-
artifactId: number;
|
|
7
|
-
applicationId: number;
|
|
8
|
-
environmentId: number;
|
|
9
|
-
changesCard: ReactNode;
|
|
10
|
-
isScanned: boolean;
|
|
11
|
-
isScanEnabled: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface SecurityDetailsType {
|
|
14
|
-
vulnerabilities: VulnerabilityType[];
|
|
15
|
-
scanToolId: number;
|
|
16
|
-
lastExecution: string;
|
|
17
|
-
}
|
|
18
|
-
export interface AccordionItemProps {
|
|
19
|
-
currentTab: CDModalTabType;
|
|
20
|
-
activeTab: CDModalTabType;
|
|
21
|
-
setActiveTab: React.Dispatch<React.SetStateAction<CDModalTabType>>;
|
|
22
|
-
buttonText: string;
|
|
23
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ScannedByToolModal } from './ScannedByToolModal';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ScannedObjectBarProps } from './types';
|
|
2
|
-
declare const ScannedObjectBar: ({ criticalVulnerabilitiesCount, moderateVulnerabilitiesCount, lowVulnerabilitiesCount, objectBarClassName, removeObjectCountMargin, }: ScannedObjectBarProps) => JSX.Element;
|
|
3
|
-
export default ScannedObjectBar;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ScannedObjectBar } from './ScannedObjectBar';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { MaterialSecurityInfoType } from '../../types';
|
|
3
|
-
export interface VulnerabilitiesProps extends MaterialSecurityInfoType {
|
|
4
|
-
artifactId: number;
|
|
5
|
-
applicationId: number;
|
|
6
|
-
environmentId: number;
|
|
7
|
-
setVulnerabilityCount: React.Dispatch<React.SetStateAction<number>>;
|
|
8
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare const ARTIFACT_STATUS: {
|
|
2
|
-
PROGRESSING: string;
|
|
3
|
-
DEGRADED: string;
|
|
4
|
-
FAILED: string;
|
|
5
|
-
};
|
|
6
|
-
export declare const STAGE_TYPE: {
|
|
7
|
-
CD: string;
|
|
8
|
-
CI: string;
|
|
9
|
-
GIT: string;
|
|
10
|
-
PRECD: string;
|
|
11
|
-
POSTCD: string;
|
|
12
|
-
ROLLBACK: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const SCAN_TOOL_ID_TRIVY = 3;
|
|
15
|
-
export declare const IMAGE_SCAN_TOOL: {
|
|
16
|
-
Clair: string;
|
|
17
|
-
Trivy: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const EXCLUDED_IMAGE_TOOLTIP = "This image is excluded for new deployment as it does not match the filter conditions configured for this environment.";
|
|
20
|
-
export declare const ModuleNameMap: {
|
|
21
|
-
ARGO_CD: string;
|
|
22
|
-
CICD: string;
|
|
23
|
-
SECURITY: string;
|
|
24
|
-
BLOB_STORAGE: string;
|
|
25
|
-
GRAFANA: string;
|
|
26
|
-
NOTIFICATION: string;
|
|
27
|
-
SECURITY_TRIVY: string;
|
|
28
|
-
SECURITY_CLAIR: string;
|
|
29
|
-
};
|
|
30
|
-
export declare const DATE_TIME_FORMAT_STRING = "ddd DD MMM YYYY HH:mm:ss";
|
|
31
|
-
export declare const API_TOKEN_PREFIX = "API-TOKEN:";
|