remove thumbnail cache

This commit is contained in:
austinried
2022-03-22 14:06:30 +09:00
parent 2069115df5
commit e0db4931f1
6 changed files with 32 additions and 34 deletions

View File

@@ -2,16 +2,12 @@ import { Album, Playlist, Artist, Song } from './library'
export enum CacheItemType {
coverArt = 'coverArt',
coverArtThumb = 'coverArtThumb',
artistArt = 'artistArt',
artistArtThumb = 'artistArtThumb',
song = 'song',
}
export type CacheItemTypeKey = keyof typeof CacheItemType
export type CacheImageSize = 'thumbnail' | 'original'
export type CacheFile = {
path: string
date: number