mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-06-13 18:55:07 +00:00
ci: 修复Dockerfile的错误配置
This commit is contained in:
parent
d26e6b0615
commit
8e934789a1
@ -3,14 +3,15 @@ FROM node:lts-alpine
|
||||
RUN apk add --no-cache tini
|
||||
|
||||
ENV NODE_ENV production
|
||||
USER node
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --chown=node:node . ./
|
||||
|
||||
RUN yarn --network-timeout=100000
|
||||
RUN corepack enable && pnpm install --frozen-lockfile --network-timeout 100000
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
USER node
|
||||
|
||||
CMD [ "/sbin/tini", "--", "node", "app.js" ]
|
||||
|
||||
739
interface.d.ts
vendored
739
interface.d.ts
vendored
@ -1841,3 +1841,742 @@ export function voice_lyric(
|
||||
id: number | string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function aidj_content_rcmd(
|
||||
params: {
|
||||
latitude?: string | number
|
||||
longitude?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function album_privilege(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function artist_detail_dynamic(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function artist_follow_count(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function broadcast_category_region_get(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function broadcast_channel_collect_list(
|
||||
params: MultiPageConfig & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function broadcast_channel_currentinfo(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function broadcast_channel_list(
|
||||
params: {
|
||||
categoryId?: string | number
|
||||
regionId?: string | number
|
||||
lastId?: string | number
|
||||
score?: string | number
|
||||
} & MultiPageConfig &
|
||||
RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function broadcast_sub(
|
||||
params: {
|
||||
t: SubAction
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function chart_detail(
|
||||
params: {
|
||||
chartCode: string | number
|
||||
targetId: string | number
|
||||
targetType: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function chart_song_detail(
|
||||
params: {
|
||||
chartCode: string | number
|
||||
targetId: string | number
|
||||
targetType: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function cloud_import(
|
||||
params: {
|
||||
md5: string
|
||||
id?: string | number
|
||||
bitrate?: string | number
|
||||
fileSize?: string | number
|
||||
artist?: string
|
||||
album?: string
|
||||
song?: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function cloud_lyric_get(
|
||||
params: {
|
||||
uid: string | number
|
||||
sid: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function cloud_upload_complete(
|
||||
params: {
|
||||
songId: string | number
|
||||
resourceId: string | number
|
||||
md5: string
|
||||
filename: string
|
||||
song?: string
|
||||
artist?: string
|
||||
album?: string
|
||||
bitrate?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function cloud_upload_token(
|
||||
params: {
|
||||
md5: string
|
||||
fileSize: string | number
|
||||
filename: string
|
||||
bitrate?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function comment_info_list(
|
||||
params: {
|
||||
ids?: string
|
||||
type?: CommentType
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function comment_report(
|
||||
params: {
|
||||
id: string | number
|
||||
cid: string | number
|
||||
reason: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function creator_authinfo_get(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function dj_difm_all_style_channel(
|
||||
params: {
|
||||
sources?: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function dj_difm_channel_subscribe(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function dj_difm_channel_unsubscribe(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function dj_difm_playing_tracks_list(
|
||||
params: {
|
||||
channelId: string | number
|
||||
limit?: string | number
|
||||
source?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function dj_difm_subscribe_channels_get(
|
||||
params: {
|
||||
sources?: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function fanscenter_basicinfo_age_get(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function fanscenter_basicinfo_gender_get(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function fanscenter_basicinfo_province_get(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function fanscenter_overview_get(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function fanscenter_trend_list(
|
||||
params: {
|
||||
startTime?: string | number
|
||||
endTime?: string | number
|
||||
type?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function lbs_city_code(
|
||||
params: {
|
||||
bizCode?: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listen_data_realtime_report(
|
||||
params: {
|
||||
type?: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listen_data_report(
|
||||
params: {
|
||||
type?: string
|
||||
endTime?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listen_data_today_song(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listen_data_total(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listen_data_year_report(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listentogether_accept(
|
||||
params: {
|
||||
roomId: string | number
|
||||
inviterId: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listentogether_end(
|
||||
params: {
|
||||
roomId: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listentogether_heatbeat(
|
||||
params: {
|
||||
roomId: string | number
|
||||
songId: string | number
|
||||
playStatus: string | number
|
||||
progress: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listentogether_play_command(
|
||||
params: {
|
||||
roomId: string | number
|
||||
commandType: string | number
|
||||
progress?: string | number
|
||||
playStatus: string | number
|
||||
formerSongId: string | number
|
||||
targetSongId: string | number
|
||||
clientSeq: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listentogether_room_check(
|
||||
params: {
|
||||
roomId: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listentogether_room_create(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listentogether_sync_list_command(
|
||||
params: {
|
||||
roomId: string | number
|
||||
commandType: string | number
|
||||
userId: string | number
|
||||
version: string | number
|
||||
randomList: string
|
||||
displayList: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function listentogether_sync_playlist_get(
|
||||
params: {
|
||||
roomId: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function mlog_music_rcmd(
|
||||
params: {
|
||||
mvid?: string | number
|
||||
songid?: string | number
|
||||
limit?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function music_first_listen_info(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function personal_fm_mode(
|
||||
params: {
|
||||
mode: string
|
||||
submode?: string
|
||||
limit?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function playlist_category_list(
|
||||
params: {
|
||||
cat?: string
|
||||
limit?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function playlist_detail_rcmd_get(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function playlist_import_name_task_create(
|
||||
params: {
|
||||
local?: string
|
||||
importStarPlaylist?: boolean
|
||||
['name']?: string
|
||||
['description']?: string
|
||||
['id']?: string | number
|
||||
['url']?: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function playlist_import_task_status(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function playlist_privacy(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function playmode_song_vector(
|
||||
params: {
|
||||
ids: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function radio_sport_get(
|
||||
params: {
|
||||
bpm?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function recent_listen_list(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function recommend_songs_dislike(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function register_anonimous(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function sati_resource_list(
|
||||
params: {
|
||||
tag: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function sati_resource_list_more(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function sati_resource_sub(
|
||||
params: {
|
||||
id: string | number
|
||||
cancel?: string | boolean
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function sati_resource_sub_list(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function sati_tag_list(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function sati_timescene_resources_get(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function search_match(
|
||||
params: {
|
||||
title?: string
|
||||
album?: string
|
||||
artist?: string
|
||||
duration?: string | number
|
||||
md5?: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function search_suggest_pc(
|
||||
params: {
|
||||
keyword: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function send_album(
|
||||
params: {
|
||||
id: string | number
|
||||
msg?: string
|
||||
user_ids: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function send_song(
|
||||
params: {
|
||||
id: string | number
|
||||
msg?: string
|
||||
user_ids: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_chorus(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_creators(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_downlist(
|
||||
params: MultiPageConfig & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_download_url_v1(
|
||||
params: {
|
||||
id: string | number
|
||||
level: SoundQualityType
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_dynamic_cover(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_like(
|
||||
params: {
|
||||
id: string | number
|
||||
like?: string | boolean
|
||||
uid?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_like_check(
|
||||
params: {
|
||||
ids: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_lyrics_mark(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_lyrics_mark_add(
|
||||
params: {
|
||||
id: string | number
|
||||
markId?: string
|
||||
data?: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_lyrics_mark_del(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_lyrics_mark_user_page(
|
||||
params: MultiPageConfig & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_monthdownlist(
|
||||
params: MultiPageConfig & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_music_detail(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_red_count(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_singledownlist(
|
||||
params: MultiPageConfig & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_url_match(
|
||||
params: {
|
||||
id: string | number
|
||||
source?: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_url_ncmget(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function song_url_v1_302(
|
||||
params: {
|
||||
id: string | number
|
||||
level: SoundQualityType
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function starpick_comments_summary(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function summary_annual(
|
||||
params: {
|
||||
year: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function threshold_detail_get(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function toplist_detail_v2(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function ugc_album_get(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function ugc_artist_get(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function ugc_artist_search(
|
||||
params: {
|
||||
keyword: string
|
||||
limit?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function ugc_detail(
|
||||
params: {
|
||||
auditStatus?: string
|
||||
type?: string | number
|
||||
sortBy?: string
|
||||
order?: string
|
||||
} & MultiPageConfig &
|
||||
RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function ugc_mv_get(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function ugc_song_get(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function ugc_user_devote(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function user_detail_new(
|
||||
params: {
|
||||
uid: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function user_follow_mixed(
|
||||
params: {
|
||||
size?: string | number
|
||||
cursor?: string | number
|
||||
scene?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function user_medal(
|
||||
params: {
|
||||
uid: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function user_mutualfollow_get(
|
||||
params: {
|
||||
uid: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function user_playlist_collect(
|
||||
params: {
|
||||
uid: string | number
|
||||
} & MultiPageConfig &
|
||||
RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function user_playlist_create(
|
||||
params: {
|
||||
uid: string | number
|
||||
} & MultiPageConfig &
|
||||
RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function user_social_status(
|
||||
params: {
|
||||
uid: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function user_social_status_edit(
|
||||
params: {
|
||||
type: string | number
|
||||
iconUrl?: string
|
||||
content?: string
|
||||
actionUrl?: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function user_social_status_rcmd(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function user_social_status_support(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function verify_getQr(
|
||||
params: {
|
||||
vid: string | number
|
||||
type: string | number
|
||||
token: string
|
||||
evid: string
|
||||
sign: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function verify_qrcodestatus(
|
||||
params: {
|
||||
qr: string
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function vip_sign(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function vip_sign_info(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function vip_tasks_v1(
|
||||
params: {
|
||||
id?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function voice_detail(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function voice_upload(
|
||||
params: {
|
||||
songFile: {
|
||||
name: string
|
||||
data: string | Buffer
|
||||
}
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function voicelist_detail(
|
||||
params: {
|
||||
id: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function voicelist_list(
|
||||
params: {
|
||||
voiceListId: string | number
|
||||
} & MultiPageConfig &
|
||||
RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function voicelist_my_created(
|
||||
params: {
|
||||
limit?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function voicelist_search(
|
||||
params: {
|
||||
keyword?: string
|
||||
limit?: string | number
|
||||
offset?: string | number
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function voicelist_trans(
|
||||
params: {
|
||||
radioId?: string | number
|
||||
programId?: string | number
|
||||
position?: string | number
|
||||
} & MultiPageConfig &
|
||||
RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
@ -41,6 +41,14 @@
|
||||
],
|
||||
"main": "main.js",
|
||||
"types": "./interface.d.ts",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced/issues"
|
||||
},
|
||||
"homepage": "https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced#readme",
|
||||
"engines": {
|
||||
"node": ">=12"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user