mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 13:17:46 +00:00
23 lines
379 B
TypeScript
23 lines
379 B
TypeScript
export enum AlbumApiNames {
|
|
FetchAlbum = 'fetchAlbum',
|
|
}
|
|
|
|
// 专辑详情
|
|
export interface FetchAlbumParams {
|
|
id: number
|
|
}
|
|
export interface FetchAlbumResponse {
|
|
code: number
|
|
resourceState: boolean
|
|
album: Album
|
|
songs: Track[]
|
|
description: string
|
|
}
|
|
|
|
export interface LikeAAlbumParams {
|
|
t: 1 | 2
|
|
id: number
|
|
}
|
|
export interface LikeAAlbumResponse {
|
|
code: number
|
|
}
|