-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: integrate Chapter and Lesson modules into SCORM processing #302
Conversation
277d176
to
87a2a96
Compare
const items = Array.isArray(organization.item) ? organization.item : [organization.item]; | ||
|
||
return items.map((chapterItem: any, chapterIndex: number) => { | ||
const subItems = chapterItem.item |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will be simplified in next PR
return { | ||
title: lessonTitle, | ||
identifier: lessonItem.$.identifier, | ||
// @ts-expect-error tet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
next PR
@@ -69,20 +69,20 @@ export default function CoursesViewPage() { | |||
</BreadcrumbItem> | |||
</BreadcrumbList> | |||
<div className="flex flex-col md:flex-row h-full gap-6"> | |||
{course.isScorm ? ( | |||
{/* {course.isScorm ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
next PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG 🍻
import { S3Service } from "src/s3/s3.service"; | ||
|
||
import { SCORM } from "../constants/scorm.consts"; | ||
import { ScormRepository } from "../repositories/scorm.repository"; | ||
|
||
import type { UUIDType } from "src/common"; | ||
|
||
type ScormChapter = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In next PR extract it to separate file
Jira issue(s)
LC-489
Overview
Screenshots