Edit File: types.d.ts
import { CallPath, LegalInstruction, REACHABILITY, SEVERITY } from '../../lib/snyk-test/legacy'; export interface SampleReachablePaths { pathCount: number; paths: CallPath[]; } export interface BasicVulnInfo { type: string; title: string; severity: SEVERITY; originalSeverity?: SEVERITY; isNew: boolean; name: string; version: string; fixedIn: string[]; legalInstructions?: LegalInstruction[]; paths: string[][]; note: string | false; reachability?: REACHABILITY; sampleReachablePaths?: SampleReachablePaths; } interface TopLevelPackageUpgrade { name: string; version: string; } export interface UpgradesByAffectedPackage { [pkgNameAndVersion: string]: TopLevelPackageUpgrade[]; } export {};
Back to File Manager