impl cache create/delete with server create/delete

also impl test connection
This commit is contained in:
austinried
2021-08-18 12:11:44 +09:00
parent 52223e6979
commit b7a05ca955
10 changed files with 288 additions and 145 deletions

View File

@@ -72,9 +72,9 @@ export type HomeLists = { [key: string]: AlbumListItem[] }
export type StarrableItemType = 'song' | 'album' | 'artist'
export enum CacheItemType {
coverArt,
artistArt,
song,
coverArt = 'coverArt',
artistArt = 'artistArt',
song = 'song',
}
export type CacheItemTypeKey = keyof typeof CacheItemType