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