first
This commit is contained in:
22
safekiso-server/node_modules/snyk/dist/lib/plugins/get-multi-plugin-result.d.ts
generated
vendored
Normal file
22
safekiso-server/node_modules/snyk/dist/lib/plugins/get-multi-plugin-result.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
import * as cliInterface from '@snyk/cli-interface';
|
||||
import { TestOptions, Options, MonitorOptions } from '../types';
|
||||
import { SupportedPackageManagers } from '../package-managers';
|
||||
import { PluginMetadata } from '@snyk/cli-interface/legacy/plugin';
|
||||
import { CallGraph } from '@snyk/cli-interface/legacy/common';
|
||||
export interface ScannedProjectCustom extends cliInterface.legacyCommon.ScannedProject {
|
||||
packageManager: SupportedPackageManagers;
|
||||
plugin: PluginMetadata;
|
||||
callGraph?: CallGraph;
|
||||
}
|
||||
interface FailedProjectScanError {
|
||||
targetFile?: string;
|
||||
error?: Error;
|
||||
errMessage: string;
|
||||
}
|
||||
export interface MultiProjectResultCustom extends cliInterface.legacyPlugin.MultiProjectResult {
|
||||
scannedProjects: ScannedProjectCustom[];
|
||||
failedResults?: FailedProjectScanError[];
|
||||
}
|
||||
export declare function getMultiPluginResult(root: string, options: Options & (TestOptions | MonitorOptions), targetFiles: string[], featureFlags?: Set<string>): Promise<MultiProjectResultCustom>;
|
||||
export declare function filterOutProcessedWorkspaces(root: string, scannedProjects: ScannedProjectCustom[], allTargetFiles: string[], lockFile: string): string[];
|
||||
export {};
|
||||
Reference in New Issue
Block a user