update:1.小说项目创建支持双模式生成,大纲-章节(一对一&一对多) 2.新增章节管理-编辑章节规划功能 3.修复灵感模式可重复点击选项问题,刷新对话内容丢失问题

This commit is contained in:
xiamuceer
2025-11-27 17:29:23 +08:00
parent 8121c04af9
commit deb6cc37a4
27 changed files with 1797 additions and 216 deletions
+4
View File
@@ -54,6 +54,7 @@ export interface Project {
status: 'planning' | 'writing' | 'revising' | 'completed';
wizard_status?: 'incomplete' | 'completed';
wizard_step?: number;
outline_mode: 'one-to-one' | 'one-to-many'; // 大纲章节模式
world_time_period?: string;
world_location?: string;
world_atmosphere?: string;
@@ -71,6 +72,7 @@ export interface ProjectCreate {
theme?: string;
genre?: string;
target_words?: number;
outline_mode?: 'one-to-one' | 'one-to-many'; // 大纲章节模式,默认one-to-many
wizard_status?: 'incomplete' | 'completed';
wizard_step?: number;
world_time_period?: string;
@@ -111,6 +113,7 @@ export interface ProjectWizardRequest {
narrative_perspective: string;
character_count?: number;
target_words?: number;
outline_mode?: 'one-to-one' | 'one-to-many'; // 大纲章节模式
world_building?: {
time_period: string;
location: string;
@@ -462,6 +465,7 @@ export interface WizardBasicInfo {
narrative_perspective: string;
character_count?: number;
target_words?: number;
outline_mode?: 'one-to-one' | 'one-to-many'; // 大纲章节模式
}
// API 错误响应类型