新增“不喜欢歌曲”功能&新增“收藏歌曲”、“取消收藏”、“不喜欢该歌曲”快捷键设置

This commit is contained in:
lyswhut
2023-09-04 14:13:47 +08:00
parent 3ca8f09971
commit baf69e397a
40 changed files with 861 additions and 26 deletions
+3 -2
View File
@@ -1,13 +1,13 @@
import { init } from './db'
import { exposeWorker } from '../utils/worker'
import { list, lyric, music_url, music_other_source, download } from './modules/index'
import { list, lyric, music_url, music_other_source, download, dislike_list } from './modules/index'
const common = {
init,
}
exposeWorker(Object.assign(common, list, lyric, music_url, music_other_source, download))
exposeWorker(Object.assign(common, list, lyric, music_url, music_other_source, download, dislike_list))
export type workerDBSeriveTypes = typeof common
& typeof list
@@ -15,3 +15,4 @@ export type workerDBSeriveTypes = typeof common
& typeof music_url
& typeof music_other_source
& typeof download
& typeof dislike_list