From 2240ff08a10949884bf2a0f667e8624d7e07d7dc Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 22 Nov 2023 07:25:00 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=8F=92=E4=BB=B6=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/schemas/types.py | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/app/schemas/types.py b/app/schemas/types.py index 8acb5a5c..02d866f7 100644 --- a/app/schemas/types.py +++ b/app/schemas/types.py @@ -16,16 +16,12 @@ class TorrentStatus(Enum): class EventType(Enum): # 插件重载 PluginReload = "plugin.reload" + # 插件动作 + PluginAction = "plugin.action" # 执行命令 CommandExcute = "command.excute" - # 站点签到 - SiteSignin = "site.signin" - # 站点数据统计 - SiteStatistic = "site.statistic" # 站点删除 SiteDeleted = "site.deleted" - # 豆瓣想看 - DoubanSync = "douban.sync" # Webhook消息 WebhookMessage = "webhook.message" # 转移完成 @@ -44,14 +40,6 @@ class EventType(Enum): NameRecognize = "name.recognize" # 名称识别结果 NameRecognizeResult = "name.recognize.result" - # 目录监控同步 - DirectorySync = "directory.sync" - # Cloudflare IP优选 - CloudFlareSpeedTest = "cloudflare.speedtest" - # 站点自动登录更新Cookie、Ua - SiteLogin = "site.login" - # 网盘删除 - NetworkDiskDel = "networkdisk.del" # 系统配置Key字典