Edit File: common.d.ts
import { DepGraphData } from '@snyk/dep-graph'; export declare function assembleQueryString(options: any): { org: string; severityThreshold?: boolean | undefined; ignorePolicy?: boolean | undefined; } | null; export declare enum SEVERITY { LOW = "low", MEDIUM = "medium", HIGH = "high", CRITICAL = "critical" } export declare const SEVERITIES: Array<{ verboseName: SEVERITY; value: number; }>; export declare function colorTextBySeverity(severity: string, textToColor: string): string; export declare enum FAIL_ON { all = "all", upgradable = "upgradable", patchable = "patchable" } export type FailOn = 'all' | 'upgradable' | 'patchable'; export declare const RETRY_ATTEMPTS = 3; export declare const RETRY_DELAY = 500; export declare function depGraphToOutputString(dg: DepGraphData, targetName: string): string;
Back to File Manager