switched to new playlist w/songs

removed more unused stuff
This commit is contained in:
austinried
2022-03-19 11:12:26 +09:00
parent 7e33b0591e
commit 71330e2925
5 changed files with 26 additions and 193 deletions

View File

@@ -21,10 +21,6 @@ export interface Album extends AlbumListItem {
year?: number
}
export interface AlbumWithSongs extends Album {
songs: Song[]
}
export interface SearchResults {
artists: Artist[]
albums: AlbumListItem[]
@@ -39,10 +35,6 @@ export interface PlaylistListItem {
coverArt?: string
}
export interface PlaylistWithSongs extends PlaylistListItem {
songs: Song[]
}
export interface Song {
itemType: 'song'
id: string
@@ -62,6 +54,4 @@ export interface Song {
export type ListableItem = Song | AlbumListItem | Artist | PlaylistListItem
export type HomeLists = { [key: string]: AlbumListItem[] }
export type StarrableItemType = 'song' | 'album' | 'artist'