@hed-hog/lms 0.0.268 → 0.0.270

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.
Files changed (52) hide show
  1. package/hedhog/data/menu.yaml +8 -1
  2. package/hedhog/frontend/app/classes/[id]/page.tsx.ejs +1387 -0
  3. package/hedhog/frontend/app/classes/page.tsx.ejs +4 -4
  4. package/hedhog/frontend/app/courses/[id]/page.tsx.ejs +1237 -0
  5. package/hedhog/frontend/app/courses/[id]/structure/page.tsx.ejs +2642 -0
  6. package/hedhog/frontend/app/courses/page.tsx.ejs +825 -727
  7. package/hedhog/frontend/app/exams/[id]/attempt/page.tsx.ejs +976 -0
  8. package/hedhog/frontend/app/exams/[id]/questions/page.tsx.ejs +931 -0
  9. package/hedhog/frontend/app/exams/page.tsx.ejs +9 -7
  10. package/hedhog/frontend/app/training/page.tsx.ejs +3 -3
  11. package/hedhog/frontend/messages/en.json +703 -14
  12. package/hedhog/frontend/messages/pt.json +863 -174
  13. package/hedhog/query/triggers.sql +0 -0
  14. package/hedhog/table/certificate.yaml +89 -0
  15. package/hedhog/table/certificate_template.yaml +24 -0
  16. package/hedhog/table/course.yaml +67 -1
  17. package/hedhog/table/course_category.yaml +22 -0
  18. package/hedhog/table/course_class_attendance.yaml +34 -0
  19. package/hedhog/table/course_class_group.yaml +58 -0
  20. package/hedhog/table/course_class_session.yaml +38 -0
  21. package/hedhog/table/course_class_session_instructor.yaml +27 -0
  22. package/hedhog/table/course_enrollment.yaml +45 -0
  23. package/hedhog/table/course_image.yaml +33 -0
  24. package/hedhog/table/course_lesson.yaml +35 -0
  25. package/hedhog/table/course_lesson_file.yaml +23 -0
  26. package/hedhog/table/course_lesson_instructor.yaml +27 -0
  27. package/hedhog/table/course_lesson_progress.yaml +40 -0
  28. package/hedhog/table/course_lesson_question.yaml +24 -0
  29. package/hedhog/table/course_module.yaml +25 -0
  30. package/hedhog/table/course_prerequisite.yaml +48 -0
  31. package/hedhog/table/evaluation_rating.yaml +30 -0
  32. package/hedhog/table/evaluation_topic.yaml +68 -0
  33. package/hedhog/table/exam.yaml +91 -0
  34. package/hedhog/table/exam_answer.yaml +40 -0
  35. package/hedhog/table/exam_attempt.yaml +51 -0
  36. package/hedhog/table/exam_image.yaml +33 -0
  37. package/hedhog/table/exam_option.yaml +25 -0
  38. package/hedhog/table/exam_question.yaml +24 -0
  39. package/hedhog/table/image_type.yaml +28 -0
  40. package/hedhog/table/instructor.yaml +23 -0
  41. package/hedhog/table/learning_path.yaml +49 -0
  42. package/hedhog/table/learning_path_enrollment.yaml +33 -0
  43. package/hedhog/table/learning_path_image.yaml +33 -0
  44. package/hedhog/table/learning_path_step.yaml +43 -0
  45. package/hedhog/table/question.yaml +15 -0
  46. package/package.json +9 -6
  47. package/src/index.ts +1 -1
  48. package/src/lms.module.ts +15 -15
  49. package/hedhog/table/classes.yaml +0 -3
  50. package/hedhog/table/exams.yaml +0 -3
  51. package/hedhog/table/reports.yaml +0 -3
  52. package/hedhog/table/training.yaml +0 -3
@@ -19,6 +19,7 @@
19
19
  en: Dashboard
20
20
  pt: Dashboard
21
21
  slug: /lms/dashboard
22
+ order: 0
22
23
  relations:
23
24
  role:
24
25
  - where:
@@ -35,6 +36,7 @@
35
36
  en: Courses
36
37
  pt: Cursos
37
38
  slug: /lms/courses
39
+ order: 1
38
40
  relations:
39
41
  role:
40
42
  - where:
@@ -51,6 +53,7 @@
51
53
  en: Exams
52
54
  pt: Exames
53
55
  slug: /lms/exams
56
+ order: 2
54
57
  relations:
55
58
  role:
56
59
  - where:
@@ -67,12 +70,14 @@
67
70
  en: Training
68
71
  pt: Formação
69
72
  slug: /lms/training
73
+
70
74
  relations:
71
75
  role:
72
76
  - where:
73
77
  slug: admin
74
78
  - where:
75
79
  slug: admin-lms
80
+ order: 3
76
81
 
77
82
  - url: /lms/reports
78
83
  menu_id:
@@ -83,6 +88,7 @@
83
88
  en: Reports
84
89
  pt: Relatórios
85
90
  slug: /lms/reports
91
+ order: 4
86
92
  relations:
87
93
  role:
88
94
  - where:
@@ -94,11 +100,12 @@
94
100
  menu_id:
95
101
  where:
96
102
  slug: /lms
97
- icon: graduation-cap
103
+ icon: user-round-pen
98
104
  name:
99
105
  en: Classes
100
106
  pt: Turmas
101
107
  slug: /lms/classes
108
+ order: 5
102
109
  relations:
103
110
  role:
104
111
  - where: