mirror of
https://github.com/certd/certd.git
synced 2026-04-27 23:37:29 +08:00
feat: 从yaml文件注册插件
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
name: discord
|
||||
title: Discord 通知
|
||||
desc: Discord 机器人通知
|
||||
needPlus: true
|
||||
input:
|
||||
webhook:
|
||||
title: Webhook URL
|
||||
component:
|
||||
placeholder: https://discord.com/api/webhooks/xxxxx/xxxx
|
||||
helper: >-
|
||||
[Discord Webhook
|
||||
说明](https://discord.com/developers/docs/resources/webhook#execute-webhook)
|
||||
required: true
|
||||
mentionedList:
|
||||
title: 提醒指定成员
|
||||
component:
|
||||
name: a-select
|
||||
vModel: value
|
||||
mode: tags
|
||||
open: false
|
||||
required: false
|
||||
helper: 填写成员的Id,或者角色Id(&id),或者everyone
|
||||
httpsProxy:
|
||||
title: 代理
|
||||
component:
|
||||
placeholder: http://xxxxx:xx
|
||||
helper: 使用https_proxy
|
||||
required: false
|
||||
skipSslVerify:
|
||||
title: 忽略证书校验
|
||||
value: false
|
||||
component:
|
||||
name: a-switch
|
||||
vModel: checked
|
||||
required: false
|
||||
type: builtIn
|
||||
pluginType: notification
|
||||
scriptFilePath: ../../../plugins/plugin-notification/index.js
|
||||
Reference in New Issue
Block a user