|
|
@@ -1777,6 +1777,8 @@ ${writingStyle ? `写作风格:${writingStyle}` : ''}
|
|
|
afterword: string | null;
|
|
|
errorMsg: string | null;
|
|
|
bookAnalysis?: string | null;
|
|
|
+ autoGenerateContent?: boolean;
|
|
|
+ autoGenerateAudio?: boolean;
|
|
|
createdAt: Date;
|
|
|
updatedAt: Date;
|
|
|
chapters: any[];
|
|
|
@@ -1798,6 +1800,8 @@ ${writingStyle ? `写作风格:${writingStyle}` : ''}
|
|
|
isPublished: dbBook.isPublished,
|
|
|
genStage: computeBookGenStage(dbBook.chapters),
|
|
|
failedStage: dbBook.failedStage || undefined,
|
|
|
+ autoGenerateContent: dbBook.autoGenerateContent ?? true,
|
|
|
+ autoGenerateAudio: dbBook.autoGenerateAudio ?? true,
|
|
|
chapters: chaptersFromDb(dbBook.chapters, dbBook.id, excludeContent),
|
|
|
outline: outline || undefined,
|
|
|
metadata: {
|