This commit is contained in:
Megghy
2023-06-05 15:31:37 +08:00
parent 4dedacf449
commit 981d873225
30 changed files with 16609 additions and 5653 deletions

View File

@@ -1,5 +1,32 @@
export interface APIRoot<T> {
code: number;
message: string;
data: T;
code: number
message: string
data: T
}
export interface PaginationResponse<T> {
total: number
index: number
size: number
hasMore: boolean
datas: T
}
export interface UserInfo {
name: string
uId: number
createAt: number
}
export interface AccountInfo extends UserInfo {
isRoomValid: boolean
enableFunctions: string[]
}
export interface SongsInfo {
id: string
name: string
author: string
url: string
cover: string
from: string
language: string
desc: string
tags: string[]
}