This commit is contained in:
2026-04-07 14:50:23 +09:00
commit b4e485502b
4778 changed files with 2017091 additions and 0 deletions

View 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;

View File

@@ -0,0 +1,2 @@
import { GoodResult, BadResult } from './types';
export declare function processJsonMonitorResponse(results: Array<GoodResult | BadResult>): string;

View 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;
}