帮助新增HTML生成(新布局),添加配置TYPE切换

This commit is contained in:
HibiKier
2022-12-11 23:33:16 +08:00
parent 5810c28294
commit 380588c11d
5 changed files with 185 additions and 92 deletions
+14
View File
@@ -0,0 +1,14 @@
from typing import Optional, List, Any, Union, Dict
from pydantic import BaseModel
class Item(BaseModel):
plugin_name: str
sta: int
class PluginList(BaseModel):
plugin_type: str
icon: str
logo: str
items: List[Item]