UNPKG

trigger.dev

Version:

A Command-Line Interface for Trigger.dev projects

15 lines (14 loc) 522 B
export type WarningsCheckReturn = { ok: true; warnings: string[]; } | { ok: false; summary: string; errors: string[]; warnings: string[]; }; export declare function saveLogs(shortCode: string, logs: string): Promise<string>; export declare function printErrors(errors?: string[]): void; export declare function printWarnings(warnings?: string[]): void; export declare function checkLogsForErrors(logs: string): void; export declare function checkLogsForWarnings(logs: string): WarningsCheckReturn;