mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
fix(scanner): handle watched moves across docker libraries
Emit transfer events when watcher reconciliation moves a book between libraries. Keep file-as-book and folder-as-book watcher paths consistent across Docker, direct runs, and delayed copy-delete moves. Closes #386
This commit is contained in:
@@ -37,6 +37,12 @@ export interface BookMovedEvent {
|
||||
bookIds: number[];
|
||||
}
|
||||
|
||||
export interface BookTransferredEvent {
|
||||
fromLibraryId: number;
|
||||
toLibraryId: number;
|
||||
bookIds: number[];
|
||||
}
|
||||
|
||||
export interface ScanBooksAddedEvent {
|
||||
libraryId: number;
|
||||
books: import("./book").BookCard[];
|
||||
|
||||
Reference in New Issue
Block a user