feat: add bark notification

This commit is contained in:
Kasper4649
2023-05-07 13:35:26 +08:00
parent 4552f097b5
commit c45ef91ee8
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ export const rssParserType: RssParserType = ['mikan'];
export const rssParserLang: RssParserLang = ['zh', 'en', 'jp'];
export const renameMethod: RenameMethod = ['normal', 'pn', 'advance', 'none'];
export const proxyType: ProxyType = ['http', 'https', 'socks5'];
export const notificationType: NotificationType = ['telegram', 'server-chan'];
export const notificationType: NotificationType = ['telegram', 'server-chan', 'bark'];
export const tfOptions = [
{ label: '是', value: true },
{ label: '否', value: false },

View File

@@ -44,7 +44,7 @@ export interface Config {
};
notification: {
enable: boolean;
type: 'telegram' | 'server-chan';
type: 'telegram' | 'server-chan' | 'bark';
token: string;
chat_id: string;
};