A user should be able to add media to a reading list, like a playlist but for books. Reading lists may be either for a user or for a set of users
Core tasks:
[x] Add ReadingList model to prisma schema
[ ] API routes to manage reading lists (minimal for now)
[ ] Create reading list
[ ] #74
[ ] ImportCblJob should be created
[ ] .cbl parsing functions need to be created
[x] Edit reading list (NOTE: this will likely be much more nuanced than what I am writing)
[x] Provided a list of media ids, add them to reading list.
[x] Provided a list of media ids, remove them from reading list
[x] Delete reading list
[ ] server config to store imported .cbl files
Basic REST endpoints:
# get all reading lists *created* by session user
GET /api/reading-list -> ReadingList[]
# get reading list by id IF *created* by session user
GET /api/reading-list/:id -> ReadingList
# create reading list, take in something like: { media_ids: string[]; }
POST /api/reading-list -> ReadingList
# update reading list, take in something like: { media_ids: string[]; }. replace with input
PUT /api/reading-list -> ReadingList
# delete reading list by id IF *created* by session user
DELETE /api/reading-list/:id -> ReadingList
A user should be able to add media to a reading list, like a playlist but for books. Reading lists may be either for a user or for a set of users
Core tasks:
ReadingList
model to prisma schemaImportCblJob
should be created.cbl
parsing functions need to be createdBasic REST endpoints:
Interface tasks: