增加PushDeer推送 #1161 (#1194)

* 增加PushDeer推送
This commit is contained in:
NekoMio
2022-03-03 18:42:11 +08:00
committed by GitHub
parent a10ffef38f
commit 3e62fedc73
6 changed files with 115 additions and 9 deletions
+6
View File
@@ -2,6 +2,7 @@ export enum NotificationMode {
'gotify' = 'gotify',
'goCqHttpBot' = 'goCqHttpBot',
'serverChan' = 'serverChan',
'pushDeer' = 'pushDeer',
'bark' = 'bark',
'telegramBot' = 'telegramBot',
'dingtalkBot' = 'dingtalkBot',
@@ -32,6 +33,10 @@ export class ServerChanNotification extends NotificationBaseInfo {
public serverChanKey = '';
}
export class PushDeerNotification extends NotificationBaseInfo {
public pushDeerKey = '';
}
export class BarkNotification extends NotificationBaseInfo {
public barkPush = '';
public barkIcon =
@@ -81,6 +86,7 @@ export interface NotificationInfo
extends GoCqHttpBotNotification,
GotifyNotification,
ServerChanNotification,
PushDeerNotification,
BarkNotification,
TelegramBotNotification,
DingtalkBotNotification,