@eventcatalog/notifier
Version:
CLI tool to detect EventCatalog changes and send notifications
16 lines • 666 B
TypeScript
import { Event } from './Event';
import { Notification, NotifierConfig, Stage, CLIOptions } from '../types';
export declare class ConsumerRemovedEvent extends Event {
eventId: string;
constructor({ catalogPath, changedFiles, commitRange, options, }: {
catalogPath: string;
changedFiles: string[];
commitRange?: string;
options: CLIOptions;
});
process(): Promise<Notification[]>;
static getSlackMessage(config: NotifierConfig, notification: Notification, lifecycle: Stage, actionUrl?: string): any;
private parseCommitRange;
private findRemovedReceives;
}
//# sourceMappingURL=ConsumerRemovedEvent.d.ts.map