Lesson screen: render fixed lesson figures under intro, example and steps
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -106,10 +106,19 @@ export interface LessonIntro {
|
||||
kind: 'quiz' | 'video';
|
||||
example: string;
|
||||
steps: string[];
|
||||
/** شکلهای ثابتِ درس (یک بار ساخته و تأییدشده؛ هیچ تولیدِ زندهای نیست). */
|
||||
figures: LessonFigure[];
|
||||
videoUrl: string;
|
||||
durationMinutes: number | null;
|
||||
}
|
||||
|
||||
export interface LessonFigure {
|
||||
where: 'intro' | 'example' | 'step';
|
||||
/** فقط برای where='step'، از صفر. */
|
||||
index?: number;
|
||||
diagram: DiagramSpec;
|
||||
}
|
||||
|
||||
export interface QuestionOption {
|
||||
id: string;
|
||||
value: string;
|
||||
|
||||
Reference in New Issue
Block a user