mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
✨ 新增插件商店api (#1659)
* ✨ 新增插件商店api * chore(version): Update version to v0.2.2-7e15f20 --------- Co-authored-by: HibiKier <HibiKier@users.noreply.github.com>
This commit is contained in:
@@ -16,14 +16,23 @@ class StorePluginInfo(BaseModel):
|
||||
"""插件信息"""
|
||||
|
||||
module: str
|
||||
"""模块名"""
|
||||
module_path: str
|
||||
"""模块路径"""
|
||||
description: str
|
||||
"""简介"""
|
||||
usage: str
|
||||
"""用法"""
|
||||
author: str
|
||||
"""作者"""
|
||||
version: str
|
||||
"""版本"""
|
||||
plugin_type: PluginType
|
||||
"""插件类型"""
|
||||
is_dir: bool
|
||||
"""是否为文件夹插件"""
|
||||
github_url: str | None
|
||||
"""github链接"""
|
||||
|
||||
@property
|
||||
def plugin_type_name(self):
|
||||
|
||||
Reference in New Issue
Block a user