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