feat(lesson-preparation): interaction 默认数据生成器

This commit is contained in:
SpecialX
2026-07-04 11:12:13 +08:00
parent 8fc798fbcf
commit 217b5b48e4

View File

@@ -44,6 +44,12 @@ export function defaultDataForType(type: BlockType): BlockData {
return { items: [], purpose: "class_practice", knowledgePointIds: [] };
case "text_study":
return { sourceText: "", annotations: [], knowledgePointIds: [] };
case "interaction":
return {
designIntent: "",
turns: [],
knowledgePointIds: [],
};
case "rich_text":
case "consolidation":
default: