forked from RaminNietzsche/CVE-Radar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvulnerability.ts
More file actions
31 lines (27 loc) · 854 Bytes
/
Copy pathvulnerability.ts
File metadata and controls
31 lines (27 loc) · 854 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
export type {
Severity,
VulnType,
DataSource,
Vulnerability,
ScanSummary,
ScanResponse,
ScanMeta,
} from "@shared/api/vulnerability";
export type SortBy = "severity" | "date" | "cvss" | "riskScore";
export type TabId = "dashboard" | "vulns" | "stack";
export interface AppSettings {
alertsEnabled: boolean;
autoRefresh: boolean;
/** Fast polling — OSV + GitHub only */
watchEnabled: boolean;
watchIntervalMs: number;
/** Server scan enrichment + auto-translate CVE text to UI language */
translateEnabled: boolean;
}
export interface WatchResponse {
vulns: import("@shared/api/vulnerability").Vulnerability[];
newVulns: import("@shared/api/vulnerability").Vulnerability[];
hasNew: boolean;
summary: import("@shared/api/vulnerability").ScanSummary | null;
meta?: import("@shared/api/vulnerability").ScanMeta;
}