All checks were successful
ci/woodpecker/push/ci Pipeline was successful
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
12 lines
343 B
TypeScript
12 lines
343 B
TypeScript
export interface IChannelPlugin {
|
|
readonly name: string;
|
|
start(): Promise<void>;
|
|
stop(): Promise<void>;
|
|
/** Called when a new project is bootstrapped. Return channelId if a channel was created. */
|
|
onProjectCreated?(project: {
|
|
id: string;
|
|
name: string;
|
|
description?: string;
|
|
}): Promise<{ channelId: string } | null>;
|
|
}
|