mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-04 00:52:09 +08:00
add MultiPageConfig
This commit is contained in:
parent
6ee7179cb9
commit
c16fc13568
279
main.d.ts
vendored
279
main.d.ts
vendored
@ -5,6 +5,11 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
proxy?: string // HTTP proxy
|
proxy?: string // HTTP proxy
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface MultiPageConfig {
|
||||||
|
limit?: string | number
|
||||||
|
offset?: string | number
|
||||||
|
}
|
||||||
|
|
||||||
export interface ImageUploadConfig {
|
export interface ImageUploadConfig {
|
||||||
imgFile: {
|
imgFile: {
|
||||||
name: string
|
name: string
|
||||||
@ -62,12 +67,8 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function album_list(
|
export function album_list(
|
||||||
params: {
|
params: { area?: AlbumListArea; type: string } & MultiPageConfig &
|
||||||
limit?: string | number // 默认 30
|
RequestBaseConfig,
|
||||||
offset?: string | number // 默认 0
|
|
||||||
area?: AlbumListArea // 默认 ALL
|
|
||||||
type: string
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export const enum AlbumListStyleArea {
|
export const enum AlbumListStyleArea {
|
||||||
@ -78,19 +79,11 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function album_list_style(
|
export function album_list_style(
|
||||||
params: {
|
params: { area?: AlbumListStyleArea } & MultiPageConfig & RequestBaseConfig,
|
||||||
limit?: string | number // 默认 10
|
|
||||||
offset?: string | number // 默认 0
|
|
||||||
area?: AlbumListStyleArea // 默认 ALL
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function album_new(
|
export function album_new(
|
||||||
params: {
|
params: { area?: AlbumListArea } & MultiPageConfig & RequestBaseConfig,
|
||||||
limit?: string | number // 默认 30
|
|
||||||
offset?: string | number // 默认 0
|
|
||||||
area?: AlbumListArea // 默认 ALL
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function album_newest(params: RequestBaseConfig): Promise<Response>
|
export function album_newest(params: RequestBaseConfig): Promise<Response>
|
||||||
@ -123,18 +116,11 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function album_sublist(
|
export function album_sublist(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
limit: string | number // 默认: 25
|
|
||||||
offset: string | number // 默认: 0
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function artist_album(
|
export function artist_album(
|
||||||
params: {
|
params: { id: string | number } & MultiPageConfig & RequestBaseConfig,
|
||||||
id: string | number
|
|
||||||
limit?: string | number // 默认 30
|
|
||||||
offset?: string | number // 默认 0
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function artist_desc(
|
export function artist_desc(
|
||||||
@ -219,18 +205,13 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
| 'X'
|
| 'X'
|
||||||
| 'Y'
|
| 'Y'
|
||||||
| 'Z'
|
| 'Z'
|
||||||
offset?: string | number
|
|
||||||
limit?: string | number
|
|
||||||
type?: ArtistType
|
type?: ArtistType
|
||||||
} & RequestBaseConfig,
|
} & MultiPageConfig &
|
||||||
|
RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function artist_mv(
|
export function artist_mv(
|
||||||
params: {
|
params: { id: string | number } & MultiPageConfig & RequestBaseConfig,
|
||||||
id: string | number
|
|
||||||
limit: string | number
|
|
||||||
offset: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export const enum ArtistSongsOrder {
|
export const enum ArtistSongsOrder {
|
||||||
@ -242,9 +223,8 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
params: {
|
params: {
|
||||||
id: string | number
|
id: string | number
|
||||||
order?: ArtistSongsOrder
|
order?: ArtistSongsOrder
|
||||||
offset?: string | number
|
} & MultiPageConfig &
|
||||||
limit?: string | number
|
RequestBaseConfig,
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function artist_sub(
|
export function artist_sub(
|
||||||
@ -252,10 +232,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function artist_sublist(
|
export function artist_sublist(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function artist_top_song(
|
export function artist_top_song(
|
||||||
@ -324,9 +301,8 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
params: {
|
params: {
|
||||||
keywords: string
|
keywords: string
|
||||||
type?: SearchType
|
type?: SearchType
|
||||||
limit?: string | number
|
} & MultiPageConfig &
|
||||||
offset?: string | number
|
RequestBaseConfig,
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export const enum CommentType {
|
export const enum CommentType {
|
||||||
@ -404,28 +380,25 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
export function comment_album(
|
export function comment_album(
|
||||||
params: {
|
params: {
|
||||||
id: string | number
|
id: string | number
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
before?: string | number
|
before?: string | number
|
||||||
} & RequestBaseConfig,
|
} & MultiPageConfig &
|
||||||
|
RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function comment_dj(
|
export function comment_dj(
|
||||||
params: {
|
params: {
|
||||||
id: string | number
|
id: string | number
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
before?: string | number
|
before?: string | number
|
||||||
} & RequestBaseConfig,
|
} & MultiPageConfig &
|
||||||
|
RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function comment_event(
|
export function comment_event(
|
||||||
params: {
|
params: {
|
||||||
threadId: string
|
threadId: string
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
before?: string | number
|
before?: string | number
|
||||||
} & RequestBaseConfig,
|
} & MultiPageConfig &
|
||||||
|
RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function comment_floor(
|
export function comment_floor(
|
||||||
@ -442,10 +415,9 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
params: {
|
params: {
|
||||||
id: string | number
|
id: string | number
|
||||||
type: CommentType
|
type: CommentType
|
||||||
offset?: string | number
|
|
||||||
limit?: string | number
|
|
||||||
before?: string | number
|
before?: string | number
|
||||||
} & RequestBaseConfig,
|
} & MultiPageConfig &
|
||||||
|
RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function comment_hotwall_list(
|
export function comment_hotwall_list(
|
||||||
@ -465,37 +437,34 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
export function comment_music(
|
export function comment_music(
|
||||||
params: {
|
params: {
|
||||||
id: string | number
|
id: string | number
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
before?: string | number
|
before?: string | number
|
||||||
} & RequestBaseConfig,
|
} & MultiPageConfig &
|
||||||
|
RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function comment_mv(
|
export function comment_mv(
|
||||||
params: {
|
params: {
|
||||||
id: string | number
|
id: string | number
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
before?: string | number
|
before?: string | number
|
||||||
} & RequestBaseConfig,
|
} & MultiPageConfig &
|
||||||
|
RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function comment_playlist(
|
export function comment_playlist(
|
||||||
params: {
|
params: {
|
||||||
id: string | number
|
id: string | number
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
before?: string | number
|
before?: string | number
|
||||||
} & RequestBaseConfig,
|
} & MultiPageConfig &
|
||||||
|
RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function comment_video(
|
export function comment_video(
|
||||||
params: {
|
params: {
|
||||||
id: string | number
|
id: string | number
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
before?: string | number
|
before?: string | number
|
||||||
} & RequestBaseConfig,
|
} & MultiPageConfig &
|
||||||
|
RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function countries_code_list(
|
export function countries_code_list(
|
||||||
@ -520,10 +489,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function digitalAlbum_purchased(
|
export function digitalAlbum_purchased(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
offset?: string | number
|
|
||||||
limit?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_banner(params: RequestBaseConfig): Promise<Response>
|
export function dj_banner(params: RequestBaseConfig): Promise<Response>
|
||||||
@ -543,17 +509,11 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_hot(
|
export function dj_hot(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
offset?: string | number
|
|
||||||
limit?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_paygift(
|
export function dj_paygift(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
offset?: string | number
|
|
||||||
limit?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_personalize_recommend(
|
export function dj_personalize_recommend(
|
||||||
@ -563,10 +523,9 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
export function dj_program(
|
export function dj_program(
|
||||||
params: {
|
params: {
|
||||||
rid: string | number
|
rid: string | number
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
asc: 'true' | 1 | 'false' | 0
|
asc: 'true' | 1 | 'false' | 0
|
||||||
} & RequestBaseConfig,
|
} & MultiPageConfig &
|
||||||
|
RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_program_detail(
|
export function dj_program_detail(
|
||||||
@ -574,10 +533,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_program_toplist(
|
export function dj_program_toplist(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_program_toplist_hours(
|
export function dj_program_toplist_hours(
|
||||||
@ -587,9 +543,8 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
export function dj_radio_hot(
|
export function dj_radio_hot(
|
||||||
params: {
|
params: {
|
||||||
cateId: string | number
|
cateId: string | number
|
||||||
limit?: string | number
|
} & MultiPageConfig &
|
||||||
offset?: string | number
|
RequestBaseConfig,
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_recommend(params: RequestBaseConfig): Promise<Response>
|
export function dj_recommend(params: RequestBaseConfig): Promise<Response>
|
||||||
@ -626,10 +581,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_sublist(
|
export function dj_sublist(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_today_perfered(
|
export function dj_today_perfered(
|
||||||
@ -637,24 +589,15 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_toplist(
|
export function dj_toplist(
|
||||||
params: {
|
params: { type?: ListOrder } & MultiPageConfig & RequestBaseConfig,
|
||||||
type?: ListOrder
|
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_toplist_hours(
|
export function dj_toplist_hours(
|
||||||
params: {
|
params: { limit?: string | number } & RequestBaseConfig,
|
||||||
limit?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_toplist_newcomer(
|
export function dj_toplist_newcomer(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function dj_toplist_pay(
|
export function dj_toplist_pay(
|
||||||
@ -706,10 +649,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function hot_topic(
|
export function hot_topic(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function like(
|
export function like(
|
||||||
@ -768,10 +708,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function msg_forwards(
|
export function msg_forwards(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
offset?: string | number
|
|
||||||
limit?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function msg_notices(
|
export function msg_notices(
|
||||||
@ -782,10 +719,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function msg_private(
|
export function msg_private(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
offset?: string | number
|
|
||||||
limit?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function msg_private_history(
|
export function msg_private_history(
|
||||||
@ -824,9 +758,8 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
area?: MvArea
|
area?: MvArea
|
||||||
type?: MvType
|
type?: MvType
|
||||||
order?: MvOrder
|
order?: MvOrder
|
||||||
offset?: string | number
|
} & MultiPageConfig &
|
||||||
limit?: string | number
|
RequestBaseConfig,
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function mv_detail(
|
export function mv_detail(
|
||||||
@ -838,10 +771,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function mv_exclusive_rcmd(
|
export function mv_exclusive_rcmd(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
offset?: string | number
|
|
||||||
limit?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function mv_first(
|
export function mv_first(
|
||||||
@ -853,10 +783,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function mv_sublist(
|
export function mv_sublist(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function mv_url(
|
export function mv_url(
|
||||||
@ -884,10 +811,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function personalized_privatecontent_list(
|
export function personalized_privatecontent_list(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
offset?: string | number
|
|
||||||
limit?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function playlist_catlist(params: RequestBaseConfig): Promise<Response>
|
export function playlist_catlist(params: RequestBaseConfig): Promise<Response>
|
||||||
@ -931,11 +855,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function playlist_subscribers(
|
export function playlist_subscribers(
|
||||||
params: {
|
params: { id?: string | number } & MultiPageConfig & RequestBaseConfig,
|
||||||
id?: string | number
|
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function playlist_tags_update(
|
export function playlist_tags_update(
|
||||||
@ -969,11 +889,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function program_recommend(
|
export function program_recommend(
|
||||||
params: {
|
params: { type: string } & MultiPageConfig & RequestBaseConfig,
|
||||||
type: string
|
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function rebind(
|
export function rebind(
|
||||||
@ -1036,9 +952,8 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
params: {
|
params: {
|
||||||
keywords: string
|
keywords: string
|
||||||
type?: SearchType
|
type?: SearchType
|
||||||
limit?: string | number
|
} & MultiPageConfig &
|
||||||
offset?: string | number
|
RequestBaseConfig,
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function search_default(params: RequestBaseConfig): Promise<Response>
|
export function search_default(params: RequestBaseConfig): Promise<Response>
|
||||||
@ -1101,27 +1016,15 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function simi_playlist(
|
export function simi_playlist(
|
||||||
params: {
|
params: { id: string | number } & MultiPageConfig & RequestBaseConfig,
|
||||||
id: string | number
|
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function simi_song(
|
export function simi_song(
|
||||||
params: {
|
params: { id: string | number } & MultiPageConfig & RequestBaseConfig,
|
||||||
id: string | number
|
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function simi_user(
|
export function simi_user(
|
||||||
params: {
|
params: { id: string | number } & MultiPageConfig & RequestBaseConfig,
|
||||||
id: string | number
|
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function song_detail(
|
export function song_detail(
|
||||||
@ -1139,19 +1042,15 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
export function top_album(
|
export function top_album(
|
||||||
params: {
|
params: {
|
||||||
area?: AlbumListArea
|
area?: AlbumListArea
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
type?: ListOrder
|
type?: ListOrder
|
||||||
year?: string
|
year?: string
|
||||||
mouth?: string
|
mouth?: string
|
||||||
} & RequestBaseConfig,
|
} & MultiPageConfig &
|
||||||
|
RequestBaseConfig,
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function top_artists(
|
export function top_artists(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function top_list(
|
export function top_list(
|
||||||
@ -1159,20 +1058,12 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function top_mv(
|
export function top_mv(
|
||||||
params: {
|
params: { area?: MvArea } & MultiPageConfig & RequestBaseConfig,
|
||||||
area?: MvArea
|
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function top_playlist(
|
export function top_playlist(
|
||||||
params: {
|
params: { cat?: string; order?: ListOrder } & MultiPageConfig &
|
||||||
cat?: string
|
RequestBaseConfig,
|
||||||
order?: ListOrder
|
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function top_playlist_highquality(
|
export function top_playlist_highquality(
|
||||||
@ -1215,10 +1106,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function user_cloud(
|
export function user_cloud(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function user_cloud_del(
|
export function user_cloud_del(
|
||||||
@ -1234,11 +1122,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function user_dj(
|
export function user_dj(
|
||||||
params: {
|
params: { uid: string | number } & MultiPageConfig & RequestBaseConfig,
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
uid: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function user_event(
|
export function user_event(
|
||||||
@ -1258,21 +1142,13 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function user_follows(
|
export function user_follows(
|
||||||
params: {
|
params: { uid: string | number } & MultiPageConfig & RequestBaseConfig,
|
||||||
uid: string | number
|
|
||||||
offset?: string | number
|
|
||||||
limit?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function user_level(params: RequestBaseConfig): Promise<Response>
|
export function user_level(params: RequestBaseConfig): Promise<Response>
|
||||||
|
|
||||||
export function user_playlist(
|
export function user_playlist(
|
||||||
params: {
|
params: { uid: string | number } & MultiPageConfig & RequestBaseConfig,
|
||||||
uid: string | number
|
|
||||||
limit?: string | number
|
|
||||||
offset?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export const enum UserRecordType {
|
export const enum UserRecordType {
|
||||||
@ -1298,10 +1174,7 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function video_category_list(
|
export function video_category_list(
|
||||||
params: {
|
params: MultiPageConfig & RequestBaseConfig,
|
||||||
offset?: string | number
|
|
||||||
limit?: string | number
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function video_detail(
|
export function video_detail(
|
||||||
@ -1335,8 +1208,6 @@ declare module 'NeteaseCloudMusicApi' {
|
|||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
|
|
||||||
export function weblog(
|
export function weblog(
|
||||||
params: {
|
params: { data?: { [index: string]: unknown } } & RequestBaseConfig,
|
||||||
data?: { [index: string]: unknown }
|
|
||||||
} & RequestBaseConfig,
|
|
||||||
): Promise<Response>
|
): Promise<Response>
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user