Move book card to own component

WIP: Edit Book's shelf functionality
This commit is contained in:
aditya.chandel
2024-12-20 23:49:32 -07:00
parent c72301f6c6
commit 1abe138dd1
16 changed files with 259 additions and 101 deletions
+7 -1
View File
@@ -1,7 +1,8 @@
export interface Book {
id: number;
libraryId: number;
metadata: BookMetadata
metadata: BookMetadata;
shelves?: Shelf[];
}
export interface BookMetadata {
@@ -29,6 +30,11 @@ export interface Category {
name: string;
}
export interface Shelf {
id: number;
name: string;
}
export interface BookWithNeighborsDTO {
currentBook: Book;
previousBookId: number | null;