elearning/Backend/src/types
JakkrapartXD 7e8c8e2532 feat: fix quiz scoring to use Choice model correctness, add YouTube video support to lesson content, and include show_answers_after_completion in quiz data
Update quiz attempt detail scoring to determine correctness from Choice.is_correct instead of StudentAnswer.is_correct and calculate earned score based on correctness. Add YouTube video support to getLessonContent endpoint by checking LessonAttachment for YouTube videos (mime_type 'video/youtube') and building YouTube URLs from video IDs. Ad
2026-02-04 14:19:17 +07:00
..
AdminCourseApproval.types.ts make admin approve api 2026-01-23 13:16:41 +07:00
announcements.types.ts feat: implement avatar upload functionality with presigned URL support for user profiles and announcement attachments. 2026-01-28 11:49:11 +07:00
auth.types.ts feat: standardize login response format with code, message, and data wrapper 2026-01-30 17:54:43 +07:00
categories.type.ts feat: standardize category update response format with code, message, and data wrapper 2026-01-30 15:23:29 +07:00
certificate.types.ts feat: add certificate generation system with PDF template and Thai font support 2026-01-30 14:14:00 +07:00
ChaptersLesson.typs.ts feat: add search and filter capabilities to student and quiz endpoints, implement YouTube video support for lessons 2026-02-03 17:23:47 +07:00
courses.types.ts feat: add listCourseResponse and getCourseResponse interfaces for course API responses. 2026-01-20 14:18:58 +07:00
CoursesInstructor.types.ts feat: add search and filter capabilities to student and quiz endpoints, implement YouTube video support for lessons 2026-02-03 17:23:47 +07:00
CoursesStudent.types.ts feat: fix quiz scoring to use Choice model correctness, add YouTube video support to lesson content, and include show_answers_after_completion in quiz data 2026-02-04 14:19:17 +07:00
index.ts feat: Implement student course management functionalities and standardize multi-language text types across course and category definitions. 2026-01-19 14:14:59 +07:00
user.types.ts feat: update instructor search to exclude self and existing course instructors, add email_verified_at to user responses 2026-02-03 10:38:59 +07:00
usersmanagement.types.ts feat: Filter user listings by deactivation status, include a total count in the response, and simplify account activation to use user ID directly. 2026-01-16 11:16:51 +07:00