Add QuillSense support with settings and integration
- Introduced new "QuillSense" feature for AI-assisted book creation. - Added QuillSense settings panel with advanced options and disable/enable functionality. - Updated GhostWriter and TextEditor components to respect QuillSense settings. - Extended models and repositories to track and manage QuillSense state per book. - Localized new strings for English and French.
This commit is contained in:
@@ -71,6 +71,7 @@ export interface BookProps {
|
||||
coverImage?: string;
|
||||
localBook?: boolean;
|
||||
chapters?: ChapterProps[];
|
||||
quillsenseEnabled?: boolean;
|
||||
}
|
||||
|
||||
export interface BookListProps {
|
||||
@@ -87,6 +88,7 @@ export interface BookListProps {
|
||||
coverImage?: string;
|
||||
bookMeta?: string;
|
||||
itIsLocal?: boolean;
|
||||
quillsenseEnabled?: boolean;
|
||||
}
|
||||
|
||||
export interface GuideLine {
|
||||
|
||||
@@ -194,4 +194,11 @@ export interface LocationSubElementTable {
|
||||
original_name: string;
|
||||
sub_elem_description: string | null;
|
||||
last_update: number;
|
||||
}
|
||||
|
||||
export interface GhostWriterSettingsTable {
|
||||
book_id: string;
|
||||
user_id: string;
|
||||
advanced_prompt: string | null;
|
||||
quillsense_enabled: number;
|
||||
}
|
||||
Reference in New Issue
Block a user