mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
补全乐谱等API的interface
This commit is contained in:
parent
ae38be14ec
commit
cc10e81228
30
interface.d.ts
vendored
30
interface.d.ts
vendored
@ -1056,6 +1056,17 @@ export function song_url(
|
|||||||
params: { id: string | number; br?: string | number } & RequestBaseConfig,
|
params: { id: string | number; br?: string | number } & RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
|
export const enum SoundQualityType {
|
||||||
|
standard = 'standard',
|
||||||
|
exhigh = 'exhigh',
|
||||||
|
lossless = 'lossless',
|
||||||
|
hires = 'hires',
|
||||||
|
}
|
||||||
|
|
||||||
|
export function song_url_v1(
|
||||||
|
params: { id: string | number; level: SoundQualityType } & RequestBaseConfig,
|
||||||
|
): Promise<Response>
|
||||||
|
|
||||||
export function top_album(
|
export function top_album(
|
||||||
params: {
|
params: {
|
||||||
area?: AlbumListArea
|
area?: AlbumListArea
|
||||||
@ -1623,3 +1634,22 @@ export function vip_timemachine(
|
|||||||
limit?: number | string
|
limit?: number | string
|
||||||
} & RequestBaseConfig,
|
} & RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
|
export function song_wiki_summary(
|
||||||
|
params: {
|
||||||
|
id: number | string
|
||||||
|
} & RequestBaseConfig,
|
||||||
|
): Promise<Response>
|
||||||
|
|
||||||
|
export function sheet_list(
|
||||||
|
params: {
|
||||||
|
id: number | string
|
||||||
|
abTest?: 'a' | 'b'
|
||||||
|
} & RequestBaseConfig,
|
||||||
|
): Promise<Response>
|
||||||
|
|
||||||
|
export function sheet_preview(
|
||||||
|
params: {
|
||||||
|
id: number | string
|
||||||
|
} & RequestBaseConfig,
|
||||||
|
): Promise<Response>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user