feat: updates

This commit is contained in:
qier222 2023-01-07 14:39:03 +08:00
parent 884f3df41a
commit c6c59b2cd9
No known key found for this signature in database
84 changed files with 3531 additions and 2616 deletions

View file

@ -5,6 +5,7 @@ export enum UserApiNames {
FetchUserAlbums = 'fetchUserAlbums',
FetchUserArtists = 'fetchUserArtists',
FetchListenedRecords = 'fetchListenedRecords',
FetchUserVideos = 'fetchUserVideos',
}
// 获取账号详情
@ -107,6 +108,14 @@ export interface FetchUserArtistsResponse {
count: number
data: Artist[]
}
// 获取收藏的MV
export interface FetchUserVideosParams {}
export interface FetchUserVideosResponse {
code: number
hasMore: boolean
count: number
data: Video[]
}
// 听歌排名
export interface FetchListenedRecordsParams {

View file

@ -206,3 +206,19 @@ declare interface User {
anchor: boolean
avatarImgId_str: string
}
declare interface Video {
alg: null
aliaName: string
coverUrl: string
creator: { userId: number; userName: string }[]
userId: number
userName: string
durationms: number
markTypes: null
playTime: number
title: string
transName: string
type: number
vid: string
}