Files
stack/apps/gateway/src/plugin/plugin.interface.ts
T
jason.woltje 7a52652be6
ci/woodpecker/push/ci Pipeline was successful
feat(gateway): Discord channel auto-creation on project bootstrap (#200)
Co-authored-by: Jason Woltje <[email protected]>
Co-committed-by: Jason Woltje <[email protected]>
2026-03-17 02:32:14 +00:00

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>;
}