v0.3.30: 清理notifier参数 — 移除title/content/level/priority,标题内容由消息模板统一管理
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
import { Notifier, NotifyParams, NotifyResult, NotifierParam } from './notifier.types';
|
||||
|
||||
const params: NotifierParam[] = [
|
||||
{ key: 'url', label: 'Webhook URL', type: 'url', required: true, placeholder: 'https://example.com/webhook' },
|
||||
{ key: 'title', label: '\u6807\u9898', type: 'text', default: 'CloudSearch', required: false },
|
||||
{ key: 'content', label: '\u5185\u5bb9', type: 'text', required: true },
|
||||
{ key: 'level', label: '\u7ea7\u522b', type: 'text', default: 'info', required: false },
|
||||
{ key: 'url', label: 'Webhook URL', type: 'url', required: true, placeholder: 'https://example.com/webhook' }
|
||||
];
|
||||
|
||||
export const webhookNotifier: Notifier = {
|
||||
|
||||
Reference in New Issue
Block a user