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: 'topic', label: 'Topic', type: 'text', required: true, placeholder: 'my-notification-topic' },
|
||||
{ key: 'server', label: '服务器', type: 'url', default: 'https://ntfy.sh', required: false, placeholder: 'https://ntfy.sh' },
|
||||
{ key: 'title', label: '标题', type: 'text', default: 'CloudSearch', required: false },
|
||||
{ key: 'content', label: '内容', type: 'text', required: true },
|
||||
{ key: 'priority', label: '优先级(1-5)', type: 'text', default: 3, required: false },
|
||||
{ key: 'server', label: '服务器', type: 'url', default: 'https://ntfy.sh', required: false, placeholder: 'https://ntfy.sh' }
|
||||
];
|
||||
|
||||
export const ntfyNotifier: Notifier = {
|
||||
|
||||
Reference in New Issue
Block a user