mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
feat(scanner): detect moved books via inode matching and propagate
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -31,3 +31,8 @@ export interface BookRestoredEvent {
|
||||
libraryId: number;
|
||||
bookIds: number[];
|
||||
}
|
||||
|
||||
export interface BookMovedEvent {
|
||||
libraryId: number;
|
||||
bookIds: number[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user