@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.
Files changed (33) hide show
  1. package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +1 -5
  2. package/dist/Common/Types.d.ts +1 -1
  3. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +1 -0
  4. package/dist/Shared/Components/GitCommitInfoGeneric/GitMaterialInfoHeader.d.ts +1 -0
  5. package/dist/Shared/Components/ScannedObjectBar/ScannedObjectBar.d.ts +4 -0
  6. package/dist/Shared/Components/ScannedObjectBar/index.d.ts +1 -0
  7. package/dist/Shared/Components/ScannedObjectBar/types.d.ts +7 -0
  8. package/dist/Shared/Components/index.d.ts +1 -1
  9. package/dist/Shared/types.d.ts +7 -12
  10. package/dist/assets/index.css +1 -1
  11. package/dist/{cssMode-0427118b.js → cssMode-46b0b2e1.js} +1 -1
  12. package/dist/{freemarker2-c4865b88.js → freemarker2-2e2887b7.js} +1 -1
  13. package/dist/{handlebars-58e42395.js → handlebars-6786369e.js} +1 -1
  14. package/dist/{html-d2b737a2.js → html-580c3766.js} +1 -1
  15. package/dist/{htmlMode-d8f2054d.js → htmlMode-e0755c9b.js} +1 -1
  16. package/dist/{index-aacc3c2b.js → index-66f98f4a.js} +17220 -17279
  17. package/dist/index.d.ts +0 -1
  18. package/dist/index.js +124 -124
  19. package/dist/{javascript-0738e781.js → javascript-3187eb19.js} +1 -1
  20. package/dist/{jsonMode-d0d7fa44.js → jsonMode-754cf73a.js} +1 -1
  21. package/dist/{liquid-95d095c0.js → liquid-5cd39bc7.js} +1 -1
  22. package/dist/{mdx-5ac02f1f.js → mdx-806f59e4.js} +1 -1
  23. package/dist/{python-f8d0c7d0.js → python-36d79b53.js} +1 -1
  24. package/dist/{razor-3603793d.js → razor-8eaa0e2e.js} +1 -1
  25. package/dist/{tsMode-8d6a81c6.js → tsMode-6daca90f.js} +1 -1
  26. package/dist/{typescript-da26d4a8.js → typescript-a512d9e3.js} +1 -1
  27. package/dist/{xml-0bfce6bc.js → xml-fff5de24.js} +1 -1
  28. package/dist/{yaml-703b1d5d.js → yaml-c6854a07.js} +1 -1
  29. package/package.json +1 -1
  30. package/dist/Shared/Components/FilterButton/FilterButton.d.ts +0 -5
  31. package/dist/Shared/Components/FilterButton/index.d.ts +0 -1
  32. package/dist/Shared/Components/FilterButton/types.d.ts +0 -11
  33. package/dist/Shared/Components/FilterButton/utils.d.ts +0 -15
@@ -1,7 +1,3 @@
1
1
  import { ScanVulnerabilitiesTableProps } from '../Types';
2
2
 
3
- export declare enum SortBy {
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;
@@ -492,7 +492,7 @@ export declare enum DeploymentAppTypes {
492
492
  }
493
493
  export interface VulnerabilityType {
494
494
  name: string;
495
- severity: 'critical' | 'high' | 'medium' | 'low' | 'unknown';
495
+ severity: 'CRITICAL' | 'MODERATE' | 'LOW';
496
496
  package: string;
497
497
  version: string;
498
498
  fixedVersion: string;
@@ -9,6 +9,7 @@ export interface ApiResourceGroupType {
9
9
  gvk: GVKType;
10
10
  namespaced: boolean;
11
11
  isGrouped?: boolean;
12
+ shortNames?: string[] | null;
12
13
  }
13
14
  export interface ApiResourceType {
14
15
  apiResources: ApiResourceGroupType[];
@@ -1,3 +1,4 @@
1
+
1
2
  declare const GitMaterialInfoHeader: ({ index, repoUrl, materialType, materialValue, style, ...props }: {
2
3
  [x: string]: any;
3
4
  index: any;
@@ -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';
@@ -0,0 +1,7 @@
1
+ export interface ScannedObjectBarProps {
2
+ criticalVulnerabilitiesCount: number;
3
+ moderateVulnerabilitiesCount: number;
4
+ lowVulnerabilitiesCount: number;
5
+ objectBarClassName?: string;
6
+ removeObjectCountMargin?: boolean;
7
+ }
@@ -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';
@@ -202,10 +202,8 @@ export declare enum DefaultUserKey {
202
202
  }
203
203
  export declare enum Severity {
204
204
  CRITICAL = "critical",
205
- HIGH = "high",
206
- MEDIUM = "medium",
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: 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;