@devtron-labs/devtron-fe-common-lib 0.3.6-beta-3 → 0.3.6-beta-4
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/Helper.d.ts +1 -0
- package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +2 -0
- package/dist/Common/Security/types.d.ts +4 -0
- package/dist/Common/Toggle/Toggle.d.ts +2 -1
- package/dist/Common/index.d.ts +1 -0
- package/dist/Pages/App/AppConfigurations/utils.d.ts +1 -1
- package/dist/Shared/Components/CollapsibleList/utils.d.ts +14 -0
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.types.d.ts +9 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +1 -1
- package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiffMain.d.ts +1 -1
- package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +1 -1
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +1 -4
- package/dist/Shared/Components/SelectPicker/type.d.ts +5 -0
- package/dist/Shared/Components/{Security/Vulnerabilities → Vulnerabilities}/Vulnerabilities.d.ts +1 -1
- package/dist/Shared/Components/Vulnerabilities/constants.d.ts +4 -0
- package/dist/Shared/Components/{Security/Vulnerabilities → Vulnerabilities}/index.d.ts +0 -1
- package/dist/Shared/Components/{Security/Vulnerabilities → Vulnerabilities}/service.d.ts +1 -1
- package/dist/Shared/Components/Vulnerabilities/types.d.ts +7 -0
- package/dist/Shared/Components/Vulnerabilities/utils.d.ts +4 -0
- package/dist/Shared/Components/index.d.ts +1 -1
- package/dist/Shared/Services/app.service.d.ts +7 -1
- package/dist/Shared/Services/app.types.d.ts +21 -5
- package/dist/Shared/constants.d.ts +0 -4
- package/dist/Shared/types.d.ts +0 -1
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-B4JrdN3F.js → cssMode-vA9gH0w8.js} +1 -1
- package/dist/{freemarker2-djJv4T6c.js → freemarker2-D6DTPzEc.js} +1 -1
- package/dist/{handlebars-DcN-3O7u.js → handlebars-8NbaQzbS.js} +1 -1
- package/dist/{html-l7hxU9Z5.js → html-D42MJuBu.js} +1 -1
- package/dist/{htmlMode-DkosUubE.js → htmlMode-CPsG5eC1.js} +1 -1
- package/dist/{index-CzpCwzU5.js → index-D6jxPkpU.js} +30673 -32180
- package/dist/index.js +482 -494
- package/dist/{javascript-BXBdVBaV.js → javascript-BNC4ZqNA.js} +1 -1
- package/dist/{jsonMode-DmBC3ctU.js → jsonMode-CIAdJ3rx.js} +1 -1
- package/dist/{liquid-B8fSvF6L.js → liquid-CHBcBRal.js} +1 -1
- package/dist/{mdx-VecYXjT_.js → mdx-B6h0lWX-.js} +1 -1
- package/dist/{python-Dp5nIDq8.js → python-DU_mTF8x.js} +1 -1
- package/dist/{razor-LXhCh8qE.js → razor-BAQITVkW.js} +1 -1
- package/dist/{tsMode-CrqSxeoO.js → tsMode-6h0U-cNh.js} +1 -1
- package/dist/{typescript-DtfqSpUl.js → typescript-f_qrm8yb.js} +1 -1
- package/dist/{xml-Cmoj4ihR.js → xml-BqpSxoUZ.js} +1 -1
- package/dist/{yaml-exLX0oJH.js → yaml-CnUq4BV-.js} +1 -1
- package/package.json +3 -4
- package/dist/Shared/Components/Security/SecurityModal/SecurityModal.d.ts +0 -14
- package/dist/Shared/Components/Security/SecurityModal/components/IndexedTextDisplay.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/components/InfoCard.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/components/OpenDetailViewButton.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/components/Table.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +0 -3
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +0 -100
- package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +0 -2
- package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/config/InfoCard.d.ts +0 -2
- package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/config/Sidebar.d.ts +0 -2
- package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +0 -2
- package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +0 -3
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +0 -56
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +0 -6
- package/dist/Shared/Components/Security/SecurityModal/service.d.ts +0 -3
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +0 -262
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +0 -34
- package/dist/Shared/Components/Security/SecuritySummaryCard/SecuritySummaryCard.d.ts +0 -3
- package/dist/Shared/Components/Security/SecuritySummaryCard/index.d.ts +0 -1
- package/dist/Shared/Components/Security/SecuritySummaryCard/types.d.ts +0 -11
- package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +0 -26
- package/dist/Shared/Components/Security/Vulnerabilities/utils.d.ts +0 -6
- package/dist/Shared/Components/Security/index.d.ts +0 -4
- package/dist/Shared/Components/Security/utils.d.ts +0 -4
package/dist/Common/Helper.d.ts
CHANGED
|
@@ -126,4 +126,5 @@ export declare const DropdownIndicator: (props: any) => JSX.Element;
|
|
|
126
126
|
export declare function mapByKey<T = Map<any, any>>(arr: any[], id: string): T;
|
|
127
127
|
export declare function asyncWrap(promise: any): any[];
|
|
128
128
|
export declare const prefixZeroIfSingleDigit: (value?: number) => string | number;
|
|
129
|
+
export declare const throttle: <T extends (...args: unknown[]) => unknown>(func: T, delay?: number) => ((...args: Parameters<T>) => void);
|
|
129
130
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dataTestId, Icon, iconClass, ...props }: {
|
|
1
|
+
declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dataTestId, Icon, iconClass, throttleOnChange, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
3
|
selected?: boolean;
|
|
4
4
|
onSelect?: any;
|
|
@@ -8,5 +8,6 @@ declare const Toggle: ({ selected, onSelect, color, rootClassName, disabled, dat
|
|
|
8
8
|
dataTestId?: string;
|
|
9
9
|
Icon?: any;
|
|
10
10
|
iconClass?: string;
|
|
11
|
+
throttleOnChange?: boolean;
|
|
11
12
|
}) => JSX.Element;
|
|
12
13
|
export default Toggle;
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEm
|
|
|
28
28
|
export * from './SearchBar';
|
|
29
29
|
export * from './SortableTableHeaderCell';
|
|
30
30
|
export { default as Toggle } from './Toggle/Toggle';
|
|
31
|
+
export { default as ScanVulnerabilitiesTable } from './Security/ScanVulnerabilitiesTable';
|
|
31
32
|
export { default as StyledRadioGroup } from './RadioGroup/RadioGroup';
|
|
32
33
|
export * from './CIPipeline.Types';
|
|
33
34
|
export * from './Policy.Types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DeploymentStageType } from '../../../Shared/constants';
|
|
2
|
-
export declare const getDeploymentStageTitle: (stage: DeploymentStageType) => "-" | "
|
|
2
|
+
export declare const getDeploymentStageTitle: (stage: DeploymentStageType) => "pre-deployment" | "post-deployment" | "deployment" | "-";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NavLinkProps } from 'react-router-dom';
|
|
2
|
+
/**
|
|
3
|
+
* Determines if a navigation link is active based on the current location.
|
|
4
|
+
*
|
|
5
|
+
* This function checks if the provided `href` matches the current location's pathname
|
|
6
|
+
* and/or search query, and returns a boolean indicating whether the link should be considered active.
|
|
7
|
+
*
|
|
8
|
+
* @param href - The target URL or path to compare against the current location.
|
|
9
|
+
*
|
|
10
|
+
* @returns A function that takes the current location and returns a boolean:
|
|
11
|
+
* - `true` if the `href` matches the current location's pathname and/or search query.
|
|
12
|
+
* - `false` otherwise.
|
|
13
|
+
*/
|
|
14
|
+
export declare const checkNavLinkActiveState: (href: string) => NavLinkProps["isActive"];
|
|
@@ -46,6 +46,7 @@ export interface DeploymentConfigDiffProps {
|
|
|
46
46
|
selectorsConfig: {
|
|
47
47
|
primaryConfig: DeploymentConfigDiffSelectPickerProps[];
|
|
48
48
|
secondaryConfig: DeploymentConfigDiffSelectPickerProps[];
|
|
49
|
+
hideDivider?: boolean;
|
|
49
50
|
};
|
|
50
51
|
sortingConfig?: {
|
|
51
52
|
sortBy: string;
|
|
@@ -62,10 +63,14 @@ export interface DeploymentConfigDiffProps {
|
|
|
62
63
|
activeTab: string;
|
|
63
64
|
onClick: (tab: string) => void;
|
|
64
65
|
};
|
|
66
|
+
scopeVariablesConfig?: {
|
|
67
|
+
convertVariables: boolean;
|
|
68
|
+
onConvertVariablesClick: () => void;
|
|
69
|
+
};
|
|
65
70
|
}
|
|
66
71
|
export interface DeploymentConfigDiffNavigationProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'navList' | 'collapsibleNavList' | 'goBackURL' | 'navHeading' | 'navHelpText' | 'tabConfig'> {
|
|
67
72
|
}
|
|
68
|
-
export interface DeploymentConfigDiffMainProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'errorConfig' | 'headerText' | 'configList' | 'scrollIntoViewId' | 'selectorsConfig' | 'sortingConfig'> {
|
|
73
|
+
export interface DeploymentConfigDiffMainProps extends Pick<DeploymentConfigDiffProps, 'isLoading' | 'errorConfig' | 'headerText' | 'configList' | 'scrollIntoViewId' | 'selectorsConfig' | 'sortingConfig' | 'scopeVariablesConfig'> {
|
|
69
74
|
}
|
|
70
75
|
export interface DeploymentConfigDiffAccordionProps extends Pick<CollapseProps, 'onTransitionEnd'> {
|
|
71
76
|
id: string;
|
|
@@ -87,4 +92,7 @@ export type AppEnvDeploymentConfigListParams<IsManifestView> = (IsManifestView e
|
|
|
87
92
|
}) & {
|
|
88
93
|
getNavItemHref: (resourceType: EnvResourceType, resourceName: string) => string;
|
|
89
94
|
isManifestView?: IsManifestView;
|
|
95
|
+
convertVariables?: boolean;
|
|
96
|
+
currentDeploymentTemplateResolvedData?: AppEnvDeploymentConfigDTO;
|
|
97
|
+
compareDeploymentTemplateResolvedData?: AppEnvDeploymentConfigDTO;
|
|
90
98
|
};
|
|
@@ -27,7 +27,7 @@ export declare const mergeConfigDataArraysByName: (primaryArray: ConfigMapSecret
|
|
|
27
27
|
*
|
|
28
28
|
* @returns An object containing the combined deployment configuration list, a collapsible navigation list, and a navigation list.
|
|
29
29
|
*/
|
|
30
|
-
export declare const getAppEnvDeploymentConfigList: <ManifestView extends boolean = false>({ currentList, compareList, getNavItemHref, isManifestView, sortOrder, }: AppEnvDeploymentConfigListParams<ManifestView>) => {
|
|
30
|
+
export declare const getAppEnvDeploymentConfigList: <ManifestView extends boolean = false>({ currentList, compareList, getNavItemHref, isManifestView, sortOrder, convertVariables, currentDeploymentTemplateResolvedData, compareDeploymentTemplateResolvedData, }: AppEnvDeploymentConfigListParams<ManifestView>) => {
|
|
31
31
|
configList: DeploymentConfigDiffProps["configList"];
|
|
32
32
|
navList: DeploymentConfigDiffProps["navList"];
|
|
33
33
|
collapsibleNavList: DeploymentConfigDiffProps["collapsibleNavList"];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DeploymentConfigDiffMainProps } from './DeploymentConfigDiff.types';
|
|
2
|
-
export declare const DeploymentConfigDiffMain: ({ isLoading, errorConfig, headerText, configList, selectorsConfig, sortingConfig, scrollIntoViewId, }: DeploymentConfigDiffMainProps) => JSX.Element;
|
|
2
|
+
export declare const DeploymentConfigDiffMain: ({ isLoading, errorConfig, headerText, configList, selectorsConfig, sortingConfig, scrollIntoViewId, scopeVariablesConfig, }: DeploymentConfigDiffMainProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ImageCardAccordionProps } from './types';
|
|
2
|
-
declare const ImageCardAccordion: ({ isSecurityModuleInstalled, artifactId, applicationId, environmentId, changesCard, isScanned, isScanEnabled,
|
|
2
|
+
declare const ImageCardAccordion: ({ isSecurityModuleInstalled, artifactId, applicationId, environmentId, changesCard, isScanned, isScanEnabled, }: ImageCardAccordionProps) => JSX.Element;
|
|
3
3
|
export default ImageCardAccordion;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { default as React, ReactNode } from 'react';
|
|
2
|
-
import { CDModalTabType,
|
|
2
|
+
import { CDModalTabType, VulnerabilityType } from '../../../Common';
|
|
3
3
|
import { MaterialSecurityInfoType } from '../../types';
|
|
4
|
-
import { ApiResponseResultType, AppDetailsPayload, SidebarPropsType } from '../Security';
|
|
5
4
|
export interface ImageCardAccordionProps extends MaterialSecurityInfoType {
|
|
6
5
|
isSecurityModuleInstalled: boolean;
|
|
7
6
|
artifactId: number;
|
|
@@ -10,8 +9,6 @@ export interface ImageCardAccordionProps extends MaterialSecurityInfoType {
|
|
|
10
9
|
changesCard: ReactNode;
|
|
11
10
|
isScanned: boolean;
|
|
12
11
|
isScanEnabled: boolean;
|
|
13
|
-
SecurityModalSidebar: React.FC<SidebarPropsType>;
|
|
14
|
-
getSecurityScan: (props: Pick<AppDetailsPayload, 'appId' | 'envId' | 'artifactId'>) => Promise<ResponseType<ApiResponseResultType>>;
|
|
15
12
|
}
|
|
16
13
|
export interface SecurityDetailsType {
|
|
17
14
|
vulnerabilities: VulnerabilityType[];
|
|
@@ -4,6 +4,7 @@ import { ComponentSizeType } from '../../constants';
|
|
|
4
4
|
import { MutableRefObject, ReactElement, ReactNode } from 'react';
|
|
5
5
|
import { GroupBase, GroupHeadingProps, Props as ReactSelectProps, SelectInstance } from 'react-select';
|
|
6
6
|
import { CreatableProps } from 'react-select/creatable';
|
|
7
|
+
import { TippyProps } from '@tippyjs/react';
|
|
7
8
|
export interface SelectPickerOptionType<OptionValue = string | number> extends OptionType<OptionValue, ReactNode> {
|
|
8
9
|
/**
|
|
9
10
|
* Description to be displayed for the option
|
|
@@ -17,6 +18,10 @@ export interface SelectPickerOptionType<OptionValue = string | number> extends O
|
|
|
17
18
|
* Icon at the end of the option
|
|
18
19
|
*/
|
|
19
20
|
endIcon?: ReactElement;
|
|
21
|
+
/**
|
|
22
|
+
* Props passed to show the tippy on option
|
|
23
|
+
*/
|
|
24
|
+
tooltipProps?: TippyProps;
|
|
20
25
|
}
|
|
21
26
|
type SelectProps<OptionValue, IsMulti extends boolean> = ReactSelectProps<SelectPickerOptionType<OptionValue>, IsMulti, GroupBase<SelectPickerOptionType<OptionValue>>>;
|
|
22
27
|
declare module 'react-select/base' {
|
package/dist/Shared/Components/{Security/Vulnerabilities → Vulnerabilities}/Vulnerabilities.d.ts
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { VulnerabilitiesProps } from './types';
|
|
2
|
-
declare const Vulnerabilities: ({ isScanned, isScanEnabled, artifactId, applicationId, environmentId, setVulnerabilityCount,
|
|
2
|
+
declare const Vulnerabilities: ({ isScanned, isScanEnabled, artifactId, applicationId, environmentId, setVulnerabilityCount, }: VulnerabilitiesProps) => JSX.Element;
|
|
3
3
|
export default Vulnerabilities;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { LastExecutionResponseType } from '
|
|
1
|
+
import { LastExecutionResponseType } from '../../types';
|
|
2
2
|
export declare function getLastExecutionByArtifactAppEnv(artifactId: string | number, appId: number | string, envId: number | string): Promise<LastExecutionResponseType>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MaterialSecurityInfoType } from '../../types';
|
|
2
|
+
export interface VulnerabilitiesProps extends MaterialSecurityInfoType {
|
|
3
|
+
artifactId: number;
|
|
4
|
+
applicationId: number;
|
|
5
|
+
environmentId: number;
|
|
6
|
+
setVulnerabilityCount: React.Dispatch<React.SetStateAction<number>>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { LastExecutionResponseType, LastExecutionResultType } from '../../types';
|
|
2
|
+
export declare const getSortedVulnerabilities: (vulnerabilities: any) => any;
|
|
3
|
+
export declare const getParsedScanResult: (scanResult: any) => LastExecutionResultType;
|
|
4
|
+
export declare const parseLastExecutionResponse: (response: any) => LastExecutionResponseType;
|
|
@@ -5,6 +5,7 @@ export * from './ImageCard';
|
|
|
5
5
|
export * from './ImageCardAccordion';
|
|
6
6
|
export * from './ExcludedImageNode';
|
|
7
7
|
export * from './ScannedByToolModal';
|
|
8
|
+
export * from './Vulnerabilities';
|
|
8
9
|
export * from './FilterChips';
|
|
9
10
|
export * from './ActivityIndicator';
|
|
10
11
|
export * from './GenericSectionErrorState';
|
|
@@ -39,5 +40,4 @@ export * from './TabGroup';
|
|
|
39
40
|
export * from './EditImageFormField';
|
|
40
41
|
export * from './Collapse';
|
|
41
42
|
export * from './FilterButton';
|
|
42
|
-
export * from './Security';
|
|
43
43
|
export * from './Button';
|
|
@@ -5,4 +5,10 @@ export declare const getCITriggerInfo: (params: GetCITriggerInfoParamsType) => P
|
|
|
5
5
|
* The only difference between this and getCITriggerInfo is it doesn't have env and trigger related meta info
|
|
6
6
|
*/
|
|
7
7
|
export declare const getArtifactInfo: (params: Pick<GetCITriggerInfoParamsType, "ciArtifactId">) => Promise<CIMaterialInfoType>;
|
|
8
|
-
export declare const getAppEnvDeploymentConfig: (params
|
|
8
|
+
export declare const getAppEnvDeploymentConfig: ({ params, payload, signal, }: {
|
|
9
|
+
params: AppEnvDeploymentConfigPayloadType;
|
|
10
|
+
payload?: {
|
|
11
|
+
values: string;
|
|
12
|
+
};
|
|
13
|
+
signal?: AbortSignal;
|
|
14
|
+
}) => Promise<ResponseType<AppEnvDeploymentConfigDTO>>;
|
|
@@ -114,6 +114,7 @@ export interface DraftMetadataDTO {
|
|
|
114
114
|
draftId: number;
|
|
115
115
|
draftVersionId: number;
|
|
116
116
|
draftState: number;
|
|
117
|
+
draftResolvedValue: string;
|
|
117
118
|
approvers: string[];
|
|
118
119
|
canApprove: boolean;
|
|
119
120
|
commentsCount: number;
|
|
@@ -154,14 +155,18 @@ export declare enum ConfigResourceType {
|
|
|
154
155
|
}
|
|
155
156
|
export interface DeploymentTemplateDTO {
|
|
156
157
|
resourceType: ConfigResourceType.DeploymentTemplate;
|
|
157
|
-
data:
|
|
158
|
-
[key: string]: any;
|
|
159
|
-
};
|
|
158
|
+
data: Record<string, any>;
|
|
160
159
|
deploymentDraftData: ConfigMapSecretDataType | null;
|
|
160
|
+
variableSnapshot: {
|
|
161
|
+
'Deployment Template': Record<string, string>;
|
|
162
|
+
};
|
|
163
|
+
resolvedValue: Record<string, any>;
|
|
161
164
|
}
|
|
162
165
|
export interface ConfigMapSecretDataDTO {
|
|
163
166
|
resourceType: Extract<ConfigResourceType, ConfigResourceType.ConfigMap | ConfigResourceType.Secret>;
|
|
164
167
|
data: ConfigMapSecretDataType;
|
|
168
|
+
variableSnapshot: Record<string, Record<string, string>>;
|
|
169
|
+
resolvedValue: string;
|
|
165
170
|
}
|
|
166
171
|
export interface AppEnvDeploymentConfigDTO {
|
|
167
172
|
deploymentTemplate: DeploymentTemplateDTO | null;
|
|
@@ -169,7 +174,7 @@ export interface AppEnvDeploymentConfigDTO {
|
|
|
169
174
|
secretsData: ConfigMapSecretDataDTO | null;
|
|
170
175
|
isAppAdmin: boolean;
|
|
171
176
|
}
|
|
172
|
-
export
|
|
177
|
+
export type AppEnvDeploymentConfigPayloadType = {
|
|
173
178
|
appName: string;
|
|
174
179
|
envName: string;
|
|
175
180
|
configType: AppEnvDeploymentConfigType;
|
|
@@ -178,7 +183,18 @@ export interface AppEnvDeploymentConfigPayloadType {
|
|
|
178
183
|
resourceType?: ConfigResourceType;
|
|
179
184
|
resourceId?: number;
|
|
180
185
|
resourceName?: string;
|
|
181
|
-
|
|
186
|
+
configArea?: 'AppConfiguration';
|
|
187
|
+
} | {
|
|
188
|
+
appName: string;
|
|
189
|
+
envName: string;
|
|
190
|
+
configArea: 'ResolveData';
|
|
191
|
+
} | {
|
|
192
|
+
appName: string;
|
|
193
|
+
envName: string;
|
|
194
|
+
pipelineId: number;
|
|
195
|
+
configArea: 'CdRollback' | 'DeploymentHistory';
|
|
196
|
+
wfrId: number;
|
|
197
|
+
};
|
|
182
198
|
export declare enum TemplateListType {
|
|
183
199
|
DefaultVersions = 1,
|
|
184
200
|
PublishedOnEnvironments = 2,
|
|
@@ -14,10 +14,6 @@ export declare const STAGE_TYPE: {
|
|
|
14
14
|
ROLLBACK: string;
|
|
15
15
|
};
|
|
16
16
|
export declare const SCAN_TOOL_ID_TRIVY = 3;
|
|
17
|
-
/**
|
|
18
|
-
* @description This is only used to show mapping for clair, scan tool id for clair can be either 1 or 2
|
|
19
|
-
* */
|
|
20
|
-
export declare const SCAN_TOOL_ID_CLAIR = 2;
|
|
21
17
|
export declare const IMAGE_SCAN_TOOL: {
|
|
22
18
|
Clair: string;
|
|
23
19
|
Trivy: string;
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -413,7 +413,6 @@ export interface LastExecutionResultType {
|
|
|
413
413
|
scanned?: boolean;
|
|
414
414
|
scanEnabled?: boolean;
|
|
415
415
|
scanToolId?: number;
|
|
416
|
-
imageScanDeployInfoId?: number;
|
|
417
416
|
}
|
|
418
417
|
export interface LastExecutionResponseType extends ResponseType<LastExecutionResultType> {
|
|
419
418
|
}
|