Move book card to own component
WIP: Edit Book's shelf functionality
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user