UNPKG

711 BTypeScriptView Raw
1import { AddressChannels } from "../context/addressChannels";
2import { SdmListener } from "./Listener";
3import { ProjectListenerInvocation } from "./ProjectListener";
4/**
5 * Listener invoked when a repo has been linked to a channel
6 */
7export interface ChannelLinkListenerInvocation extends ProjectListenerInvocation {
8 newlyLinkedChannelName: string;
9 /**
10 * Convenient method to address the newly linked channel only.
11 * The inherited addressChannels method will address all linked channels.
12 */
13 addressNewlyLinkedChannel: AddressChannels;
14}
15export declare type ChannelLinkListener = SdmListener<ChannelLinkListenerInvocation>;
16//# sourceMappingURL=ChannelLinkListenerInvocation.d.ts.map
\No newline at end of file