feat(lesson-preparation): interaction 默认数据生成器
This commit is contained in:
@@ -44,6 +44,12 @@ export function defaultDataForType(type: BlockType): BlockData {
|
|||||||
return { items: [], purpose: "class_practice", knowledgePointIds: [] };
|
return { items: [], purpose: "class_practice", knowledgePointIds: [] };
|
||||||
case "text_study":
|
case "text_study":
|
||||||
return { sourceText: "", annotations: [], knowledgePointIds: [] };
|
return { sourceText: "", annotations: [], knowledgePointIds: [] };
|
||||||
|
case "interaction":
|
||||||
|
return {
|
||||||
|
designIntent: "",
|
||||||
|
turns: [],
|
||||||
|
knowledgePointIds: [],
|
||||||
|
};
|
||||||
case "rich_text":
|
case "rich_text":
|
||||||
case "consolidation":
|
case "consolidation":
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user