Refactor Book model and related components for consistent property naming

- Replaced `id` with `bookId` in `BookProps` and updated corresponding references.
- Added `tools` property to book-related components for tool management.
- Removed unused `books` property from `User` model.
- Added debug logs in `deleteBook` and `BookList` for troubleshooting.
This commit is contained in:
natreex
2026-01-15 17:22:59 -05:00
parent 3d4feaa680
commit ac968b7764
5 changed files with 7 additions and 12 deletions

View File

@@ -78,6 +78,7 @@ export default function ScribeControllerBar() {
desiredWordCount: response.desiredWordCount,
totalWordCount: response.desiredWordCount,
quillsenseEnabled: response.quillsenseEnabled,
tools: response?.tools,
});
} catch (e: unknown) {
if (e instanceof Error) {