mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
switched to new playlist w/songs
removed more unused stuff
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user