feat: new notification provider: slack bot

This commit is contained in:
Fu Diwei
2025-05-26 16:41:16 +08:00
parent 8e23b14bf3
commit e82a59289b
30 changed files with 341 additions and 11 deletions

View File

@@ -58,6 +58,7 @@ export interface AccessModel extends BaseModel {
| AccessConfigForRainYun
| AccessConfigForRatPanel
| AccessConfigForSafeLine
| AccessConfigForSlackBot
| AccessConfigForSSH
| AccessConfigForSSLCom
| AccessConfigForTelegramBot
@@ -361,6 +362,11 @@ export type AccessConfigForSafeLine = {
allowInsecureConnections?: boolean;
};
export type AccessConfigForSlackBot = {
botToken: string;
defaultChannelId?: string;
};
export type AccessConfigForSSH = {
host: string;
port: number;