Merge pull request #18 from umbors/main

Add Wecom Notification
This commit is contained in:
Rewrite0
2023-06-04 18:05:55 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ import type { SettingItem } from '#/components';
const { getSettingGroup } = useConfigStore();
const notification = getSettingGroup('notification');
const notificationType: NotificationType = ['telegram', 'server-chan', 'bark'];
const notificationType: NotificationType = ['telegram', 'server-chan', 'bark', 'wecom'];
const items: SettingItem<Notification>[] = [
{

View File

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