插件支持最近更新排序

This commit is contained in:
jxxghp
2024-04-30 08:35:29 +08:00
parent 97ede69609
commit 225df7b1e6
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "moviepilot", "name": "moviepilot",
"version": "1.8.5", "version": "1.8.5-1",
"private": true, "private": true,
"bin": "dist/service.js", "bin": "dist/service.js",
"scripts": { "scripts": {
+2
View File
@@ -439,6 +439,8 @@ export interface Plugin {
repo_url?: string repo_url?: string
// 变更历史 // 变更历史
history?: { [key: string]: string } history?: { [key: string]: string }
// 添加时间
add_time?: number
} }
// 种子信息 // 种子信息
+1
View File
@@ -43,6 +43,7 @@ const sortOptions = [
{ title: '插件名称', value: 'plugin_name' }, { title: '插件名称', value: 'plugin_name' },
{ title: '作者', value: 'plugin_author' }, { title: '作者', value: 'plugin_author' },
{ title: '插件仓库', value: 'repo_url' }, { title: '插件仓库', value: 'repo_url' },
{ title: '最新发布', value: 'add_time' },
] ]
// 已安装插件列表 // 已安装插件列表