first
This commit is contained in:
17
safekiso-server/node_modules/snyk/dist/cli/commands/monitor/index.d.ts
generated
vendored
Normal file
17
safekiso-server/node_modules/snyk/dist/cli/commands/monitor/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import { ProjectAttributes, Tag } from '../../../lib/types';
|
||||
import { MethodArgs } from '../../args';
|
||||
export default function monitor(...args0: MethodArgs): Promise<any>;
|
||||
export declare function validateProjectAttributes(options: any): void;
|
||||
export declare function generateProjectAttributes(options: any): ProjectAttributes;
|
||||
/**
|
||||
* Parse CLI --tags options into an internal data structure.
|
||||
*
|
||||
* If this returns undefined, it means "do not touch the existing tags on the project".
|
||||
*
|
||||
* Anything else means "replace existing tags on the project with this list" even if empty.
|
||||
*
|
||||
* @param options CLI options
|
||||
* @returns List of parsed tags or undefined if they are to be left untouched.
|
||||
*/
|
||||
export declare function generateTags(options: any): Tag[] | undefined;
|
||||
export declare function validateTags(options: any): void;
|
||||
2
safekiso-server/node_modules/snyk/dist/cli/commands/monitor/process-json-monitor.d.ts
generated
vendored
Normal file
2
safekiso-server/node_modules/snyk/dist/cli/commands/monitor/process-json-monitor.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import { GoodResult, BadResult } from './types';
|
||||
export declare function processJsonMonitorResponse(results: Array<GoodResult | BadResult>): string;
|
||||
12
safekiso-server/node_modules/snyk/dist/cli/commands/monitor/types.d.ts
generated
vendored
Normal file
12
safekiso-server/node_modules/snyk/dist/cli/commands/monitor/types.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { MonitorError } from '../../../lib/errors';
|
||||
export interface GoodResult {
|
||||
ok: true;
|
||||
data: string;
|
||||
path: string;
|
||||
projectName?: string;
|
||||
}
|
||||
export interface BadResult {
|
||||
ok: false;
|
||||
data: MonitorError;
|
||||
path: string;
|
||||
}
|
||||
Reference in New Issue
Block a user