v0.3.30: 清理notifier参数 — 移除title/content/level/priority,标题内容由消息模板统一管理
This commit is contained in:
@@ -2,10 +2,7 @@ import { Notifier, NotifyParams, NotifyResult, NotifierParam } from './notifier.
|
||||
|
||||
const params: NotifierParam[] = [
|
||||
{ key: 'key', label: 'Bark Key', type: 'text', required: true, placeholder: 'xxxxxxxxxxxxxxxxx' },
|
||||
{ key: 'server', label: '服务器', type: 'url', default: 'https://api.day.app', required: false, placeholder: 'https://api.day.app' },
|
||||
{ key: 'title', label: '标题', type: 'text', default: 'CloudSearch 通知', required: false },
|
||||
{ key: 'content', label: '内容', type: 'text', required: true },
|
||||
{ key: 'level', label: '级别', type: 'text', default: 'info', required: false },
|
||||
{ key: 'server', label: '服务器', type: 'url', default: 'https://api.day.app', required: false, placeholder: 'https://api.day.app' }
|
||||
];
|
||||
|
||||
export const barkNotifier: Notifier = {
|
||||
|
||||
Reference in New Issue
Block a user