@hed-hog/lms 0.0.349 → 0.0.351
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/achievement/achievement.controller.d.ts +62 -0
- package/dist/achievement/achievement.controller.d.ts.map +1 -0
- package/dist/achievement/achievement.controller.js +90 -0
- package/dist/achievement/achievement.controller.js.map +1 -0
- package/dist/achievement/achievement.mcp-tools.d.ts +19 -0
- package/dist/achievement/achievement.mcp-tools.d.ts.map +1 -0
- package/dist/achievement/achievement.mcp-tools.js +157 -0
- package/dist/achievement/achievement.mcp-tools.js.map +1 -0
- package/dist/achievement/achievement.module.d.ts +3 -0
- package/dist/achievement/achievement.module.d.ts.map +1 -0
- package/dist/achievement/achievement.module.js +26 -0
- package/dist/achievement/achievement.module.js.map +1 -0
- package/dist/achievement/achievement.service.d.ts +72 -0
- package/dist/achievement/achievement.service.d.ts.map +1 -0
- package/dist/achievement/achievement.service.js +200 -0
- package/dist/achievement/achievement.service.js.map +1 -0
- package/dist/achievement/dto/create-achievement.dto.d.ts +12 -0
- package/dist/achievement/dto/create-achievement.dto.d.ts.map +1 -0
- package/dist/achievement/dto/create-achievement.dto.js +60 -0
- package/dist/achievement/dto/create-achievement.dto.js.map +1 -0
- package/dist/achievement/dto/update-achievement.dto.d.ts +11 -0
- package/dist/achievement/dto/update-achievement.dto.d.ts.map +1 -0
- package/dist/achievement/dto/update-achievement.dto.js +57 -0
- package/dist/achievement/dto/update-achievement.dto.js.map +1 -0
- package/dist/bitcode-wallet/bitcode-wallet.controller.d.ts +114 -0
- package/dist/bitcode-wallet/bitcode-wallet.controller.d.ts.map +1 -0
- package/dist/bitcode-wallet/bitcode-wallet.controller.js +102 -0
- package/dist/bitcode-wallet/bitcode-wallet.controller.js.map +1 -0
- package/dist/bitcode-wallet/bitcode-wallet.mcp-tools.d.ts +25 -0
- package/dist/bitcode-wallet/bitcode-wallet.mcp-tools.d.ts.map +1 -0
- package/dist/bitcode-wallet/bitcode-wallet.mcp-tools.js +160 -0
- package/dist/bitcode-wallet/bitcode-wallet.mcp-tools.js.map +1 -0
- package/dist/bitcode-wallet/bitcode-wallet.module.d.ts +3 -0
- package/dist/bitcode-wallet/bitcode-wallet.module.d.ts.map +1 -0
- package/dist/bitcode-wallet/bitcode-wallet.module.js +26 -0
- package/dist/bitcode-wallet/bitcode-wallet.module.js.map +1 -0
- package/dist/bitcode-wallet/bitcode-wallet.service.d.ts +127 -0
- package/dist/bitcode-wallet/bitcode-wallet.service.d.ts.map +1 -0
- package/dist/bitcode-wallet/bitcode-wallet.service.js +264 -0
- package/dist/bitcode-wallet/bitcode-wallet.service.js.map +1 -0
- package/dist/bitcode-wallet/dto/create-bitcode-wallet-transaction.dto.d.ts +8 -0
- package/dist/bitcode-wallet/dto/create-bitcode-wallet-transaction.dto.d.ts.map +1 -0
- package/dist/bitcode-wallet/dto/create-bitcode-wallet-transaction.dto.js +33 -0
- package/dist/bitcode-wallet/dto/create-bitcode-wallet-transaction.dto.js.map +1 -0
- package/dist/bitcode-wallet/dto/create-bitcode-wallet.dto.d.ts +4 -0
- package/dist/bitcode-wallet/dto/create-bitcode-wallet.dto.d.ts.map +1 -0
- package/dist/bitcode-wallet/dto/create-bitcode-wallet.dto.js +22 -0
- package/dist/bitcode-wallet/dto/create-bitcode-wallet.dto.js.map +1 -0
- package/dist/bitcode-wallet/dto/update-bitcode-wallet-transaction.dto.d.ts +7 -0
- package/dist/bitcode-wallet/dto/update-bitcode-wallet-transaction.dto.d.ts.map +1 -0
- package/dist/bitcode-wallet/dto/update-bitcode-wallet-transaction.dto.js +35 -0
- package/dist/bitcode-wallet/dto/update-bitcode-wallet-transaction.dto.js.map +1 -0
- package/dist/bitcode-wallet/dto/update-bitcode-wallet.dto.d.ts +4 -0
- package/dist/bitcode-wallet/dto/update-bitcode-wallet.dto.d.ts.map +1 -0
- package/dist/bitcode-wallet/dto/update-bitcode-wallet.dto.js +23 -0
- package/dist/bitcode-wallet/dto/update-bitcode-wallet.dto.js.map +1 -0
- package/dist/certificate/certificate.controller.d.ts +24 -2
- package/dist/certificate/certificate.controller.d.ts.map +1 -1
- package/dist/certificate/certificate.controller.js +20 -6
- package/dist/certificate/certificate.controller.js.map +1 -1
- package/dist/certificate/certificate.mcp-tools.d.ts +24 -0
- package/dist/certificate/certificate.mcp-tools.d.ts.map +1 -0
- package/dist/certificate/certificate.mcp-tools.js +188 -0
- package/dist/certificate/certificate.mcp-tools.js.map +1 -0
- package/dist/certificate/certificate.module.d.ts.map +1 -1
- package/dist/certificate/certificate.module.js +2 -1
- package/dist/certificate/certificate.module.js.map +1 -1
- package/dist/certificate/certificate.service.d.ts +30 -4
- package/dist/certificate/certificate.service.d.ts.map +1 -1
- package/dist/certificate/certificate.service.js +157 -8
- package/dist/certificate/certificate.service.js.map +1 -1
- package/dist/certificate/dto/update-certificate-public-access.dto.d.ts +4 -0
- package/dist/certificate/dto/update-certificate-public-access.dto.d.ts.map +1 -0
- package/dist/certificate/dto/update-certificate-public-access.dto.js +21 -0
- package/dist/certificate/dto/update-certificate-public-access.dto.js.map +1 -0
- package/dist/class-group/class-group.mcp-tools.d.ts +87 -0
- package/dist/class-group/class-group.mcp-tools.d.ts.map +1 -0
- package/dist/class-group/class-group.mcp-tools.js +553 -0
- package/dist/class-group/class-group.mcp-tools.js.map +1 -0
- package/dist/class-group/class-group.module.d.ts.map +1 -1
- package/dist/class-group/class-group.module.js +2 -1
- package/dist/class-group/class-group.module.js.map +1 -1
- package/dist/class-group/class-group.service.d.ts +3 -1
- package/dist/class-group/class-group.service.d.ts.map +1 -1
- package/dist/class-group/class-group.service.js +45 -2
- package/dist/class-group/class-group.service.js.map +1 -1
- package/dist/course/course-operations-integration.service.d.ts +40 -0
- package/dist/course/course-operations-integration.service.d.ts.map +1 -0
- package/dist/course/course-operations-integration.service.js +372 -0
- package/dist/course/course-operations-integration.service.js.map +1 -0
- package/dist/course/course-structure.controller.d.ts +67 -14
- package/dist/course/course-structure.controller.d.ts.map +1 -1
- package/dist/course/course-structure.controller.js +45 -2
- package/dist/course/course-structure.controller.js.map +1 -1
- package/dist/course/course-structure.service.d.ts +58 -9
- package/dist/course/course-structure.service.d.ts.map +1 -1
- package/dist/course/course-structure.service.js +260 -62
- package/dist/course/course-structure.service.js.map +1 -1
- package/dist/course/course-video-conversion.service.d.ts +37 -0
- package/dist/course/course-video-conversion.service.d.ts.map +1 -0
- package/dist/course/course-video-conversion.service.js +308 -0
- package/dist/course/course-video-conversion.service.js.map +1 -0
- package/dist/course/course.controller.d.ts +29 -0
- package/dist/course/course.controller.d.ts.map +1 -1
- package/dist/course/course.controller.js +23 -0
- package/dist/course/course.controller.js.map +1 -1
- package/dist/course/course.mcp-tools.d.ts +90 -0
- package/dist/course/course.mcp-tools.d.ts.map +1 -0
- package/dist/course/course.mcp-tools.js +520 -0
- package/dist/course/course.mcp-tools.js.map +1 -0
- package/dist/course/course.module.d.ts.map +1 -1
- package/dist/course/course.module.js +23 -3
- package/dist/course/course.module.js.map +1 -1
- package/dist/course/course.service.d.ts +30 -1
- package/dist/course/course.service.d.ts.map +1 -1
- package/dist/course/course.service.js +159 -70
- package/dist/course/course.service.js.map +1 -1
- package/dist/course/dto/create-course-structure-lesson.dto.d.ts +5 -1
- package/dist/course/dto/create-course-structure-lesson.dto.d.ts.map +1 -1
- package/dist/course/dto/create-course-structure-lesson.dto.js +16 -2
- package/dist/course/dto/create-course-structure-lesson.dto.js.map +1 -1
- package/dist/course/dto/create-course.dto.d.ts +2 -0
- package/dist/course/dto/create-course.dto.d.ts.map +1 -1
- package/dist/course/dto/create-course.dto.js +16 -0
- package/dist/course/dto/create-course.dto.js.map +1 -1
- package/dist/course/dto/update-course-resources.dto.d.ts +11 -0
- package/dist/course/dto/update-course-resources.dto.d.ts.map +1 -0
- package/dist/course/dto/update-course-resources.dto.js +51 -0
- package/dist/course/dto/update-course-resources.dto.js.map +1 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.controller.d.ts +23 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.controller.d.ts.map +1 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.controller.js +78 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.controller.js.map +1 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.mcp-tools.d.ts +22 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.mcp-tools.d.ts.map +1 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.mcp-tools.js +120 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.mcp-tools.js.map +1 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.module.d.ts +3 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.module.d.ts.map +1 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.module.js +26 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.module.js.map +1 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.service.d.ts +49 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.service.d.ts.map +1 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.service.js +272 -0
- package/dist/course-lesson-discussion/course-lesson-discussion.service.js.map +1 -0
- package/dist/course-lesson-discussion/dto/create-course-lesson-discussion-topic.dto.d.ts +6 -0
- package/dist/course-lesson-discussion/dto/create-course-lesson-discussion-topic.dto.d.ts.map +1 -0
- package/dist/course-lesson-discussion/dto/create-course-lesson-discussion-topic.dto.js +33 -0
- package/dist/course-lesson-discussion/dto/create-course-lesson-discussion-topic.dto.js.map +1 -0
- package/dist/course-lesson-note/course-lesson-note.controller.d.ts +53 -0
- package/dist/course-lesson-note/course-lesson-note.controller.d.ts.map +1 -0
- package/dist/course-lesson-note/course-lesson-note.controller.js +93 -0
- package/dist/course-lesson-note/course-lesson-note.controller.js.map +1 -0
- package/dist/course-lesson-note/course-lesson-note.mcp-tools.d.ts +27 -0
- package/dist/course-lesson-note/course-lesson-note.mcp-tools.d.ts.map +1 -0
- package/dist/course-lesson-note/course-lesson-note.mcp-tools.js +145 -0
- package/dist/course-lesson-note/course-lesson-note.mcp-tools.js.map +1 -0
- package/dist/course-lesson-note/course-lesson-note.module.d.ts +3 -0
- package/dist/course-lesson-note/course-lesson-note.module.d.ts.map +1 -0
- package/dist/course-lesson-note/course-lesson-note.module.js +26 -0
- package/dist/course-lesson-note/course-lesson-note.module.js.map +1 -0
- package/dist/course-lesson-note/course-lesson-note.service.d.ts +59 -0
- package/dist/course-lesson-note/course-lesson-note.service.d.ts.map +1 -0
- package/dist/course-lesson-note/course-lesson-note.service.js +195 -0
- package/dist/course-lesson-note/course-lesson-note.service.js.map +1 -0
- package/dist/course-lesson-note/dto/create-course-lesson-note.dto.d.ts +6 -0
- package/dist/course-lesson-note/dto/create-course-lesson-note.dto.d.ts.map +1 -0
- package/dist/course-lesson-note/dto/create-course-lesson-note.dto.js +33 -0
- package/dist/course-lesson-note/dto/create-course-lesson-note.dto.js.map +1 -0
- package/dist/course-lesson-note/dto/update-course-lesson-note.dto.d.ts +6 -0
- package/dist/course-lesson-note/dto/update-course-lesson-note.dto.d.ts.map +1 -0
- package/dist/course-lesson-note/dto/update-course-lesson-note.dto.js +35 -0
- package/dist/course-lesson-note/dto/update-course-lesson-note.dto.js.map +1 -0
- package/dist/dashboard/dashboard.mcp-tools.d.ts +10 -0
- package/dist/dashboard/dashboard.mcp-tools.d.ts.map +1 -0
- package/dist/dashboard/dashboard.mcp-tools.js +46 -0
- package/dist/dashboard/dashboard.mcp-tools.js.map +1 -0
- package/dist/dashboard/dashboard.module.d.ts.map +1 -1
- package/dist/dashboard/dashboard.module.js +2 -1
- package/dist/dashboard/dashboard.module.js.map +1 -1
- package/dist/enterprise/enterprise.controller.d.ts +3 -3
- package/dist/enterprise/enterprise.controller.d.ts.map +1 -1
- package/dist/enterprise/enterprise.controller.js +0 -1
- package/dist/enterprise/enterprise.controller.js.map +1 -1
- package/dist/enterprise/enterprise.mcp-tools.d.ts +82 -0
- package/dist/enterprise/enterprise.mcp-tools.d.ts.map +1 -0
- package/dist/enterprise/enterprise.mcp-tools.js +516 -0
- package/dist/enterprise/enterprise.mcp-tools.js.map +1 -0
- package/dist/enterprise/enterprise.module.d.ts.map +1 -1
- package/dist/enterprise/enterprise.module.js +2 -1
- package/dist/enterprise/enterprise.module.js.map +1 -1
- package/dist/enterprise/enterprise.service.d.ts +3 -3
- package/dist/enterprise/training/enterprise-training.module.d.ts.map +1 -1
- package/dist/enterprise/training/enterprise-training.module.js +11 -1
- package/dist/enterprise/training/enterprise-training.module.js.map +1 -1
- package/dist/enterprise/training/training-admin.mcp-tools.d.ts +79 -0
- package/dist/enterprise/training/training-admin.mcp-tools.d.ts.map +1 -0
- package/dist/enterprise/training/training-admin.mcp-tools.js +620 -0
- package/dist/enterprise/training/training-admin.mcp-tools.js.map +1 -0
- package/dist/enterprise/training/training-instructor.mcp-tools.d.ts +47 -0
- package/dist/enterprise/training/training-instructor.mcp-tools.d.ts.map +1 -0
- package/dist/enterprise/training/training-instructor.mcp-tools.js +275 -0
- package/dist/enterprise/training/training-instructor.mcp-tools.js.map +1 -0
- package/dist/enterprise/training/training-student.controller.d.ts +24 -0
- package/dist/enterprise/training/training-student.controller.d.ts.map +1 -1
- package/dist/enterprise/training/training-student.controller.js +22 -0
- package/dist/enterprise/training/training-student.controller.js.map +1 -1
- package/dist/enterprise/training/training-student.mcp-tools.d.ts +27 -0
- package/dist/enterprise/training/training-student.mcp-tools.d.ts.map +1 -0
- package/dist/enterprise/training/training-student.mcp-tools.js +186 -0
- package/dist/enterprise/training/training-student.mcp-tools.js.map +1 -0
- package/dist/enterprise/training/training-student.service.d.ts +32 -0
- package/dist/enterprise/training/training-student.service.d.ts.map +1 -1
- package/dist/enterprise/training/training-student.service.js +138 -0
- package/dist/enterprise/training/training-student.service.js.map +1 -1
- package/dist/evaluation/evaluation.mcp-tools.d.ts +25 -0
- package/dist/evaluation/evaluation.mcp-tools.d.ts.map +1 -0
- package/dist/evaluation/evaluation.mcp-tools.js +220 -0
- package/dist/evaluation/evaluation.mcp-tools.js.map +1 -0
- package/dist/evaluation/evaluation.module.d.ts.map +1 -1
- package/dist/evaluation/evaluation.module.js +2 -1
- package/dist/evaluation/evaluation.module.js.map +1 -1
- package/dist/evaluation/evaluation.service.d.ts.map +1 -1
- package/dist/evaluation/evaluation.service.js +9 -2
- package/dist/evaluation/evaluation.service.js.map +1 -1
- package/dist/exam/dto/create-exam-question.dto.d.ts +2 -0
- package/dist/exam/dto/create-exam-question.dto.d.ts.map +1 -1
- package/dist/exam/dto/create-exam-question.dto.js +10 -0
- package/dist/exam/dto/create-exam-question.dto.js.map +1 -1
- package/dist/exam/dto/create-exam.dto.d.ts +2 -0
- package/dist/exam/dto/create-exam.dto.d.ts.map +1 -1
- package/dist/exam/dto/create-exam.dto.js +10 -0
- package/dist/exam/dto/create-exam.dto.js.map +1 -1
- package/dist/exam/dto/create-question-subject.dto.d.ts +5 -0
- package/dist/exam/dto/create-question-subject.dto.d.ts.map +1 -0
- package/dist/exam/dto/create-question-subject.dto.js +28 -0
- package/dist/exam/dto/create-question-subject.dto.js.map +1 -0
- package/dist/exam/exam-attempt.controller.d.ts +4 -0
- package/dist/exam/exam-attempt.controller.d.ts.map +1 -1
- package/dist/exam/exam-attempt.service.d.ts +7 -1
- package/dist/exam/exam-attempt.service.d.ts.map +1 -1
- package/dist/exam/exam-attempt.service.js +47 -17
- package/dist/exam/exam-attempt.service.js.map +1 -1
- package/dist/exam/exam.controller.d.ts +34 -0
- package/dist/exam/exam.controller.d.ts.map +1 -1
- package/dist/exam/exam.controller.js +27 -0
- package/dist/exam/exam.controller.js.map +1 -1
- package/dist/exam/exam.mcp-tools.d.ts +62 -0
- package/dist/exam/exam.mcp-tools.d.ts.map +1 -0
- package/dist/exam/exam.mcp-tools.js +430 -0
- package/dist/exam/exam.mcp-tools.js.map +1 -0
- package/dist/exam/exam.module.d.ts.map +1 -1
- package/dist/exam/exam.module.js +2 -1
- package/dist/exam/exam.module.js.map +1 -1
- package/dist/exam/exam.service.d.ts +38 -0
- package/dist/exam/exam.service.d.ts.map +1 -1
- package/dist/exam/exam.service.js +114 -17
- package/dist/exam/exam.service.js.map +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/instructor/instructor.mcp-tools.d.ts +41 -0
- package/dist/instructor/instructor.mcp-tools.d.ts.map +1 -0
- package/dist/instructor/instructor.mcp-tools.js +326 -0
- package/dist/instructor/instructor.mcp-tools.js.map +1 -0
- package/dist/instructor/instructor.module.d.ts.map +1 -1
- package/dist/instructor/instructor.module.js +2 -1
- package/dist/instructor/instructor.module.js.map +1 -1
- package/dist/lms.module.d.ts.map +1 -1
- package/dist/lms.module.js +18 -0
- package/dist/lms.module.js.map +1 -1
- package/dist/realtime/lms-realtime.controller.d.ts +7 -0
- package/dist/realtime/lms-realtime.controller.d.ts.map +1 -0
- package/dist/realtime/lms-realtime.controller.js +34 -0
- package/dist/realtime/lms-realtime.controller.js.map +1 -0
- package/dist/realtime/lms-realtime.module.d.ts +3 -0
- package/dist/realtime/lms-realtime.module.d.ts.map +1 -0
- package/dist/realtime/lms-realtime.module.js +25 -0
- package/dist/realtime/lms-realtime.module.js.map +1 -0
- package/dist/realtime/lms-realtime.service.d.ts +36 -0
- package/dist/realtime/lms-realtime.service.d.ts.map +1 -0
- package/dist/realtime/lms-realtime.service.js +59 -0
- package/dist/realtime/lms-realtime.service.js.map +1 -0
- package/dist/realtime/lms-realtime.subscriber.d.ts +10 -0
- package/dist/realtime/lms-realtime.subscriber.d.ts.map +1 -0
- package/dist/realtime/lms-realtime.subscriber.js +70 -0
- package/dist/realtime/lms-realtime.subscriber.js.map +1 -0
- package/dist/reports/reports.mcp-tools.d.ts +10 -0
- package/dist/reports/reports.mcp-tools.d.ts.map +1 -0
- package/dist/reports/reports.mcp-tools.js +50 -0
- package/dist/reports/reports.mcp-tools.js.map +1 -0
- package/dist/reports/reports.module.d.ts.map +1 -1
- package/dist/reports/reports.module.js +2 -1
- package/dist/reports/reports.module.js.map +1 -1
- package/dist/training/training.mcp-tools.d.ts +20 -0
- package/dist/training/training.mcp-tools.d.ts.map +1 -0
- package/dist/training/training.mcp-tools.js +181 -0
- package/dist/training/training.mcp-tools.js.map +1 -0
- package/dist/training/training.module.d.ts.map +1 -1
- package/dist/training/training.module.js +2 -1
- package/dist/training/training.module.js.map +1 -1
- package/dist/video-resolution-profile/dto/create-video-resolution-profile.dto.d.ts +6 -0
- package/dist/video-resolution-profile/dto/create-video-resolution-profile.dto.d.ts.map +1 -0
- package/dist/video-resolution-profile/dto/create-video-resolution-profile.dto.js +33 -0
- package/dist/video-resolution-profile/dto/create-video-resolution-profile.dto.js.map +1 -0
- package/dist/video-resolution-profile/dto/update-video-resolution-profile.dto.d.ts +6 -0
- package/dist/video-resolution-profile/dto/update-video-resolution-profile.dto.d.ts.map +1 -0
- package/dist/video-resolution-profile/dto/update-video-resolution-profile.dto.js +33 -0
- package/dist/video-resolution-profile/dto/update-video-resolution-profile.dto.js.map +1 -0
- package/dist/video-resolution-profile/video-resolution-profile.controller.d.ts +38 -0
- package/dist/video-resolution-profile/video-resolution-profile.controller.d.ts.map +1 -0
- package/dist/video-resolution-profile/video-resolution-profile.controller.js +89 -0
- package/dist/video-resolution-profile/video-resolution-profile.controller.js.map +1 -0
- package/dist/video-resolution-profile/video-resolution-profile.mcp-tools.d.ts +26 -0
- package/dist/video-resolution-profile/video-resolution-profile.mcp-tools.d.ts.map +1 -0
- package/dist/video-resolution-profile/video-resolution-profile.mcp-tools.js +160 -0
- package/dist/video-resolution-profile/video-resolution-profile.mcp-tools.js.map +1 -0
- package/dist/video-resolution-profile/video-resolution-profile.module.d.ts +3 -0
- package/dist/video-resolution-profile/video-resolution-profile.module.d.ts.map +1 -0
- package/dist/video-resolution-profile/video-resolution-profile.module.js +26 -0
- package/dist/video-resolution-profile/video-resolution-profile.module.js.map +1 -0
- package/dist/video-resolution-profile/video-resolution-profile.service.d.ts +45 -0
- package/dist/video-resolution-profile/video-resolution-profile.service.d.ts.map +1 -0
- package/dist/video-resolution-profile/video-resolution-profile.service.js +117 -0
- package/dist/video-resolution-profile/video-resolution-profile.service.js.map +1 -0
- package/hedhog/data/integration_event_catalog.yaml +69 -0
- package/hedhog/data/menu.yaml +51 -0
- package/hedhog/data/route.yaml +2484 -0
- package/hedhog/data/video_resolution_profile.yaml +7 -0
- package/hedhog/frontend/app/_components/class-form-sheet.tsx.ejs +432 -422
- package/hedhog/frontend/app/_components/course-form-sheet.tsx.ejs +200 -67
- package/hedhog/frontend/app/_components/course-picker.tsx.ejs +228 -0
- package/hedhog/frontend/app/_components/create-lms-instructor-sheet.tsx.ejs +7 -4
- package/hedhog/frontend/app/_components/create-lms-person-sheet.tsx.ejs +2 -2
- package/hedhog/frontend/app/_components/create-lms-student-person-sheet.tsx.ejs +2 -2
- package/hedhog/frontend/app/_lib/editor/templateSerializer.ts.ejs +34 -4
- package/hedhog/frontend/app/_lib/editor/types.ts.ejs +28 -3
- package/hedhog/frontend/app/_lib/hooks/use-lms-realtime-refresh.ts.ejs +58 -0
- package/hedhog/frontend/app/achievements/page.tsx.ejs +850 -0
- package/hedhog/frontend/app/bitcodes/page.tsx.ejs +1016 -0
- package/hedhog/frontend/app/certificates/issued/page.tsx.ejs +68 -5
- package/hedhog/frontend/app/certificates/models/CanvasStage.tsx.ejs +29 -8
- package/hedhog/frontend/app/certificates/models/LeftPanel.tsx.ejs +14 -0
- package/hedhog/frontend/app/certificates/models/RightPanel.tsx.ejs +194 -9
- package/hedhog/frontend/app/certificates/models/page.tsx.ejs +15 -5
- package/hedhog/frontend/app/classes/[id]/page.tsx.ejs +16 -5
- package/hedhog/frontend/app/classes/page.tsx.ejs +126 -2105
- package/hedhog/frontend/app/courses/[id]/_components/CourseCertificateCard.tsx.ejs +19 -9
- package/hedhog/frontend/app/courses/[id]/_components/CourseClassificationCard.tsx.ejs +24 -1
- package/hedhog/frontend/app/courses/[id]/_components/CourseContentCard.tsx.ejs +1 -1
- package/hedhog/frontend/app/courses/[id]/_components/CourseMainInfoCard.tsx.ejs +1 -1
- package/hedhog/frontend/app/courses/[id]/_components/CourseRelationsCard.tsx.ejs +51 -11
- package/hedhog/frontend/app/courses/[id]/_components/CourseSectionCard.tsx.ejs +11 -6
- package/hedhog/frontend/app/courses/[id]/_components/CourseSummaryCard.tsx.ejs +7 -4
- package/hedhog/frontend/app/courses/[id]/_components/course-edit-types.ts.ejs +2 -0
- package/hedhog/frontend/app/courses/[id]/page.tsx.ejs +24 -96
- package/hedhog/frontend/app/courses/[id]/structure/_components/course-tree-dnd.tsx.ejs +80 -66
- package/hedhog/frontend/app/courses/[id]/structure/_components/editor-course.tsx.ejs +1286 -230
- package/hedhog/frontend/app/courses/[id]/structure/_components/editor-lesson.tsx.ejs +1334 -153
- package/hedhog/frontend/app/courses/[id]/structure/_components/editor-session.tsx.ejs +11 -11
- package/hedhog/frontend/app/courses/[id]/structure/_components/mock-data.ts.ejs +1 -1
- package/hedhog/frontend/app/courses/[id]/structure/_components/shortcuts-help.tsx.ejs +62 -52
- package/hedhog/frontend/app/courses/[id]/structure/_components/tree-context-menu.tsx.ejs +106 -4
- package/hedhog/frontend/app/courses/[id]/structure/_components/types.ts.ejs +4 -1
- package/hedhog/frontend/app/courses/[id]/structure/_data/adapters/course-structure.adapter.ts.ejs +30 -7
- package/hedhog/frontend/app/courses/[id]/structure/_data/services/course-structure.service.ts.ejs +138 -6
- package/hedhog/frontend/app/courses/[id]/structure/_data/types/api-course.types.ts.ejs +16 -2
- package/hedhog/frontend/app/courses/[id]/structure/_data/use-course-structure-mutations.ts.ejs +1 -0
- package/hedhog/frontend/app/courses/page.tsx.ejs +282 -113
- package/hedhog/frontend/app/enterprise/[id]/page.tsx.ejs +1 -1
- package/hedhog/frontend/app/enterprise/_components/enterprise-admin-create-sheet.tsx.ejs +10 -3
- package/hedhog/frontend/app/enterprise/_components/enterprise-course-create-sheet.tsx.ejs +3 -0
- package/hedhog/frontend/app/enterprise/_components/enterprise-course-edit-sheet.tsx.ejs +7 -0
- package/hedhog/frontend/app/enterprise/_components/enterprise-detail-sheet.tsx.ejs +8 -4
- package/hedhog/frontend/app/enterprise/_components/enterprise-person-edit-sheet.tsx.ejs +2 -2
- package/hedhog/frontend/app/enterprise/_components/enterprise-sheet.tsx.ejs +10 -4
- package/hedhog/frontend/app/enterprise/_components/enterprise-student-create-sheet.tsx.ejs +10 -3
- package/hedhog/frontend/app/enterprise/_components/enterprise-user-create-sheet.tsx.ejs +10 -3
- package/hedhog/frontend/app/evaluations/_components/evaluation-topic-form-sheet.tsx.ejs +10 -3
- package/hedhog/frontend/app/exams/[id]/questions/page.tsx.ejs +186 -5
- package/hedhog/frontend/app/exams/page.tsx.ejs +89 -26
- package/hedhog/frontend/app/instructor-skills/page.tsx.ejs +10 -3
- package/hedhog/frontend/app/instructors/_components/instructor-form-sheet.tsx.ejs +190 -17
- package/hedhog/frontend/app/instructors/page.tsx.ejs +1 -0
- package/hedhog/frontend/app/layout.tsx.ejs +5 -1
- package/hedhog/frontend/app/paths/page.tsx.ejs +19 -29
- package/hedhog/frontend/app/reports/evaluations/page.tsx.ejs +10 -10
- package/hedhog/frontend/app/training/page.tsx.ejs +19 -29
- package/hedhog/frontend/app/video-resolution-profiles/page.tsx.ejs +607 -0
- package/hedhog/frontend/messages/en.json +563 -20
- package/hedhog/frontend/messages/pt.json +563 -20
- package/hedhog/query/triggers.sql +53 -0
- package/hedhog/table/achievement.yaml +46 -0
- package/hedhog/table/bitcode_wallet.yaml +18 -0
- package/hedhog/table/bitcode_wallet_transaction.yaml +22 -0
- package/hedhog/table/certificate.yaml +3 -0
- package/hedhog/table/course.yaml +8 -0
- package/hedhog/table/course_file.yaml +23 -0
- package/hedhog/table/course_lesson.yaml +5 -0
- package/hedhog/table/course_lesson_discussion_like.yaml +21 -0
- package/hedhog/table/course_lesson_discussion_topic.yaml +35 -0
- package/hedhog/table/course_lesson_file.yaml +8 -0
- package/hedhog/table/course_lesson_note.yaml +34 -0
- package/hedhog/table/course_video_resolution_profile.yaml +22 -0
- package/hedhog/table/exam.yaml +5 -0
- package/hedhog/table/learning_path_enrollment.yaml +6 -0
- package/hedhog/table/question.yaml +10 -0
- package/hedhog/table/question_subject.yaml +17 -0
- package/hedhog/table/student_activity_streak.yaml +25 -0
- package/hedhog/table/video_resolution_profile.yaml +18 -0
- package/package.json +8 -7
- package/src/achievement/achievement.controller.ts +60 -0
- package/src/achievement/achievement.mcp-tools.ts +108 -0
- package/src/achievement/achievement.module.ts +13 -0
- package/src/achievement/achievement.service.ts +252 -0
- package/src/achievement/dto/create-achievement.dto.ts +50 -0
- package/src/achievement/dto/update-achievement.dto.ts +47 -0
- package/src/bitcode-wallet/bitcode-wallet.controller.ts +69 -0
- package/src/bitcode-wallet/bitcode-wallet.mcp-tools.ts +107 -0
- package/src/bitcode-wallet/bitcode-wallet.module.ts +13 -0
- package/src/bitcode-wallet/bitcode-wallet.service.ts +361 -0
- package/src/bitcode-wallet/dto/create-bitcode-wallet-transaction.dto.ts +27 -0
- package/src/bitcode-wallet/dto/create-bitcode-wallet.dto.ts +7 -0
- package/src/bitcode-wallet/dto/update-bitcode-wallet-transaction.dto.ts +28 -0
- package/src/bitcode-wallet/dto/update-bitcode-wallet.dto.ts +8 -0
- package/src/certificate/certificate.controller.ts +17 -3
- package/src/certificate/certificate.mcp-tools.ts +131 -0
- package/src/certificate/certificate.module.ts +2 -1
- package/src/certificate/certificate.service.ts +193 -7
- package/src/certificate/dto/update-certificate-public-access.dto.ts +6 -0
- package/src/class-group/class-group.mcp-tools.ts +435 -0
- package/src/class-group/class-group.module.ts +2 -1
- package/src/class-group/class-group.service.ts +51 -1
- package/src/course/course-operations-integration.service.ts +520 -0
- package/src/course/course-structure.controller.ts +46 -10
- package/src/course/course-structure.service.ts +236 -27
- package/src/course/course-video-conversion.service.ts +415 -0
- package/src/course/course.controller.ts +18 -0
- package/src/course/course.mcp-tools.ts +409 -0
- package/src/course/course.module.ts +23 -3
- package/src/course/course.service.ts +178 -29
- package/src/course/dto/create-course-structure-lesson.dto.ts +13 -2
- package/src/course/dto/create-course.dto.ts +16 -0
- package/src/course/dto/update-course-resources.dto.ts +39 -0
- package/src/course-lesson-discussion/course-lesson-discussion.controller.ts +55 -0
- package/src/course-lesson-discussion/course-lesson-discussion.mcp-tools.ts +75 -0
- package/src/course-lesson-discussion/course-lesson-discussion.module.ts +13 -0
- package/src/course-lesson-discussion/course-lesson-discussion.service.ts +354 -0
- package/src/course-lesson-discussion/dto/create-course-lesson-discussion-topic.dto.ts +16 -0
- package/src/course-lesson-note/course-lesson-note.controller.ts +68 -0
- package/src/course-lesson-note/course-lesson-note.mcp-tools.ts +96 -0
- package/src/course-lesson-note/course-lesson-note.module.ts +13 -0
- package/src/course-lesson-note/course-lesson-note.service.ts +248 -0
- package/src/course-lesson-note/dto/create-course-lesson-note.dto.ts +16 -0
- package/src/course-lesson-note/dto/update-course-lesson-note.dto.ts +18 -0
- package/src/dashboard/dashboard.mcp-tools.ts +23 -0
- package/src/dashboard/dashboard.module.ts +2 -1
- package/src/enterprise/enterprise.controller.ts +0 -1
- package/src/enterprise/enterprise.mcp-tools.ts +403 -0
- package/src/enterprise/enterprise.module.ts +2 -1
- package/src/enterprise/training/enterprise-training.module.ts +11 -1
- package/src/enterprise/training/training-admin.mcp-tools.ts +479 -0
- package/src/enterprise/training/training-instructor.mcp-tools.ts +210 -0
- package/src/enterprise/training/training-student.controller.ts +17 -1
- package/src/enterprise/training/training-student.mcp-tools.ts +136 -0
- package/src/enterprise/training/training-student.service.ts +167 -1
- package/src/evaluation/evaluation.mcp-tools.ts +155 -0
- package/src/evaluation/evaluation.module.ts +2 -1
- package/src/evaluation/evaluation.service.ts +9 -2
- package/src/exam/dto/create-exam-question.dto.ts +8 -0
- package/src/exam/dto/create-exam.dto.ts +8 -0
- package/src/exam/dto/create-question-subject.dto.ts +12 -0
- package/src/exam/exam-attempt.service.ts +46 -14
- package/src/exam/exam.controller.ts +19 -0
- package/src/exam/exam.mcp-tools.ts +337 -0
- package/src/exam/exam.module.ts +2 -1
- package/src/exam/exam.service.ts +121 -0
- package/src/index.ts +10 -0
- package/src/instructor/instructor.mcp-tools.ts +243 -0
- package/src/instructor/instructor.module.ts +2 -1
- package/src/lms.module.ts +18 -1
- package/src/realtime/lms-realtime.controller.ts +12 -0
- package/src/realtime/lms-realtime.module.ts +12 -0
- package/src/realtime/lms-realtime.service.ts +98 -0
- package/src/realtime/lms-realtime.subscriber.ts +61 -0
- package/src/reports/reports.mcp-tools.ts +27 -0
- package/src/reports/reports.module.ts +2 -1
- package/src/training/training.mcp-tools.ts +128 -0
- package/src/training/training.module.ts +2 -1
- package/src/video-resolution-profile/dto/create-video-resolution-profile.dto.ts +16 -0
- package/src/video-resolution-profile/dto/update-video-resolution-profile.dto.ts +16 -0
- package/src/video-resolution-profile/video-resolution-profile.controller.ts +62 -0
- package/src/video-resolution-profile/video-resolution-profile.mcp-tools.ts +128 -0
- package/src/video-resolution-profile/video-resolution-profile.module.ts +13 -0
- package/src/video-resolution-profile/video-resolution-profile.service.ts +117 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CreateVideoResolutionProfileDto } from './dto/create-video-resolution-profile.dto';
|
|
2
|
+
import { UpdateVideoResolutionProfileDto } from './dto/update-video-resolution-profile.dto';
|
|
3
|
+
import { VideoResolutionProfileService } from './video-resolution-profile.service';
|
|
4
|
+
export declare class VideoResolutionProfileController {
|
|
5
|
+
private readonly videoResolutionProfileService;
|
|
6
|
+
constructor(videoResolutionProfileService: VideoResolutionProfileService);
|
|
7
|
+
list(page?: string, pageSize?: string, search?: string): Promise<{
|
|
8
|
+
data: {
|
|
9
|
+
id: any;
|
|
10
|
+
name: any;
|
|
11
|
+
ffmpeg_params: any;
|
|
12
|
+
status: any;
|
|
13
|
+
}[];
|
|
14
|
+
total: any;
|
|
15
|
+
page: number;
|
|
16
|
+
pageSize: number;
|
|
17
|
+
}>;
|
|
18
|
+
getAll(): Promise<{
|
|
19
|
+
id: any;
|
|
20
|
+
name: any;
|
|
21
|
+
ffmpeg_params: any;
|
|
22
|
+
status: any;
|
|
23
|
+
}[]>;
|
|
24
|
+
create(dto: CreateVideoResolutionProfileDto): Promise<{
|
|
25
|
+
id: any;
|
|
26
|
+
name: any;
|
|
27
|
+
ffmpeg_params: any;
|
|
28
|
+
status: any;
|
|
29
|
+
}>;
|
|
30
|
+
update(id: number, dto: UpdateVideoResolutionProfileDto): Promise<{
|
|
31
|
+
id: any;
|
|
32
|
+
name: any;
|
|
33
|
+
ffmpeg_params: any;
|
|
34
|
+
status: any;
|
|
35
|
+
}>;
|
|
36
|
+
remove(id: number): Promise<void>;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=video-resolution-profile.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-resolution-profile.controller.d.ts","sourceRoot":"","sources":["../../src/video-resolution-profile/video-resolution-profile.controller.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,qBAEa,gCAAgC;IAEzC,OAAO,CAAC,QAAQ,CAAC,6BAA6B;gBAA7B,6BAA6B,EAAE,6BAA6B;IAI/E,IAAI,CACa,IAAI,CAAC,EAAE,MAAM,EACT,QAAQ,CAAC,EAAE,MAAM,EACnB,MAAM,CAAC,EAAE,MAAM;;;;;;;;;;;IAUlC,MAAM;;;;;;IAKN,MAAM,CAAS,GAAG,EAAE,+BAA+B;;;;;;IAKnD,MAAM,CACuB,EAAE,EAAE,MAAM,EAC7B,GAAG,EAAE,+BAA+B;;;;;;IAO9C,MAAM,CAA4B,EAAE,EAAE,MAAM;CAG7C"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.VideoResolutionProfileController = void 0;
|
|
16
|
+
const api_1 = require("@hed-hog/api");
|
|
17
|
+
const common_1 = require("@nestjs/common");
|
|
18
|
+
const create_video_resolution_profile_dto_1 = require("./dto/create-video-resolution-profile.dto");
|
|
19
|
+
const update_video_resolution_profile_dto_1 = require("./dto/update-video-resolution-profile.dto");
|
|
20
|
+
const video_resolution_profile_service_1 = require("./video-resolution-profile.service");
|
|
21
|
+
let VideoResolutionProfileController = class VideoResolutionProfileController {
|
|
22
|
+
constructor(videoResolutionProfileService) {
|
|
23
|
+
this.videoResolutionProfileService = videoResolutionProfileService;
|
|
24
|
+
}
|
|
25
|
+
list(page, pageSize, search) {
|
|
26
|
+
return this.videoResolutionProfileService.list({
|
|
27
|
+
page: page ? Number(page) : 1,
|
|
28
|
+
pageSize: pageSize ? Number(pageSize) : 20,
|
|
29
|
+
search,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
getAll() {
|
|
33
|
+
return this.videoResolutionProfileService.getAll();
|
|
34
|
+
}
|
|
35
|
+
create(dto) {
|
|
36
|
+
return this.videoResolutionProfileService.create(dto);
|
|
37
|
+
}
|
|
38
|
+
update(id, dto) {
|
|
39
|
+
return this.videoResolutionProfileService.update(id, dto);
|
|
40
|
+
}
|
|
41
|
+
remove(id) {
|
|
42
|
+
return this.videoResolutionProfileService.delete(id);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
exports.VideoResolutionProfileController = VideoResolutionProfileController;
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, common_1.Get)(),
|
|
48
|
+
__param(0, (0, common_1.Query)('page')),
|
|
49
|
+
__param(1, (0, common_1.Query)('pageSize')),
|
|
50
|
+
__param(2, (0, common_1.Query)('search')),
|
|
51
|
+
__metadata("design:type", Function),
|
|
52
|
+
__metadata("design:paramtypes", [String, String, String]),
|
|
53
|
+
__metadata("design:returntype", void 0)
|
|
54
|
+
], VideoResolutionProfileController.prototype, "list", null);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, common_1.Get)('all'),
|
|
57
|
+
__metadata("design:type", Function),
|
|
58
|
+
__metadata("design:paramtypes", []),
|
|
59
|
+
__metadata("design:returntype", void 0)
|
|
60
|
+
], VideoResolutionProfileController.prototype, "getAll", null);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, common_1.Post)(),
|
|
63
|
+
__param(0, (0, common_1.Body)()),
|
|
64
|
+
__metadata("design:type", Function),
|
|
65
|
+
__metadata("design:paramtypes", [create_video_resolution_profile_dto_1.CreateVideoResolutionProfileDto]),
|
|
66
|
+
__metadata("design:returntype", void 0)
|
|
67
|
+
], VideoResolutionProfileController.prototype, "create", null);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, common_1.Patch)(':id'),
|
|
70
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
71
|
+
__param(1, (0, common_1.Body)()),
|
|
72
|
+
__metadata("design:type", Function),
|
|
73
|
+
__metadata("design:paramtypes", [Number, update_video_resolution_profile_dto_1.UpdateVideoResolutionProfileDto]),
|
|
74
|
+
__metadata("design:returntype", void 0)
|
|
75
|
+
], VideoResolutionProfileController.prototype, "update", null);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, common_1.Delete)(':id'),
|
|
78
|
+
(0, common_1.HttpCode)(common_1.HttpStatus.NO_CONTENT),
|
|
79
|
+
__param(0, (0, common_1.Param)('id', common_1.ParseIntPipe)),
|
|
80
|
+
__metadata("design:type", Function),
|
|
81
|
+
__metadata("design:paramtypes", [Number]),
|
|
82
|
+
__metadata("design:returntype", void 0)
|
|
83
|
+
], VideoResolutionProfileController.prototype, "remove", null);
|
|
84
|
+
exports.VideoResolutionProfileController = VideoResolutionProfileController = __decorate([
|
|
85
|
+
(0, api_1.Role)(),
|
|
86
|
+
(0, common_1.Controller)('lms/video-resolution-profiles'),
|
|
87
|
+
__metadata("design:paramtypes", [video_resolution_profile_service_1.VideoResolutionProfileService])
|
|
88
|
+
], VideoResolutionProfileController);
|
|
89
|
+
//# sourceMappingURL=video-resolution-profile.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-resolution-profile.controller.js","sourceRoot":"","sources":["../../src/video-resolution-profile/video-resolution-profile.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,sCAAoC;AACpC,2CAYwB;AACxB,mGAA4F;AAC5F,mGAA4F;AAC5F,yFAAmF;AAI5E,IAAM,gCAAgC,GAAtC,MAAM,gCAAgC;IAC3C,YACmB,6BAA4D;QAA5D,kCAA6B,GAA7B,6BAA6B,CAA+B;IAC5E,CAAC;IAGJ,IAAI,CACa,IAAa,EACT,QAAiB,EACnB,MAAe;QAEhC,OAAO,IAAI,CAAC,6BAA6B,CAAC,IAAI,CAAC;YAC7C,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;YAC7B,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,Q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,IAAA,mBAAU,EAAC,+BAA+B,CAAC;qCAGQ,gEAA6B;GAFpE,gCAAgC,CAyC5C"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { McpContext } from '@hed-hog/core';
|
|
2
|
+
import { CreateVideoResolutionProfileDto } from './dto/create-video-resolution-profile.dto';
|
|
3
|
+
import { UpdateVideoResolutionProfileDto } from './dto/update-video-resolution-profile.dto';
|
|
4
|
+
import { VideoResolutionProfileService } from './video-resolution-profile.service';
|
|
5
|
+
export declare class VideoResolutionProfileMcpTools {
|
|
6
|
+
private readonly videoResolutionProfileService;
|
|
7
|
+
constructor(videoResolutionProfileService: VideoResolutionProfileService);
|
|
8
|
+
listProfiles(args: {
|
|
9
|
+
page?: number;
|
|
10
|
+
pageSize?: number;
|
|
11
|
+
search?: string;
|
|
12
|
+
}, _context: McpContext): Promise<any>;
|
|
13
|
+
listActiveProfiles(_args: Record<string, never>, _context: McpContext): Promise<any>;
|
|
14
|
+
createProfile(args: CreateVideoResolutionProfileDto, _context: McpContext): Promise<any>;
|
|
15
|
+
updateProfile(args: {
|
|
16
|
+
id: number;
|
|
17
|
+
} & UpdateVideoResolutionProfileDto, _context: McpContext): Promise<any>;
|
|
18
|
+
deleteProfile(args: {
|
|
19
|
+
id: number;
|
|
20
|
+
}, _context: McpContext): Promise<any>;
|
|
21
|
+
toggleProfileStatus(args: {
|
|
22
|
+
id: number;
|
|
23
|
+
status: 'active' | 'inactive';
|
|
24
|
+
}, _context: McpContext): Promise<any>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=video-resolution-profile.mcp-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-resolution-profile.mcp-tools.d.ts","sourceRoot":"","sources":["../../src/video-resolution-profile/video-resolution-profile.mcp-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAW,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,qBACa,8BAA8B;IAEvC,OAAO,CAAC,QAAQ,CAAC,6BAA6B;gBAA7B,6BAA6B,EAAE,6BAA6B;IAgBzE,YAAY,CAChB,IAAI,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE,EAC3D,QAAQ,EAAE,UAAU,GACnB,OAAO,CAAC,GAAG,CAAC;IAaT,kBAAkB,CACtB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAC5B,QAAQ,EAAE,UAAU,GACnB,OAAO,CAAC,GAAG,CAAC;IAiBT,aAAa,CACjB,IAAI,EAAE,+BAA+B,EACrC,QAAQ,EAAE,UAAU,GACnB,OAAO,CAAC,GAAG,CAAC;IAkBT,aAAa,CACjB,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,+BAA+B,EACtD,QAAQ,EAAE,UAAU,GACnB,OAAO,CAAC,GAAG,CAAC;IAgBT,aAAa,CACjB,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,EACpB,QAAQ,EAAE,UAAU,GACnB,OAAO,CAAC,GAAG,CAAC;IAgBT,mBAAmB,CACvB,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,QAAQ,GAAG,UAAU,CAAA;KAAE,EACnD,QAAQ,EAAE,UAAU,GACnB,OAAO,CAAC,GAAG,CAAC;CAIhB"}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
12
|
+
var t = {};
|
|
13
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
14
|
+
t[p] = s[p];
|
|
15
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
16
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
17
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
18
|
+
t[p[i]] = s[p[i]];
|
|
19
|
+
}
|
|
20
|
+
return t;
|
|
21
|
+
};
|
|
22
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
exports.VideoResolutionProfileMcpTools = void 0;
|
|
24
|
+
const core_1 = require("@hed-hog/core");
|
|
25
|
+
const common_1 = require("@nestjs/common");
|
|
26
|
+
const create_video_resolution_profile_dto_1 = require("./dto/create-video-resolution-profile.dto");
|
|
27
|
+
const video_resolution_profile_service_1 = require("./video-resolution-profile.service");
|
|
28
|
+
let VideoResolutionProfileMcpTools = class VideoResolutionProfileMcpTools {
|
|
29
|
+
constructor(videoResolutionProfileService) {
|
|
30
|
+
this.videoResolutionProfileService = videoResolutionProfileService;
|
|
31
|
+
}
|
|
32
|
+
async listProfiles(args, _context) {
|
|
33
|
+
return this.videoResolutionProfileService.list(args);
|
|
34
|
+
}
|
|
35
|
+
async listActiveProfiles(_args, _context) {
|
|
36
|
+
return this.videoResolutionProfileService.getAll();
|
|
37
|
+
}
|
|
38
|
+
async createProfile(args, _context) {
|
|
39
|
+
return this.videoResolutionProfileService.create(args);
|
|
40
|
+
}
|
|
41
|
+
async updateProfile(args, _context) {
|
|
42
|
+
const { id } = args, dto = __rest(args, ["id"]);
|
|
43
|
+
return this.videoResolutionProfileService.update(id, dto);
|
|
44
|
+
}
|
|
45
|
+
async deleteProfile(args, _context) {
|
|
46
|
+
return this.videoResolutionProfileService.delete(args.id);
|
|
47
|
+
}
|
|
48
|
+
async toggleProfileStatus(args, _context) {
|
|
49
|
+
const { id, status } = args;
|
|
50
|
+
return this.videoResolutionProfileService.update(id, { status });
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
exports.VideoResolutionProfileMcpTools = VideoResolutionProfileMcpTools;
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, core_1.McpTool)({
|
|
56
|
+
name: 'lms.video-resolution-profiles.list',
|
|
57
|
+
description: 'Lists video resolution profiles with optional pagination and search.',
|
|
58
|
+
inputSchema: {
|
|
59
|
+
type: 'object',
|
|
60
|
+
properties: {
|
|
61
|
+
page: { type: 'number', description: 'Page number (default: 1)' },
|
|
62
|
+
pageSize: { type: 'number', description: 'Items per page (default: 20)' },
|
|
63
|
+
search: { type: 'string', description: 'Search term by profile name' },
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
readOnly: true,
|
|
67
|
+
}),
|
|
68
|
+
__metadata("design:type", Function),
|
|
69
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
70
|
+
__metadata("design:returntype", Promise)
|
|
71
|
+
], VideoResolutionProfileMcpTools.prototype, "listProfiles", null);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, core_1.McpTool)({
|
|
74
|
+
name: 'lms.video-resolution-profiles.list-active',
|
|
75
|
+
description: 'Lists all active video resolution profiles.',
|
|
76
|
+
inputSchema: {
|
|
77
|
+
type: 'object',
|
|
78
|
+
properties: {},
|
|
79
|
+
},
|
|
80
|
+
readOnly: true,
|
|
81
|
+
}),
|
|
82
|
+
__metadata("design:type", Function),
|
|
83
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
84
|
+
__metadata("design:returntype", Promise)
|
|
85
|
+
], VideoResolutionProfileMcpTools.prototype, "listActiveProfiles", null);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, core_1.McpTool)({
|
|
88
|
+
name: 'lms.video-resolution-profiles.create',
|
|
89
|
+
description: 'Creates a new video resolution profile.',
|
|
90
|
+
inputSchema: {
|
|
91
|
+
type: 'object',
|
|
92
|
+
properties: {
|
|
93
|
+
name: { type: 'string', description: 'Profile name (required, max 100 chars)' },
|
|
94
|
+
ffmpeg_params: { type: 'string', description: 'FFmpeg params string (required)' },
|
|
95
|
+
status: { type: 'string', description: 'Status (active|inactive)' },
|
|
96
|
+
},
|
|
97
|
+
required: ['name', 'ffmpeg_params'],
|
|
98
|
+
},
|
|
99
|
+
}),
|
|
100
|
+
__metadata("design:type", Function),
|
|
101
|
+
__metadata("design:paramtypes", [create_video_resolution_profile_dto_1.CreateVideoResolutionProfileDto, Object]),
|
|
102
|
+
__metadata("design:returntype", Promise)
|
|
103
|
+
], VideoResolutionProfileMcpTools.prototype, "createProfile", null);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, core_1.McpTool)({
|
|
106
|
+
name: 'lms.video-resolution-profiles.update',
|
|
107
|
+
description: 'Updates an existing video resolution profile.',
|
|
108
|
+
inputSchema: {
|
|
109
|
+
type: 'object',
|
|
110
|
+
properties: {
|
|
111
|
+
id: { type: 'number', description: 'Profile ID' },
|
|
112
|
+
name: { type: 'string', description: 'Profile name (max 100 chars)' },
|
|
113
|
+
ffmpeg_params: { type: 'string', description: 'FFmpeg params string' },
|
|
114
|
+
status: { type: 'string', description: 'Status (active|inactive)' },
|
|
115
|
+
},
|
|
116
|
+
required: ['id'],
|
|
117
|
+
},
|
|
118
|
+
}),
|
|
119
|
+
__metadata("design:type", Function),
|
|
120
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
121
|
+
__metadata("design:returntype", Promise)
|
|
122
|
+
], VideoResolutionProfileMcpTools.prototype, "updateProfile", null);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, core_1.McpTool)({
|
|
125
|
+
name: 'lms.video-resolution-profiles.delete',
|
|
126
|
+
description: 'Removes a video resolution profile by ID.',
|
|
127
|
+
inputSchema: {
|
|
128
|
+
type: 'object',
|
|
129
|
+
properties: {
|
|
130
|
+
id: { type: 'number', description: 'Profile ID' },
|
|
131
|
+
},
|
|
132
|
+
required: ['id'],
|
|
133
|
+
},
|
|
134
|
+
}),
|
|
135
|
+
__metadata("design:type", Function),
|
|
136
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
137
|
+
__metadata("design:returntype", Promise)
|
|
138
|
+
], VideoResolutionProfileMcpTools.prototype, "deleteProfile", null);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, core_1.McpTool)({
|
|
141
|
+
name: 'lms.video-resolution-profiles.toggle-status',
|
|
142
|
+
description: 'Toggles profile status between active and inactive.',
|
|
143
|
+
inputSchema: {
|
|
144
|
+
type: 'object',
|
|
145
|
+
properties: {
|
|
146
|
+
id: { type: 'number', description: 'Profile ID' },
|
|
147
|
+
status: { type: 'string', description: 'Target status (active|inactive)' },
|
|
148
|
+
},
|
|
149
|
+
required: ['id', 'status'],
|
|
150
|
+
},
|
|
151
|
+
}),
|
|
152
|
+
__metadata("design:type", Function),
|
|
153
|
+
__metadata("design:paramtypes", [Object, Object]),
|
|
154
|
+
__metadata("design:returntype", Promise)
|
|
155
|
+
], VideoResolutionProfileMcpTools.prototype, "toggleProfileStatus", null);
|
|
156
|
+
exports.VideoResolutionProfileMcpTools = VideoResolutionProfileMcpTools = __decorate([
|
|
157
|
+
(0, common_1.Injectable)(),
|
|
158
|
+
__metadata("design:paramtypes", [video_resolution_profile_service_1.VideoResolutionProfileService])
|
|
159
|
+
], VideoResolutionProfileMcpTools);
|
|
160
|
+
//# sourceMappingURL=video-resolution-profile.mcp-tools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-resolution-profile.mcp-tools.js","sourceRoot":"","sources":["../../src/video-resolution-profile/video-resolution-profile.mcp-tools.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,wCAAoD;AACpD,2CAA4C;AAC5C,mGAA4F;AAE5F,yFAAmF;AAG5E,IAAM,8BAA8B,GAApC,MAAM,8BAA8B;IACzC,YACmB,6BAA4D;QAA5D,kCAA6B,GAA7B,6BAA6B,CAA+B;IAC5E,CAAC;IAeE,AAAN,KAAK,CAAC,YAAY,CAChB,IAA2D,EAC3D,QAAoB;QAEpB,OAAO,IAAI,CAAC,6BAA6B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;IAWK,AAAN,KAAK,CAAC,kBAAkB,CACtB,KAA4B,EAC5B,QAAoB;QAEpB,OAAO,IAAI,CAAC,6BAA6B,CAAC,MAAM,EAAE,CAAC;IACrD,CAAC;IAeK,AAAN,KAAK,CAAC,aAAa,CACjB,IAAqC,EACrC,QAAoB;QAEpB,OAAO,IAAI,CAAC,6BAA6B,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;IAgBK,AAAN,KAAK,CAAC,aAAa,CACjB,IAAsD,EACtD,QAAoB;QAEpB,MAAM,EAAE,EAAE,KAAa,IAAI,EAAZ,GAAG,UAAK,IAAI,EAArB,MAAc,CAAO,CAAC;QAC5B,OAAO,IAAI,CAAC,6BAA6B,CAAC,MAAM,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;IAC5D,CAAC;IAaK,AAAN,KAAK,CAAC,aAAa,CACjB,IAAoB,EACpB,QAAoB;QAEpB,OAAO,IAAI,CAAC,6BAA6B,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC5D,CAAC;IA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AAE,CAAC,IAAI,EAAE,QAAQ,CAAC;SAC3B;KACF,CAAC;;;;yEAOD;yCAvHU,8BAA8B;IAD1C,IAAA,mBAAU,GAAE;qCAGuC,gEAA6B;GAFpE,8BAA8B,CAwH1C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-resolution-profile.module.d.ts","sourceRoot":"","sources":["../../src/video-resolution-profile/video-resolution-profile.module.ts"],"names":[],"mappings":"AAMA,qBAMa,4BAA4B;CAAG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.VideoResolutionProfileModule = void 0;
|
|
10
|
+
const api_prisma_1 = require("@hed-hog/api-prisma");
|
|
11
|
+
const common_1 = require("@nestjs/common");
|
|
12
|
+
const video_resolution_profile_controller_1 = require("./video-resolution-profile.controller");
|
|
13
|
+
const video_resolution_profile_mcp_tools_1 = require("./video-resolution-profile.mcp-tools");
|
|
14
|
+
const video_resolution_profile_service_1 = require("./video-resolution-profile.service");
|
|
15
|
+
let VideoResolutionProfileModule = class VideoResolutionProfileModule {
|
|
16
|
+
};
|
|
17
|
+
exports.VideoResolutionProfileModule = VideoResolutionProfileModule;
|
|
18
|
+
exports.VideoResolutionProfileModule = VideoResolutionProfileModule = __decorate([
|
|
19
|
+
(0, common_1.Module)({
|
|
20
|
+
imports: [(0, common_1.forwardRef)(() => api_prisma_1.PrismaModule)],
|
|
21
|
+
controllers: [video_resolution_profile_controller_1.VideoResolutionProfileController],
|
|
22
|
+
providers: [video_resolution_profile_service_1.VideoResolutionProfileService, video_resolution_profile_mcp_tools_1.VideoResolutionProfileMcpTools],
|
|
23
|
+
exports: [(0, common_1.forwardRef)(() => video_resolution_profile_service_1.VideoResolutionProfileService)],
|
|
24
|
+
})
|
|
25
|
+
], VideoResolutionProfileModule);
|
|
26
|
+
//# sourceMappingURL=video-resolution-profile.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-resolution-profile.module.js","sourceRoot":"","sources":["../../src/video-resolution-profile/video-resolution-profile.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,oDAAmD;AACnD,2CAAoD;AACpD,+FAAyF;AACzF,6FAAsF;AACtF,yFAAmF;AAQ5E,IAAM,4BAA4B,GAAlC,MAAM,4BAA4B;CAAG,CAAA;AAA/B,oEAA4B;uCAA5B,4BAA4B;IANxC,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,yBAAY,CAAC,CAAC;QACzC,WAAW,EAAE,CAAC,sEAAgC,CAAC;QAC/C,SAAS,EAAE,CAAC,gEAA6B,EAAE,mEAA8B,CAAC;QAC1E,OAAO,EAAE,CAAC,IAAA,mBAAU,EAAC,GAAG,EAAE,CAAC,gEAA6B,CAAC,CAAC;KAC3D,CAAC;GACW,4BAA4B,CAAG"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { PrismaService } from '@hed-hog/api-prisma';
|
|
2
|
+
import { CreateVideoResolutionProfileDto } from './dto/create-video-resolution-profile.dto';
|
|
3
|
+
import { UpdateVideoResolutionProfileDto } from './dto/update-video-resolution-profile.dto';
|
|
4
|
+
export declare class VideoResolutionProfileService {
|
|
5
|
+
private readonly prisma;
|
|
6
|
+
constructor(prisma: PrismaService);
|
|
7
|
+
private get profileClient();
|
|
8
|
+
list(params: {
|
|
9
|
+
page?: number;
|
|
10
|
+
pageSize?: number;
|
|
11
|
+
search?: string;
|
|
12
|
+
}): Promise<{
|
|
13
|
+
data: {
|
|
14
|
+
id: any;
|
|
15
|
+
name: any;
|
|
16
|
+
ffmpeg_params: any;
|
|
17
|
+
status: any;
|
|
18
|
+
}[];
|
|
19
|
+
total: any;
|
|
20
|
+
page: number;
|
|
21
|
+
pageSize: number;
|
|
22
|
+
}>;
|
|
23
|
+
getAll(): Promise<{
|
|
24
|
+
id: any;
|
|
25
|
+
name: any;
|
|
26
|
+
ffmpeg_params: any;
|
|
27
|
+
status: any;
|
|
28
|
+
}[]>;
|
|
29
|
+
create(dto: CreateVideoResolutionProfileDto): Promise<{
|
|
30
|
+
id: any;
|
|
31
|
+
name: any;
|
|
32
|
+
ffmpeg_params: any;
|
|
33
|
+
status: any;
|
|
34
|
+
}>;
|
|
35
|
+
update(id: number, dto: UpdateVideoResolutionProfileDto): Promise<{
|
|
36
|
+
id: any;
|
|
37
|
+
name: any;
|
|
38
|
+
ffmpeg_params: any;
|
|
39
|
+
status: any;
|
|
40
|
+
}>;
|
|
41
|
+
delete(id: number): Promise<void>;
|
|
42
|
+
private getProfileById;
|
|
43
|
+
private mapRow;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=video-resolution-profile.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-resolution-profile.service.d.ts","sourceRoot":"","sources":["../../src/video-resolution-profile/video-resolution-profile.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAC5F,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAE5F,qBACa,6BAA6B;IAC5B,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,aAAa;IAElD,OAAO,KAAK,aAAa,GAExB;IAEK,IAAI,CAAC,MAAM,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;IA6BlE,MAAM;;;;;;IASN,MAAM,CAAC,GAAG,EAAE,+BAA+B;;;;;;IAY3C,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,+BAA+B;;;;;;IAsBvD,MAAM,CAAC,EAAE,EAAE,MAAM;YAaT,cAAc;IAU5B,OAAO,CAAC,MAAM;CAQf"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.VideoResolutionProfileService = void 0;
|
|
13
|
+
const api_prisma_1 = require("@hed-hog/api-prisma");
|
|
14
|
+
const common_1 = require("@nestjs/common");
|
|
15
|
+
let VideoResolutionProfileService = class VideoResolutionProfileService {
|
|
16
|
+
constructor(prisma) {
|
|
17
|
+
this.prisma = prisma;
|
|
18
|
+
}
|
|
19
|
+
get profileClient() {
|
|
20
|
+
return this.prisma.video_resolution_profile;
|
|
21
|
+
}
|
|
22
|
+
async list(params) {
|
|
23
|
+
var _a;
|
|
24
|
+
const page = Math.max(Number(params.page) || 1, 1);
|
|
25
|
+
const pageSize = Math.max(Number(params.pageSize) || 20, 1);
|
|
26
|
+
const skip = (page - 1) * pageSize;
|
|
27
|
+
const search = (_a = params.search) === null || _a === void 0 ? void 0 : _a.trim();
|
|
28
|
+
const where = {};
|
|
29
|
+
if (search) {
|
|
30
|
+
where.name = { contains: search, mode: 'insensitive' };
|
|
31
|
+
}
|
|
32
|
+
const [rows, total] = await Promise.all([
|
|
33
|
+
this.profileClient.findMany({
|
|
34
|
+
where,
|
|
35
|
+
skip,
|
|
36
|
+
take: pageSize,
|
|
37
|
+
orderBy: { name: 'asc' },
|
|
38
|
+
}),
|
|
39
|
+
this.profileClient.count({ where }),
|
|
40
|
+
]);
|
|
41
|
+
return {
|
|
42
|
+
data: rows.map((row) => this.mapRow(row)),
|
|
43
|
+
total,
|
|
44
|
+
page,
|
|
45
|
+
pageSize,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
async getAll() {
|
|
49
|
+
const rows = await this.profileClient.findMany({
|
|
50
|
+
where: { status: 'active' },
|
|
51
|
+
orderBy: { name: 'asc' },
|
|
52
|
+
});
|
|
53
|
+
return rows.map((row) => this.mapRow(row));
|
|
54
|
+
}
|
|
55
|
+
async create(dto) {
|
|
56
|
+
var _a;
|
|
57
|
+
const profile = await this.profileClient.create({
|
|
58
|
+
data: {
|
|
59
|
+
name: dto.name,
|
|
60
|
+
ffmpeg_params: dto.ffmpeg_params,
|
|
61
|
+
status: (_a = dto.status) !== null && _a !== void 0 ? _a : 'active',
|
|
62
|
+
},
|
|
63
|
+
});
|
|
64
|
+
return this.getProfileById(profile.id);
|
|
65
|
+
}
|
|
66
|
+
async update(id, dto) {
|
|
67
|
+
const profile = await this.profileClient.findUnique({
|
|
68
|
+
where: { id },
|
|
69
|
+
select: { id: true },
|
|
70
|
+
});
|
|
71
|
+
if (!profile) {
|
|
72
|
+
throw new common_1.NotFoundException('Video resolution profile not found');
|
|
73
|
+
}
|
|
74
|
+
const data = {};
|
|
75
|
+
if (dto.name !== undefined)
|
|
76
|
+
data.name = dto.name;
|
|
77
|
+
if (dto.ffmpeg_params !== undefined)
|
|
78
|
+
data.ffmpeg_params = dto.ffmpeg_params;
|
|
79
|
+
if (dto.status !== undefined)
|
|
80
|
+
data.status = dto.status;
|
|
81
|
+
if (Object.keys(data).length > 0) {
|
|
82
|
+
await this.profileClient.update({ where: { id }, data });
|
|
83
|
+
}
|
|
84
|
+
return this.getProfileById(id);
|
|
85
|
+
}
|
|
86
|
+
async delete(id) {
|
|
87
|
+
const profile = await this.profileClient.findUnique({
|
|
88
|
+
where: { id },
|
|
89
|
+
select: { id: true },
|
|
90
|
+
});
|
|
91
|
+
if (!profile) {
|
|
92
|
+
throw new common_1.NotFoundException('Video resolution profile not found');
|
|
93
|
+
}
|
|
94
|
+
await this.profileClient.delete({ where: { id } });
|
|
95
|
+
}
|
|
96
|
+
async getProfileById(id) {
|
|
97
|
+
const row = await this.profileClient.findUnique({ where: { id } });
|
|
98
|
+
if (!row) {
|
|
99
|
+
throw new common_1.NotFoundException('Video resolution profile not found');
|
|
100
|
+
}
|
|
101
|
+
return this.mapRow(row);
|
|
102
|
+
}
|
|
103
|
+
mapRow(row) {
|
|
104
|
+
return {
|
|
105
|
+
id: row.id,
|
|
106
|
+
name: row.name,
|
|
107
|
+
ffmpeg_params: row.ffmpeg_params,
|
|
108
|
+
status: row.status,
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
exports.VideoResolutionProfileService = VideoResolutionProfileService;
|
|
113
|
+
exports.VideoResolutionProfileService = VideoResolutionProfileService = __decorate([
|
|
114
|
+
(0, common_1.Injectable)(),
|
|
115
|
+
__metadata("design:paramtypes", [api_prisma_1.PrismaService])
|
|
116
|
+
], VideoResolutionProfileService);
|
|
117
|
+
//# sourceMappingURL=video-resolution-profile.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-resolution-profile.service.js","sourceRoot":"","sources":["../../src/video-resolution-profile/video-resolution-profile.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAoD;AACpD,2CAA+D;AAKxD,IAAM,6BAA6B,GAAnC,MAAM,6BAA6B;IACxC,YAA6B,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;IAAG,CAAC;IAEtD,IAAY,aAAa;QACvB,OAAQ,IAAI,CAAC,MAAc,CAAC,wBAAwB,CAAC;IACvD,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,MAA6D;;QACtE,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;QACnD,MAAM,QAAQ,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;QAC5D,MAAM,IAAI,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,GAAG,QAAQ,CAAC;QACnC,MAAM,MAAM,GAAG,MAAA,MAAM,CAAC,MAAM,0CAAE,IAAI,EAAE,CAAC;QAErC,MAAM,KAAK,GAAQ,EAAE,CAAC;QACtB,IAAI,MAAM,EAAE,CAAC;YACX,KAAK,CAAC,IAAI,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;QACzD,CAAC;QAED,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;YACtC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC;gBAC1B,KAAK;gBACL,IAAI;gBACJ,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE;aACzB,CAAC;YACF,IAAI,CAAC,aAA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AC;YACT,MAAM,IAAI,0BAAiB,CAAC,oCAAoC,CAAC,CAAC;QACpE,CAAC;QAED,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC1B,CAAC;IAEO,MAAM,CAAC,GAAQ;QACrB,OAAO;YACL,EAAE,EAAE,GAAG,CAAC,EAAE;YACV,IAAI,EAAE,GAAG,CAAC,IAAI;YACd,aAAa,EAAE,GAAG,CAAC,aAAa;YAChC,MAAM,EAAE,GAAG,CAAC,MAAM;SACnB,CAAC;IACJ,CAAC;CACF,CAAA;AA9GY,sEAA6B;wCAA7B,6BAA6B;IADzC,IAAA,mBAAU,GAAE;qCAE0B,0BAAa;GADvC,6BAA6B,CA8GzC"}
|
|
@@ -217,3 +217,72 @@
|
|
|
217
217
|
type: number
|
|
218
218
|
description: ID do template excluído
|
|
219
219
|
metadata_schema: null
|
|
220
|
+
|
|
221
|
+
- slug: lms.class_group.student.enrolled
|
|
222
|
+
name: LMS class group student enrolled
|
|
223
|
+
module: lms
|
|
224
|
+
aggregate_type: class_group
|
|
225
|
+
description: Disparado quando um aluno é matriculado em uma turma.
|
|
226
|
+
status: active
|
|
227
|
+
payload_schema:
|
|
228
|
+
classGroupId:
|
|
229
|
+
type: number
|
|
230
|
+
description: ID da turma
|
|
231
|
+
courseId:
|
|
232
|
+
type: number
|
|
233
|
+
nullable: true
|
|
234
|
+
description: ID do curso vinculado à turma
|
|
235
|
+
personId:
|
|
236
|
+
type: number
|
|
237
|
+
description: ID da pessoa (aluno) matriculado
|
|
238
|
+
enrollmentId:
|
|
239
|
+
type: number
|
|
240
|
+
description: ID do registro de matrícula criado
|
|
241
|
+
metadata_schema: null
|
|
242
|
+
|
|
243
|
+
- slug: lms.class_group.student.removed
|
|
244
|
+
name: LMS class group student removed
|
|
245
|
+
module: lms
|
|
246
|
+
aggregate_type: class_group
|
|
247
|
+
description: Disparado quando um aluno é removido (cancelado) de uma turma.
|
|
248
|
+
status: active
|
|
249
|
+
payload_schema:
|
|
250
|
+
classGroupId:
|
|
251
|
+
type: number
|
|
252
|
+
description: ID da turma
|
|
253
|
+
personId:
|
|
254
|
+
type: number
|
|
255
|
+
description: ID da pessoa (aluno) removido
|
|
256
|
+
enrollmentId:
|
|
257
|
+
type: number
|
|
258
|
+
description: ID do registro de matrícula cancelado
|
|
259
|
+
metadata_schema: null
|
|
260
|
+
|
|
261
|
+
- slug: lms.exam.attempt.submitted
|
|
262
|
+
name: LMS exam attempt submitted
|
|
263
|
+
module: lms
|
|
264
|
+
aggregate_type: exam_attempt
|
|
265
|
+
description: Disparado quando um aluno conclui (submete) uma tentativa de prova.
|
|
266
|
+
status: active
|
|
267
|
+
payload_schema:
|
|
268
|
+
examId:
|
|
269
|
+
type: number
|
|
270
|
+
description: ID da prova
|
|
271
|
+
attemptId:
|
|
272
|
+
type: number
|
|
273
|
+
description: ID da tentativa
|
|
274
|
+
studentId:
|
|
275
|
+
type: number
|
|
276
|
+
description: ID do aluno (student)
|
|
277
|
+
score:
|
|
278
|
+
type: number
|
|
279
|
+
nullable: true
|
|
280
|
+
description: Pontuação obtida (0–100)
|
|
281
|
+
passed:
|
|
282
|
+
type: boolean
|
|
283
|
+
nullable: true
|
|
284
|
+
description: Se o aluno foi aprovado
|
|
285
|
+
attemptNumber:
|
|
286
|
+
type: number
|
|
287
|
+
description: Número da tentativa
|
|
288
|
+
metadata_schema: null
|