马良AI写作初始化仓库

This commit is contained in:
邓滨杰
2025-09-10 00:07:52 +08:00
parent 3c06bb1a03
commit 39c0f8840f
1309 changed files with 318528 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
class ComposeChapterPreview {
final int index;
final String title;
final String outline;
final String content;
const ComposeChapterPreview({
required this.index,
this.title = '',
this.outline = '',
this.content = '',
});
ComposeChapterPreview copyWith({
String? title,
String? outline,
String? content,
}) {
return ComposeChapterPreview(
index: index,
title: title ?? this.title,
outline: outline ?? this.outline,
content: content ?? this.content,
);
}
}
class ComposeReadyInfo {
final bool ready;
final String reason;
final String novelId;
final String sessionId;
const ComposeReadyInfo({
required this.ready,
required this.reason,
required this.novelId,
required this.sessionId,
});
}