Update Playlist model & controller to remove usage of old Playlist object, remove old Playlist

This commit is contained in:
advplyr 2024-12-31 17:01:42 -06:00
parent 6780ef9b37
commit 9785bc02ea
7 changed files with 501 additions and 513 deletions

View file

@ -16,6 +16,11 @@ class PlaylistMediaItem extends Model {
this.playlistId
/** @type {Date} */
this.createdAt
// Expanded properties
/** @type {import('./Book')|import('./PodcastEpisode')} - only set when expanded */
this.mediaItem
}
static removeByIds(playlistId, mediaItemId) {