mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-08 09:30:43 +01:00
Add book base info endpoint
This commit is contained in:
@@ -34,6 +34,11 @@ class RemoteBook(Book):
|
||||
remote_id: int
|
||||
|
||||
|
||||
class BookBaseInfo(BaseModel):
|
||||
id: int
|
||||
available_types: list[str]
|
||||
|
||||
|
||||
class BookDetail(RemoteBook):
|
||||
sequences: list[Sequence]
|
||||
genres: list[BookGenre]
|
||||
|
||||
Reference in New Issue
Block a user