mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-05-17 02:07:29 +08:00
✨ feat: 更新网易云音乐 API 版本,添加 B站视频搜索功能和播放器组件
This commit is contained in:
+28
-12
@@ -13,23 +13,26 @@ export interface ILyric {
|
||||
}
|
||||
|
||||
export interface SongResult {
|
||||
id: number;
|
||||
type: number;
|
||||
id: string | number;
|
||||
name: string;
|
||||
copywriter?: any;
|
||||
picUrl: string;
|
||||
canDislike: boolean;
|
||||
trackNumberUpdateTime?: any;
|
||||
song: Song;
|
||||
alg: string;
|
||||
count?: number;
|
||||
playCount?: number;
|
||||
song?: any;
|
||||
copywriter?: string;
|
||||
type?: number;
|
||||
canDislike?: boolean;
|
||||
program?: any;
|
||||
alg?: string;
|
||||
playMusicUrl?: string;
|
||||
playLoading?: boolean;
|
||||
ar?: Artist[];
|
||||
al?: Album;
|
||||
lyric?: ILyric;
|
||||
backgroundColor?: string;
|
||||
primaryColor?: string;
|
||||
playMusicUrl?: string;
|
||||
lyric?: ILyric;
|
||||
bilibiliData?: {
|
||||
bvid: string;
|
||||
cid: number;
|
||||
};
|
||||
source?: 'netease' | 'bilibili';
|
||||
}
|
||||
|
||||
export interface Song {
|
||||
@@ -214,3 +217,16 @@ interface FreeTrialPrivilege {
|
||||
resConsumable: boolean;
|
||||
userConsumable: boolean;
|
||||
}
|
||||
|
||||
export interface IArtists {
|
||||
id: number;
|
||||
name: string;
|
||||
picUrl: string | null;
|
||||
alias: string[];
|
||||
albumSize: number;
|
||||
picId: number;
|
||||
fansGroup: null;
|
||||
img1v1Url: string;
|
||||
img1v1: number;
|
||||
trans: null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user