From f0897ba69fe38e9b1e58fcdf5bf761b2893a1f01 Mon Sep 17 00:00:00 2001 From: ditiqi Date: Thu, 6 Feb 2025 19:23:35 +0800 Subject: [PATCH] add --- .../form/CourseContentForm/interface.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 apps/web/src/components/models/course/editor/form/CourseContentForm/interface.ts diff --git a/apps/web/src/components/models/course/editor/form/CourseContentForm/interface.ts b/apps/web/src/components/models/course/editor/form/CourseContentForm/interface.ts new file mode 100644 index 0000000..fe8e48a --- /dev/null +++ b/apps/web/src/components/models/course/editor/form/CourseContentForm/interface.ts @@ -0,0 +1,19 @@ +import { LectureType } from "@nice/common"; + +export interface SectionData { + id: string; + title: string; + content?: string; + courseId?: string; +} + +export interface LectureData { + id: string; + title: string; + meta?: { + type?: LectureType; + fieldIds?: []; + }; + content?: string; + sectionId?: string; +} \ No newline at end of file