Files
ERitors-Scribe-Desktop/lib/models/Import.ts
natreex 1a15692e40 Introduce Import and Advanced Export Features
- Added `ImportBookForm` component for importing DOCX files with chapter selection and metadata customization.
- Implemented advanced export options (PDF, DOCX, EPUB) with `ExportSetting` component.
- Developed utility methods for transforming books into exportable formats in `Export.ts`.
- Expanded database models and repositories to support import/export functionality.
- Enhanced localization for import/export flows and updated UI components for improved user experience.
2026-03-11 11:52:25 -04:00

18 lines
350 B
TypeScript

export interface ParsedChapterPreview {
index: number;
title: string;
wordCount: number;
}
export interface ParsedDocxResponse {
importId: string;
chapters: ParsedChapterPreview[];
}
export interface ImportChapterSelection {
index: number;
title: string;
wordCount: number;
selected: boolean;
}