自定义源列显示源版本号、作者名字,优化自定义源脚本数据存储

This commit is contained in:
lyswhut
2023-11-25 12:19:36 +08:00
parent ff98e06afa
commit 3ba51fd6fe
7 changed files with 94 additions and 20 deletions
+3 -1
View File
@@ -13,7 +13,7 @@ declare namespace LX {
type UserApiSources = Record<LX.Source, UserApiSourceInfo>
interface UserApiInfo {
interface UserApiInfoFull {
id: string
name: string
description: string
@@ -25,6 +25,8 @@ declare namespace LX {
sources?: UserApiSources
}
type UserApiInfo = Omit<UserApiInfoFull, 'script'>
interface UserApiStatus {
status: boolean
message?: string