move album to cover art mapping to music

This commit is contained in:
austinried
2021-08-14 17:46:16 +09:00
parent a95372fa55
commit d72258c68e
5 changed files with 85 additions and 86 deletions

View File

@@ -80,13 +80,13 @@ export type ListableItem = Song | AlbumListItem | Artist | PlaylistListItem
export type HomeLists = { [key: string]: AlbumListItem[] }
export enum CacheFileType {
export enum CacheItemType {
coverArt,
artistArt,
song,
}
export type CacheFileTypeKey = keyof typeof CacheFileType
export type CacheItemTypeKey = keyof typeof CacheItemType
export type CacheFile = {
path: string