@devtron-labs/devtron-fe-common-lib 0.1.15-beta-8 → 0.1.15-beta-17
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/Security/ScanVulnerabilitiesTable.d.ts +1 -5
- package/dist/Common/Types.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +1 -0
- package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +1 -0
- package/dist/Shared/Components/ScannedObjectBar/ScannedObjectBar.d.ts +4 -0
- package/dist/Shared/Components/ScannedObjectBar/index.d.ts +1 -0
- package/dist/Shared/Components/ScannedObjectBar/types.d.ts +7 -0
- package/dist/Shared/Components/index.d.ts +1 -1
- package/dist/Shared/types.d.ts +7 -12
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-0427118b.js → cssMode-46b0b2e1.js} +1 -1
- package/dist/{freemarker2-c4865b88.js → freemarker2-2e2887b7.js} +1 -1
- package/dist/{handlebars-58e42395.js → handlebars-6786369e.js} +1 -1
- package/dist/{html-d2b737a2.js → html-580c3766.js} +1 -1
- package/dist/{htmlMode-d8f2054d.js → htmlMode-e0755c9b.js} +1 -1
- package/dist/{index-aacc3c2b.js → index-66f98f4a.js} +17220 -17279
- package/dist/index.d.ts +0 -1
- package/dist/index.js +124 -124
- package/dist/{javascript-0738e781.js → javascript-3187eb19.js} +1 -1
- package/dist/{jsonMode-d0d7fa44.js → jsonMode-754cf73a.js} +1 -1
- package/dist/{liquid-95d095c0.js → liquid-5cd39bc7.js} +1 -1
- package/dist/{mdx-5ac02f1f.js → mdx-806f59e4.js} +1 -1
- package/dist/{python-f8d0c7d0.js → python-36d79b53.js} +1 -1
- package/dist/{razor-3603793d.js → razor-8eaa0e2e.js} +1 -1
- package/dist/{tsMode-8d6a81c6.js → tsMode-6daca90f.js} +1 -1
- package/dist/{typescript-da26d4a8.js → typescript-a512d9e3.js} +1 -1
- package/dist/{xml-0bfce6bc.js → xml-fff5de24.js} +1 -1
- package/dist/{yaml-703b1d5d.js → yaml-c6854a07.js} +1 -1
- package/package.json +1 -1
- package/dist/Shared/Components/FilterButton/FilterButton.d.ts +0 -5
- package/dist/Shared/Components/FilterButton/index.d.ts +0 -1
- package/dist/Shared/Components/FilterButton/types.d.ts +0 -11
- package/dist/Shared/Components/FilterButton/utils.d.ts +0 -15
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import { ScanVulnerabilitiesTableProps } from '../Types';
|
|
2
2
|
|
|
3
|
-
export
|
|
4
|
-
SEVERITY = "severity",
|
|
5
|
-
PACKAGE = "package"
|
|
6
|
-
}
|
|
7
|
-
export default function ScanVulnerabilitiesTable({ vulnerabilities, hidePolicy, shouldStick, }: ScanVulnerabilitiesTableProps): JSX.Element;
|
|
3
|
+
export default function ScanVulnerabilitiesTable({ vulnerabilities, hidePolicy, shouldStick }: ScanVulnerabilitiesTableProps): JSX.Element;
|
package/dist/Common/Types.d.ts
CHANGED
|
@@ -492,7 +492,7 @@ export declare enum DeploymentAppTypes {
|
|
|
492
492
|
}
|
|
493
493
|
export interface VulnerabilityType {
|
|
494
494
|
name: string;
|
|
495
|
-
severity: '
|
|
495
|
+
severity: 'CRITICAL' | 'MODERATE' | 'LOW';
|
|
496
496
|
package: string;
|
|
497
497
|
version: string;
|
|
498
498
|
fixedVersion: string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ScannedObjectBarProps } from './types';
|
|
2
|
+
|
|
3
|
+
declare const ScannedObjectBar: ({ criticalVulnerabilitiesCount, moderateVulnerabilitiesCount, lowVulnerabilitiesCount, objectBarClassName, removeObjectCountMargin, }: ScannedObjectBarProps) => JSX.Element;
|
|
4
|
+
export default ScannedObjectBar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ScannedObjectBar } from './ScannedObjectBar';
|
|
@@ -10,6 +10,7 @@ export * from './FilterChips';
|
|
|
10
10
|
export * from './ActivityIndicator';
|
|
11
11
|
export * from './GenericSectionErrorState';
|
|
12
12
|
export * from './KeyValueList';
|
|
13
|
+
export * from './ScannedObjectBar';
|
|
13
14
|
export * from './InfoIconTippy';
|
|
14
15
|
export * from './EditableTextArea';
|
|
15
16
|
export * from './Header';
|
|
@@ -33,4 +34,3 @@ export * from './Plugin';
|
|
|
33
34
|
export * from './KeyValueTable';
|
|
34
35
|
export * from './SelectPicker';
|
|
35
36
|
export * from './DetectBottom';
|
|
36
|
-
export * from './FilterButton';
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -202,10 +202,8 @@ export declare enum DefaultUserKey {
|
|
|
202
202
|
}
|
|
203
203
|
export declare enum Severity {
|
|
204
204
|
CRITICAL = "critical",
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
LOW = "low",
|
|
208
|
-
UNKNOWN = "unknown"
|
|
205
|
+
MODERATE = "moderate",
|
|
206
|
+
LOW = "low"
|
|
209
207
|
}
|
|
210
208
|
export declare enum ImagePromotionTabs {
|
|
211
209
|
REQUEST = "request",
|
|
@@ -371,16 +369,13 @@ export declare enum ResourceVersionType {
|
|
|
371
369
|
v1 = "v1",
|
|
372
370
|
alpha1 = "alpha1"
|
|
373
371
|
}
|
|
374
|
-
export interface SeverityCount {
|
|
375
|
-
critical: number;
|
|
376
|
-
high: number;
|
|
377
|
-
medium: number;
|
|
378
|
-
low: number;
|
|
379
|
-
unknown: number;
|
|
380
|
-
}
|
|
381
372
|
export interface LastExecutionResultType {
|
|
382
373
|
lastExecution: string;
|
|
383
|
-
severityCount:
|
|
374
|
+
severityCount: {
|
|
375
|
+
critical: number;
|
|
376
|
+
moderate: number;
|
|
377
|
+
low: number;
|
|
378
|
+
};
|
|
384
379
|
vulnerabilities: VulnerabilityType[];
|
|
385
380
|
scanExecutionId?: number;
|
|
386
381
|
appId?: number;
|