自定义源列显示源版本号、作者名字,优化自定义源脚本数据存储
This commit is contained in:
Vendored
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user