Merge pull request #9 from Kasper4649/main

add bark notification
This commit is contained in:
Rewrite0
2023-05-07 15:34:18 +08:00
committed by GitHub
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;
};