feat: new notification provider: slack bot
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user