From cc10e812288bc08885fb821f9bcd856d09979bf9 Mon Sep 17 00:00:00 2001 From: QingChenW <201436728@qq.com> Date: Wed, 7 Sep 2022 16:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=A8=E4=B9=90=E8=B0=B1=E7=AD=89AP?= =?UTF-8?q?I=E7=9A=84interface?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- interface.d.ts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/interface.d.ts b/interface.d.ts index ef35640..0a08b39 100644 --- a/interface.d.ts +++ b/interface.d.ts @@ -1056,6 +1056,17 @@ export function song_url( params: { id: string | number; br?: string | number } & RequestBaseConfig, ): Promise +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 + export function top_album( params: { area?: AlbumListArea @@ -1623,3 +1634,22 @@ export function vip_timemachine( limit?: number | string } & RequestBaseConfig, ): Promise + +export function song_wiki_summary( + params: { + id: number | string + } & RequestBaseConfig, +): Promise + +export function sheet_list( + params: { + id: number | string + abTest?: 'a' | 'b' + } & RequestBaseConfig, +): Promise + +export function sheet_preview( + params: { + id: number | string + } & RequestBaseConfig, +): Promise