UNPKG

liquibase-linter

Version:
20 lines (19 loc) 496 B
export declare enum ErrorLevel { ERROR = "ERROR", WARNING = "WARNING" } export interface Violation { level: ErrorLevel; message: string; changeSetId: string; fileName: string; } export declare class Reporter { _violations: Violation[]; fileName: string; constructor(fileName: string); error(message: string, changeSetId: string): void; warning(message: string, changeSetId: string): void; get violations(): Violation[]; hasErrors(): boolean; }