feat(scanner): detect moved books via inode matching and propagate

This commit is contained in:
neon
2026-01-30 05:05:47 -06:00
parent 325d0f6f0f
commit 32410b340c
15 changed files with 318 additions and 53 deletions
+2
View File
@@ -19,6 +19,7 @@ export type BookDetailFile = {
format: string | null;
role: string;
sizeBytes: number | null;
absolutePath: string;
createdAt: string;
filename: string | null;
};
@@ -27,6 +28,7 @@ export type BookDetail = {
id: number;
libraryId: number;
status: string;
folderPath: string;
title: string | null;
subtitle: string | null;
description: string | null;
+5
View File
@@ -31,3 +31,8 @@ export interface BookRestoredEvent {
libraryId: number;
bookIds: number[];
}
export interface BookMovedEvent {
libraryId: number;
bookIds: number[];
}