Add Content, Model, and Story models with text processing and AI model configuration utilities

- Implement `Content` model for converting Tiptap raw data into HTML and plain text.
- Add `Model` for storing and managing AI model configurations with pricing and metadata.
- Introduce `Story` model to handle verbal styles and linguistic properties for diverse narrative structures.
- Update `book.repository.ts` to refine `updateBookBasicInformation` and `insertNewPlotPoint` methods, removing unused parameters and optimizing queries.
This commit is contained in:
natreex
2025-11-17 20:14:22 -05:00
parent 4cd4f68d1a
commit baa45ac106
10 changed files with 2904 additions and 9 deletions

View File

@@ -0,0 +1,11 @@
export const mainStyle = `h1 {
font-size: 24px !important;
font-weight: bold !important;
text-indent: 24px !important;
}
p {
text-indent: 30px !important;
margin-top: 0.7em !important;
margin-bottom: 0.7em !important;
text-align: justify !important;
}`