I think it might be better to do things like turning ArtistObjectSimplified[] into a string of comma-separated artists, or getting the name and image url out of AlbumObjectSimplified in the backend instead of multiple places in the frontend. This will also help with mocking track data for the add state, like #70.
Things to possibly change:
All of these should be done for all applicable endpoints, like /api/playlists/:id, /api/playlists, /api/search, and maybe more.
I think it might be better to do things like turning
ArtistObjectSimplified[]into a string of comma-separated artists, or getting the name and image url out ofAlbumObjectSimplifiedin the backend instead of multiple places in the frontend. This will also help with mocking track data for theaddstate, like #70.Things to possibly change:
/api/playlists/:id/:ArtistObjectSimplified[]into a string of comma-separated artistsAlbumObjectSimplified/api/playlistsresponse as described in Refactor/api/playlistsendpoint #74 (done)All of these should be done for all applicable endpoints, like
/api/playlists/:id,/api/playlists,/api/search, and maybe more.