feat(MoveToShelf): move selected books to shelf
This commit is contained in:
parent
65e9aa2e0b
commit
c03aa30cfd
12 changed files with 331 additions and 69 deletions
middleware/types
|
@ -9,3 +9,8 @@ export type Book = {
|
|||
contact: string | null;
|
||||
shelf: "AVAILABLE" | "FNORD1" | "FNORD2" | "SHARING" | null;
|
||||
};
|
||||
|
||||
export interface MoveShelfAction {
|
||||
target: Book["shelf"];
|
||||
books: Book["uuid"][];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue