Skip to content

Commit

Permalink
Merge pull request Binaryify#1603 from DawningW/master
Browse files Browse the repository at this point in the history
补全乐谱等API的interface
  • Loading branch information
Binaryify authored Sep 7, 2022
2 parents ae38be1 + cc10e81 commit feaf083
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions interface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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>

0 comments on commit feaf083

Please sign in to comment.