补全乐谱等API的interface

This commit is contained in:
QingChenW 2022-09-07 16:22:51 +08:00
parent ae38be14ec
commit cc10e81228

30
interface.d.ts vendored
View File

@ -1056,6 +1056,17 @@ export function song_url(
params: { id: string | number; br?: string | number } & RequestBaseConfig,
): 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(
params: {
area?: AlbumListArea
@ -1623,3 +1634,22 @@ export function vip_timemachine(
limit?: number | string
} & RequestBaseConfig,
): 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>