@hed-hog/lms 0.0.305 → 0.0.309
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/course/course-structure.controller.d.ts +60 -0
- package/dist/course/course-structure.controller.d.ts.map +1 -1
- package/dist/course/course-structure.controller.js +79 -0
- package/dist/course/course-structure.controller.js.map +1 -1
- package/dist/course/course-structure.service.d.ts +61 -1
- package/dist/course/course-structure.service.d.ts.map +1 -1
- package/dist/course/course-structure.service.js +326 -1
- package/dist/course/course-structure.service.js.map +1 -1
- package/dist/course/course.controller.d.ts +52 -4
- package/dist/course/course.controller.d.ts.map +1 -1
- package/dist/course/course.service.d.ts +52 -5
- package/dist/course/course.service.d.ts.map +1 -1
- package/dist/course/course.service.js +81 -60
- package/dist/course/course.service.js.map +1 -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 +5 -1
- package/dist/course/dto/create-course-structure-lesson.dto.js.map +1 -1
- package/dist/course/dto/create-course.dto.d.ts +1 -1
- package/dist/course/dto/create-course.dto.d.ts.map +1 -1
- package/dist/course/dto/create-course.dto.js +4 -1
- package/dist/course/dto/create-course.dto.js.map +1 -1
- package/dist/course/dto/move-lesson.dto.d.ts +10 -0
- package/dist/course/dto/move-lesson.dto.d.ts.map +1 -0
- package/dist/{enterprise/dto/add-enterprise-lead.dto.js → course/dto/move-lesson.dto.js} +12 -6
- package/dist/course/dto/move-lesson.dto.js.map +1 -0
- package/dist/course/dto/paste-lessons.dto.d.ts +4 -0
- package/dist/course/dto/paste-lessons.dto.d.ts.map +1 -0
- package/dist/course/dto/paste-lessons.dto.js +24 -0
- package/dist/course/dto/paste-lessons.dto.js.map +1 -0
- package/dist/course/dto/reorder-lessons.dto.d.ts +5 -0
- package/dist/course/dto/reorder-lessons.dto.d.ts.map +1 -0
- package/dist/course/dto/reorder-lessons.dto.js +24 -0
- package/dist/course/dto/reorder-lessons.dto.js.map +1 -0
- package/dist/course/dto/reorder-sessions.dto.d.ts +5 -0
- package/dist/course/dto/reorder-sessions.dto.d.ts.map +1 -0
- package/dist/course/dto/reorder-sessions.dto.js +24 -0
- package/dist/course/dto/reorder-sessions.dto.js.map +1 -0
- package/dist/training/training.controller.js +1 -1
- package/dist/training/training.controller.js.map +1 -1
- package/hedhog/data/dashboard_component.yaml +152 -152
- package/hedhog/data/dashboard_item.yaml +166 -166
- package/hedhog/data/image_type.yaml +20 -0
- package/hedhog/data/menu.yaml +2 -2
- package/hedhog/data/route.yaml +60 -6
- package/hedhog/frontend/app/_components/class-form-sheet.tsx.ejs +146 -165
- package/hedhog/frontend/app/_components/course-avatar.tsx.ejs +70 -0
- package/hedhog/frontend/app/_components/course-form-sheet.tsx.ejs +372 -22
- package/hedhog/frontend/app/classes/[id]/page.tsx.ejs +437 -77
- package/hedhog/frontend/app/classes/page.tsx.ejs +311 -289
- package/hedhog/frontend/app/courses/[id]/_components/CourseCertificateCard.tsx.ejs +10 -7
- package/hedhog/frontend/app/courses/[id]/_components/CourseClassificationCard.tsx.ejs +23 -32
- package/hedhog/frontend/app/courses/[id]/_components/CourseContentCard.tsx.ejs +3 -9
- package/hedhog/frontend/app/courses/[id]/_components/CourseDangerZoneCard.tsx.ejs +26 -16
- package/hedhog/frontend/app/courses/[id]/_components/CourseFlagsCard.tsx.ejs +19 -5
- package/hedhog/frontend/app/courses/[id]/_components/CourseMainInfoCard.tsx.ejs +10 -14
- package/hedhog/frontend/app/courses/[id]/_components/CourseMediaCard.tsx.ejs +131 -107
- package/hedhog/frontend/app/courses/[id]/_components/CourseRelationsCard.tsx.ejs +10 -7
- package/hedhog/frontend/app/courses/[id]/_components/CourseSectionCard.tsx.ejs +38 -19
- package/hedhog/frontend/app/courses/[id]/_components/CourseSummaryCard.tsx.ejs +1 -1
- package/hedhog/frontend/app/courses/[id]/_components/course-edit-types.ts.ejs +1 -1
- package/hedhog/frontend/app/courses/[id]/page.tsx.ejs +336 -1057
- package/hedhog/frontend/app/courses/[id]/structure/_components/confirm-dialog.tsx.ejs +45 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/course-tree-dnd.tsx.ejs +362 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/course-tree-panel.tsx.ejs +111 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/course-tree-skeleton.tsx.ejs +64 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/course-tree.tsx.ejs +134 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/detail-course.tsx.ejs +113 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/detail-lesson.tsx.ejs +314 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/detail-panel.tsx.ejs +62 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/detail-session.tsx.ejs +174 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/drag-handle.tsx.ejs +58 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/drag-overlay.tsx.ejs +52 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/editor-bulk.tsx.ejs +276 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/editor-course.tsx.ejs +1216 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/editor-lesson.tsx.ejs +1827 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/editor-session.tsx.ejs +443 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/highlighted-text.tsx.ejs +41 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/mock-data.ts.ejs +184 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/multi-select-bar.tsx.ejs +264 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/search-filter.tsx.ejs +96 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/session-picker-dialog.tsx.ejs +74 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/shortcuts-help.tsx.ejs +136 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/sortable-tree-row.tsx.ejs +80 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/store.ts.ejs +948 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/tree-context-menu.tsx.ejs +525 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/tree-display-settings-popover.tsx.ejs +150 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/tree-helpers.ts.ejs +182 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/tree-row-course.tsx.ejs +52 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/tree-row-lesson.tsx.ejs +271 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/tree-row-session.tsx.ejs +167 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/tree-row.tsx.ejs +108 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/types.ts.ejs +122 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/use-course-structure-shortcuts.ts.ejs +318 -0
- package/hedhog/frontend/app/courses/[id]/structure/_components/use-tree-display-settings.ts.ejs +97 -0
- package/hedhog/frontend/app/courses/[id]/structure/_data/adapters/course-structure.adapter.ts.ejs +347 -0
- package/hedhog/frontend/app/courses/[id]/structure/_data/course-structure-contract.ts.ejs +195 -0
- package/hedhog/frontend/app/courses/[id]/structure/_data/services/course-structure.service.ts.ejs +420 -0
- package/hedhog/frontend/app/courses/[id]/structure/_data/types/api-course.types.ts.ejs +254 -0
- package/hedhog/frontend/app/courses/[id]/structure/_data/use-course-structure-mutations.ts.ejs +987 -0
- package/hedhog/frontend/app/courses/[id]/structure/_data/use-course-structure-query.ts.ejs +86 -0
- package/hedhog/frontend/app/courses/[id]/structure/_data/use-course-structure.ts.ejs +160 -0
- package/hedhog/frontend/app/courses/[id]/structure/page.tsx.ejs +10 -3212
- package/hedhog/frontend/app/courses/page.tsx.ejs +45 -26
- package/hedhog/frontend/app/enterprise/[id]/page.tsx.ejs +317 -317
- package/hedhog/frontend/app/enterprise/_components/enterprise-class-create-sheet.tsx.ejs +1 -0
- package/hedhog/frontend/app/enterprise/_components/enterprise-mocks.ts.ejs +12 -1
- package/hedhog/frontend/app/enterprise/_components/enterprise-related-tab.tsx.ejs +44 -7
- package/hedhog/frontend/app/enterprise/_components/enterprise-types.ts.ejs +96 -96
- package/hedhog/frontend/app/page.tsx.ejs +5 -5
- package/hedhog/frontend/app/{training → paths}/page.tsx.ejs +29 -7
- package/hedhog/frontend/messages/en.json +88 -10
- package/hedhog/frontend/messages/pt.json +88 -10
- package/hedhog/table/course.yaml +16 -16
- package/hedhog/table/image_type.yaml +14 -0
- package/package.json +6 -6
- package/src/class-group/class-group.service.ts +413 -413
- package/src/class-group/dto/create-class-group.dto.ts +77 -77
- package/src/course/course-structure.controller.ts +63 -0
- package/src/course/course-structure.service.ts +390 -3
- package/src/course/course.service.ts +214 -182
- package/src/course/dto/create-course-structure-lesson.dto.ts +3 -2
- package/src/course/dto/create-course.dto.ts +19 -16
- package/src/course/dto/move-lesson.dto.ts +17 -0
- package/src/course/dto/paste-lessons.dto.ts +9 -0
- package/src/course/dto/reorder-lessons.dto.ts +10 -0
- package/src/course/dto/reorder-sessions.dto.ts +10 -0
- package/src/training/training.controller.ts +1 -1
- package/dist/enterprise/dto/add-enterprise-lead.dto.d.ts +0 -4
- package/dist/enterprise/dto/add-enterprise-lead.dto.d.ts.map +0 -1
- package/dist/enterprise/dto/add-enterprise-lead.dto.js.map +0 -1
|
@@ -1,167 +1,167 @@
|
|
|
1
|
-
- component_id:
|
|
2
|
-
where:
|
|
3
|
-
slug: total-students-kpi
|
|
4
|
-
library_slug: lms
|
|
5
|
-
dashboard_id:
|
|
6
|
-
where:
|
|
7
|
-
slug: lms-admin-overview
|
|
8
|
-
width: 2
|
|
9
|
-
height: 2
|
|
10
|
-
x_axis: 0
|
|
11
|
-
y_axis: 0
|
|
12
|
-
|
|
13
|
-
- component_id:
|
|
14
|
-
where:
|
|
15
|
-
slug: active-courses-kpi
|
|
16
|
-
library_slug: lms
|
|
17
|
-
dashboard_id:
|
|
18
|
-
where:
|
|
19
|
-
slug: lms-admin-overview
|
|
20
|
-
width: 2
|
|
21
|
-
height: 2
|
|
22
|
-
x_axis: 2
|
|
23
|
-
y_axis: 0
|
|
24
|
-
|
|
25
|
-
- component_id:
|
|
26
|
-
where:
|
|
27
|
-
slug: active-classes-kpi
|
|
28
|
-
library_slug: lms
|
|
29
|
-
dashboard_id:
|
|
30
|
-
where:
|
|
31
|
-
slug: lms-admin-overview
|
|
32
|
-
width: 2
|
|
33
|
-
height: 2
|
|
34
|
-
x_axis: 4
|
|
35
|
-
y_axis: 0
|
|
36
|
-
|
|
37
|
-
- component_id:
|
|
38
|
-
where:
|
|
39
|
-
slug: issued-certificates-kpi
|
|
40
|
-
library_slug: lms
|
|
41
|
-
dashboard_id:
|
|
42
|
-
where:
|
|
43
|
-
slug: lms-admin-overview
|
|
44
|
-
width: 2
|
|
45
|
-
height: 2
|
|
46
|
-
x_axis: 6
|
|
47
|
-
y_axis: 0
|
|
48
|
-
|
|
49
|
-
- component_id:
|
|
50
|
-
where:
|
|
51
|
-
slug: completion-rate-kpi
|
|
52
|
-
library_slug: lms
|
|
53
|
-
dashboard_id:
|
|
54
|
-
where:
|
|
55
|
-
slug: lms-admin-overview
|
|
56
|
-
width: 2
|
|
57
|
-
height: 2
|
|
58
|
-
x_axis: 8
|
|
59
|
-
y_axis: 0
|
|
60
|
-
|
|
61
|
-
- component_id:
|
|
62
|
-
where:
|
|
63
|
-
slug: approval-rate-kpi
|
|
64
|
-
library_slug: lms
|
|
65
|
-
dashboard_id:
|
|
66
|
-
where:
|
|
67
|
-
slug: lms-admin-overview
|
|
68
|
-
width: 2
|
|
69
|
-
height: 2
|
|
70
|
-
x_axis: 10
|
|
71
|
-
y_axis: 0
|
|
72
|
-
|
|
73
|
-
- component_id:
|
|
74
|
-
where:
|
|
75
|
-
slug: student-growth-chart
|
|
76
|
-
library_slug: lms
|
|
77
|
-
dashboard_id:
|
|
78
|
-
where:
|
|
79
|
-
slug: lms-admin-overview
|
|
80
|
-
width: 7
|
|
81
|
-
height: 4
|
|
82
|
-
x_axis: 0
|
|
83
|
-
y_axis: 2
|
|
84
|
-
|
|
85
|
-
- component_id:
|
|
86
|
-
where:
|
|
87
|
-
slug: engagement-chart
|
|
88
|
-
library_slug: lms
|
|
89
|
-
dashboard_id:
|
|
90
|
-
where:
|
|
91
|
-
slug: lms-admin-overview
|
|
92
|
-
width: 5
|
|
93
|
-
height: 4
|
|
94
|
-
x_axis: 7
|
|
95
|
-
y_axis: 2
|
|
96
|
-
|
|
97
|
-
- component_id:
|
|
98
|
-
where:
|
|
99
|
-
slug: top-courses-chart
|
|
100
|
-
library_slug: lms
|
|
101
|
-
dashboard_id:
|
|
102
|
-
where:
|
|
103
|
-
slug: lms-admin-overview
|
|
104
|
-
width: 7
|
|
105
|
-
height: 4
|
|
106
|
-
x_axis: 0
|
|
107
|
-
y_axis: 6
|
|
108
|
-
|
|
109
|
-
- component_id:
|
|
110
|
-
where:
|
|
111
|
-
slug: category-distribution-chart
|
|
112
|
-
library_slug: lms
|
|
113
|
-
dashboard_id:
|
|
114
|
-
where:
|
|
115
|
-
slug: lms-admin-overview
|
|
116
|
-
width: 5
|
|
117
|
-
height: 4
|
|
118
|
-
x_axis: 7
|
|
119
|
-
y_axis: 6
|
|
120
|
-
|
|
121
|
-
- component_id:
|
|
122
|
-
where:
|
|
123
|
-
slug: class-calendar
|
|
124
|
-
library_slug: lms
|
|
125
|
-
dashboard_id:
|
|
126
|
-
where:
|
|
127
|
-
slug: lms-admin-overview
|
|
128
|
-
width: 12
|
|
129
|
-
height: 8
|
|
130
|
-
x_axis: 0
|
|
131
|
-
y_axis: 10
|
|
132
|
-
|
|
133
|
-
- component_id:
|
|
134
|
-
where:
|
|
135
|
-
slug: latest-enrollments
|
|
136
|
-
library_slug: lms
|
|
137
|
-
dashboard_id:
|
|
138
|
-
where:
|
|
139
|
-
slug: lms-admin-overview
|
|
140
|
-
width: 6
|
|
141
|
-
height: 5
|
|
142
|
-
x_axis: 0
|
|
143
|
-
y_axis: 18
|
|
144
|
-
|
|
145
|
-
- component_id:
|
|
146
|
-
where:
|
|
147
|
-
slug: upcoming-classes
|
|
148
|
-
library_slug: lms
|
|
149
|
-
dashboard_id:
|
|
150
|
-
where:
|
|
151
|
-
slug: lms-admin-overview
|
|
152
|
-
width: 6
|
|
153
|
-
height: 5
|
|
154
|
-
x_axis: 6
|
|
155
|
-
y_axis: 18
|
|
156
|
-
|
|
157
|
-
- component_id:
|
|
158
|
-
where:
|
|
159
|
-
slug: footer-summary
|
|
160
|
-
library_slug: lms
|
|
161
|
-
dashboard_id:
|
|
162
|
-
where:
|
|
163
|
-
slug: lms-admin-overview
|
|
164
|
-
width: 12
|
|
165
|
-
height: 1
|
|
166
|
-
x_axis: 0
|
|
1
|
+
- component_id:
|
|
2
|
+
where:
|
|
3
|
+
slug: total-students-kpi
|
|
4
|
+
library_slug: lms
|
|
5
|
+
dashboard_id:
|
|
6
|
+
where:
|
|
7
|
+
slug: lms-admin-overview
|
|
8
|
+
width: 2
|
|
9
|
+
height: 2
|
|
10
|
+
x_axis: 0
|
|
11
|
+
y_axis: 0
|
|
12
|
+
|
|
13
|
+
- component_id:
|
|
14
|
+
where:
|
|
15
|
+
slug: active-courses-kpi
|
|
16
|
+
library_slug: lms
|
|
17
|
+
dashboard_id:
|
|
18
|
+
where:
|
|
19
|
+
slug: lms-admin-overview
|
|
20
|
+
width: 2
|
|
21
|
+
height: 2
|
|
22
|
+
x_axis: 2
|
|
23
|
+
y_axis: 0
|
|
24
|
+
|
|
25
|
+
- component_id:
|
|
26
|
+
where:
|
|
27
|
+
slug: active-classes-kpi
|
|
28
|
+
library_slug: lms
|
|
29
|
+
dashboard_id:
|
|
30
|
+
where:
|
|
31
|
+
slug: lms-admin-overview
|
|
32
|
+
width: 2
|
|
33
|
+
height: 2
|
|
34
|
+
x_axis: 4
|
|
35
|
+
y_axis: 0
|
|
36
|
+
|
|
37
|
+
- component_id:
|
|
38
|
+
where:
|
|
39
|
+
slug: issued-certificates-kpi
|
|
40
|
+
library_slug: lms
|
|
41
|
+
dashboard_id:
|
|
42
|
+
where:
|
|
43
|
+
slug: lms-admin-overview
|
|
44
|
+
width: 2
|
|
45
|
+
height: 2
|
|
46
|
+
x_axis: 6
|
|
47
|
+
y_axis: 0
|
|
48
|
+
|
|
49
|
+
- component_id:
|
|
50
|
+
where:
|
|
51
|
+
slug: completion-rate-kpi
|
|
52
|
+
library_slug: lms
|
|
53
|
+
dashboard_id:
|
|
54
|
+
where:
|
|
55
|
+
slug: lms-admin-overview
|
|
56
|
+
width: 2
|
|
57
|
+
height: 2
|
|
58
|
+
x_axis: 8
|
|
59
|
+
y_axis: 0
|
|
60
|
+
|
|
61
|
+
- component_id:
|
|
62
|
+
where:
|
|
63
|
+
slug: approval-rate-kpi
|
|
64
|
+
library_slug: lms
|
|
65
|
+
dashboard_id:
|
|
66
|
+
where:
|
|
67
|
+
slug: lms-admin-overview
|
|
68
|
+
width: 2
|
|
69
|
+
height: 2
|
|
70
|
+
x_axis: 10
|
|
71
|
+
y_axis: 0
|
|
72
|
+
|
|
73
|
+
- component_id:
|
|
74
|
+
where:
|
|
75
|
+
slug: student-growth-chart
|
|
76
|
+
library_slug: lms
|
|
77
|
+
dashboard_id:
|
|
78
|
+
where:
|
|
79
|
+
slug: lms-admin-overview
|
|
80
|
+
width: 7
|
|
81
|
+
height: 4
|
|
82
|
+
x_axis: 0
|
|
83
|
+
y_axis: 2
|
|
84
|
+
|
|
85
|
+
- component_id:
|
|
86
|
+
where:
|
|
87
|
+
slug: engagement-chart
|
|
88
|
+
library_slug: lms
|
|
89
|
+
dashboard_id:
|
|
90
|
+
where:
|
|
91
|
+
slug: lms-admin-overview
|
|
92
|
+
width: 5
|
|
93
|
+
height: 4
|
|
94
|
+
x_axis: 7
|
|
95
|
+
y_axis: 2
|
|
96
|
+
|
|
97
|
+
- component_id:
|
|
98
|
+
where:
|
|
99
|
+
slug: top-courses-chart
|
|
100
|
+
library_slug: lms
|
|
101
|
+
dashboard_id:
|
|
102
|
+
where:
|
|
103
|
+
slug: lms-admin-overview
|
|
104
|
+
width: 7
|
|
105
|
+
height: 4
|
|
106
|
+
x_axis: 0
|
|
107
|
+
y_axis: 6
|
|
108
|
+
|
|
109
|
+
- component_id:
|
|
110
|
+
where:
|
|
111
|
+
slug: category-distribution-chart
|
|
112
|
+
library_slug: lms
|
|
113
|
+
dashboard_id:
|
|
114
|
+
where:
|
|
115
|
+
slug: lms-admin-overview
|
|
116
|
+
width: 5
|
|
117
|
+
height: 4
|
|
118
|
+
x_axis: 7
|
|
119
|
+
y_axis: 6
|
|
120
|
+
|
|
121
|
+
- component_id:
|
|
122
|
+
where:
|
|
123
|
+
slug: class-calendar
|
|
124
|
+
library_slug: lms
|
|
125
|
+
dashboard_id:
|
|
126
|
+
where:
|
|
127
|
+
slug: lms-admin-overview
|
|
128
|
+
width: 12
|
|
129
|
+
height: 8
|
|
130
|
+
x_axis: 0
|
|
131
|
+
y_axis: 10
|
|
132
|
+
|
|
133
|
+
- component_id:
|
|
134
|
+
where:
|
|
135
|
+
slug: latest-enrollments
|
|
136
|
+
library_slug: lms
|
|
137
|
+
dashboard_id:
|
|
138
|
+
where:
|
|
139
|
+
slug: lms-admin-overview
|
|
140
|
+
width: 6
|
|
141
|
+
height: 5
|
|
142
|
+
x_axis: 0
|
|
143
|
+
y_axis: 18
|
|
144
|
+
|
|
145
|
+
- component_id:
|
|
146
|
+
where:
|
|
147
|
+
slug: upcoming-classes
|
|
148
|
+
library_slug: lms
|
|
149
|
+
dashboard_id:
|
|
150
|
+
where:
|
|
151
|
+
slug: lms-admin-overview
|
|
152
|
+
width: 6
|
|
153
|
+
height: 5
|
|
154
|
+
x_axis: 6
|
|
155
|
+
y_axis: 18
|
|
156
|
+
|
|
157
|
+
- component_id:
|
|
158
|
+
where:
|
|
159
|
+
slug: footer-summary
|
|
160
|
+
library_slug: lms
|
|
161
|
+
dashboard_id:
|
|
162
|
+
where:
|
|
163
|
+
slug: lms-admin-overview
|
|
164
|
+
width: 12
|
|
165
|
+
height: 1
|
|
166
|
+
x_axis: 0
|
|
167
167
|
y_axis: 23
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
- slug: course-logo
|
|
2
|
+
name: Course Logo
|
|
3
|
+
applies_to_course: true
|
|
4
|
+
applies_to_exam: false
|
|
5
|
+
applies_to_learning_path: false
|
|
6
|
+
suggested_width: 500
|
|
7
|
+
suggested_height: 500
|
|
8
|
+
allowed_extensions: png,webp
|
|
9
|
+
aspect_ratio: "1:1"
|
|
10
|
+
status: active
|
|
11
|
+
- slug: course-banner
|
|
12
|
+
name: Course Banner
|
|
13
|
+
applies_to_course: true
|
|
14
|
+
applies_to_exam: false
|
|
15
|
+
applies_to_learning_path: false
|
|
16
|
+
suggested_width: 1920
|
|
17
|
+
suggested_height: 540
|
|
18
|
+
allowed_extensions: jpg,png,webp
|
|
19
|
+
aspect_ratio: "16:9"
|
|
20
|
+
status: active
|
package/hedhog/data/menu.yaml
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
- where:
|
|
45
45
|
slug: admin-lms
|
|
46
46
|
|
|
47
|
-
- url: /lms/
|
|
47
|
+
- url: /lms/paths
|
|
48
48
|
menu_id:
|
|
49
49
|
where:
|
|
50
50
|
slug: /lms
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
name:
|
|
53
53
|
en: Training
|
|
54
54
|
pt: Formação
|
|
55
|
-
slug: /lms/
|
|
55
|
+
slug: /lms/paths
|
|
56
56
|
|
|
57
57
|
relations:
|
|
58
58
|
role:
|
package/hedhog/data/route.yaml
CHANGED
|
@@ -160,6 +160,60 @@
|
|
|
160
160
|
- where:
|
|
161
161
|
slug: admin-lms
|
|
162
162
|
|
|
163
|
+
- url: /lms/courses/:id/structure/sessions/reorder
|
|
164
|
+
method: PATCH
|
|
165
|
+
relations:
|
|
166
|
+
role:
|
|
167
|
+
- where:
|
|
168
|
+
slug: admin
|
|
169
|
+
- where:
|
|
170
|
+
slug: admin-lms
|
|
171
|
+
|
|
172
|
+
- url: /lms/courses/:id/structure/sessions/:sessionId/lessons/reorder
|
|
173
|
+
method: PATCH
|
|
174
|
+
relations:
|
|
175
|
+
role:
|
|
176
|
+
- where:
|
|
177
|
+
slug: admin
|
|
178
|
+
- where:
|
|
179
|
+
slug: admin-lms
|
|
180
|
+
|
|
181
|
+
- url: /lms/courses/:id/structure/sessions/:sessionId/lessons/:lessonId/move
|
|
182
|
+
method: PATCH
|
|
183
|
+
relations:
|
|
184
|
+
role:
|
|
185
|
+
- where:
|
|
186
|
+
slug: admin
|
|
187
|
+
- where:
|
|
188
|
+
slug: admin-lms
|
|
189
|
+
|
|
190
|
+
- url: /lms/courses/:id/structure/sessions/:sessionId/duplicate
|
|
191
|
+
method: POST
|
|
192
|
+
relations:
|
|
193
|
+
role:
|
|
194
|
+
- where:
|
|
195
|
+
slug: admin
|
|
196
|
+
- where:
|
|
197
|
+
slug: admin-lms
|
|
198
|
+
|
|
199
|
+
- url: /lms/courses/:id/structure/sessions/:sessionId/lessons/paste
|
|
200
|
+
method: POST
|
|
201
|
+
relations:
|
|
202
|
+
role:
|
|
203
|
+
- where:
|
|
204
|
+
slug: admin
|
|
205
|
+
- where:
|
|
206
|
+
slug: admin-lms
|
|
207
|
+
|
|
208
|
+
- url: /lms/courses/:id/structure/sessions/:sessionId/lessons/:lessonId/duplicate
|
|
209
|
+
method: POST
|
|
210
|
+
relations:
|
|
211
|
+
role:
|
|
212
|
+
- where:
|
|
213
|
+
slug: admin
|
|
214
|
+
- where:
|
|
215
|
+
slug: admin-lms
|
|
216
|
+
|
|
163
217
|
- url: /lms/instructors
|
|
164
218
|
method: GET
|
|
165
219
|
relations:
|
|
@@ -565,7 +619,7 @@
|
|
|
565
619
|
- where:
|
|
566
620
|
slug: admin-lms
|
|
567
621
|
|
|
568
|
-
- url: /lms/
|
|
622
|
+
- url: /lms/paths
|
|
569
623
|
method: GET
|
|
570
624
|
relations:
|
|
571
625
|
role:
|
|
@@ -574,7 +628,7 @@
|
|
|
574
628
|
- where:
|
|
575
629
|
slug: admin-lms
|
|
576
630
|
|
|
577
|
-
- url: /lms/
|
|
631
|
+
- url: /lms/paths/stats
|
|
578
632
|
method: GET
|
|
579
633
|
relations:
|
|
580
634
|
role:
|
|
@@ -583,7 +637,7 @@
|
|
|
583
637
|
- where:
|
|
584
638
|
slug: admin-lms
|
|
585
639
|
|
|
586
|
-
- url: /lms/
|
|
640
|
+
- url: /lms/paths/:id
|
|
587
641
|
method: GET
|
|
588
642
|
relations:
|
|
589
643
|
role:
|
|
@@ -592,7 +646,7 @@
|
|
|
592
646
|
- where:
|
|
593
647
|
slug: admin-lms
|
|
594
648
|
|
|
595
|
-
- url: /lms/
|
|
649
|
+
- url: /lms/paths
|
|
596
650
|
method: POST
|
|
597
651
|
relations:
|
|
598
652
|
role:
|
|
@@ -601,7 +655,7 @@
|
|
|
601
655
|
- where:
|
|
602
656
|
slug: admin-lms
|
|
603
657
|
|
|
604
|
-
- url: /lms/
|
|
658
|
+
- url: /lms/paths/:id
|
|
605
659
|
method: PATCH
|
|
606
660
|
relations:
|
|
607
661
|
role:
|
|
@@ -610,7 +664,7 @@
|
|
|
610
664
|
- where:
|
|
611
665
|
slug: admin-lms
|
|
612
666
|
|
|
613
|
-
- url: /lms/
|
|
667
|
+
- url: /lms/paths/:id
|
|
614
668
|
method: DELETE
|
|
615
669
|
relations:
|
|
616
670
|
role:
|