支持插件扩展仪表板

This commit is contained in:
jxxghp
2024-05-08 21:03:00 +08:00
parent bcf55e63f1
commit 09110d1ef7
4 changed files with 131 additions and 29 deletions

View File

@@ -445,6 +445,20 @@ export interface Plugin {
add_time?: number
}
// 插件仪表板
export interface PluginDashboard {
// 插件ID
id: string
// 插件名称
name: string
// 全局配置
attrs: { [key: string]: any }
// col列数
cols: { [key: string]: number }
// 页面元素
elements: { [key: string]: any }[]
}
// 种子信息
export interface TorrentInfo {
// 站点ID