mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
nothing
This commit is contained in:
@@ -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[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user