@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.
Files changed (130) hide show
  1. package/dist/course/course-structure.controller.d.ts +60 -0
  2. package/dist/course/course-structure.controller.d.ts.map +1 -1
  3. package/dist/course/course-structure.controller.js +79 -0
  4. package/dist/course/course-structure.controller.js.map +1 -1
  5. package/dist/course/course-structure.service.d.ts +61 -1
  6. package/dist/course/course-structure.service.d.ts.map +1 -1
  7. package/dist/course/course-structure.service.js +326 -1
  8. package/dist/course/course-structure.service.js.map +1 -1
  9. package/dist/course/course.controller.d.ts +52 -4
  10. package/dist/course/course.controller.d.ts.map +1 -1
  11. package/dist/course/course.service.d.ts +52 -5
  12. package/dist/course/course.service.d.ts.map +1 -1
  13. package/dist/course/course.service.js +81 -60
  14. package/dist/course/course.service.js.map +1 -1
  15. package/dist/course/dto/create-course-structure-lesson.dto.d.ts.map +1 -1
  16. package/dist/course/dto/create-course-structure-lesson.dto.js +5 -1
  17. package/dist/course/dto/create-course-structure-lesson.dto.js.map +1 -1
  18. package/dist/course/dto/create-course.dto.d.ts +1 -1
  19. package/dist/course/dto/create-course.dto.d.ts.map +1 -1
  20. package/dist/course/dto/create-course.dto.js +4 -1
  21. package/dist/course/dto/create-course.dto.js.map +1 -1
  22. package/dist/course/dto/move-lesson.dto.d.ts +10 -0
  23. package/dist/course/dto/move-lesson.dto.d.ts.map +1 -0
  24. package/dist/{enterprise/dto/add-enterprise-lead.dto.js → course/dto/move-lesson.dto.js} +12 -6
  25. package/dist/course/dto/move-lesson.dto.js.map +1 -0
  26. package/dist/course/dto/paste-lessons.dto.d.ts +4 -0
  27. package/dist/course/dto/paste-lessons.dto.d.ts.map +1 -0
  28. package/dist/course/dto/paste-lessons.dto.js +24 -0
  29. package/dist/course/dto/paste-lessons.dto.js.map +1 -0
  30. package/dist/course/dto/reorder-lessons.dto.d.ts +5 -0
  31. package/dist/course/dto/reorder-lessons.dto.d.ts.map +1 -0
  32. package/dist/course/dto/reorder-lessons.dto.js +24 -0
  33. package/dist/course/dto/reorder-lessons.dto.js.map +1 -0
  34. package/dist/course/dto/reorder-sessions.dto.d.ts +5 -0
  35. package/dist/course/dto/reorder-sessions.dto.d.ts.map +1 -0
  36. package/dist/course/dto/reorder-sessions.dto.js +24 -0
  37. package/dist/course/dto/reorder-sessions.dto.js.map +1 -0
  38. package/dist/training/training.controller.js +1 -1
  39. package/dist/training/training.controller.js.map +1 -1
  40. package/hedhog/data/dashboard_component.yaml +152 -152
  41. package/hedhog/data/dashboard_item.yaml +166 -166
  42. package/hedhog/data/image_type.yaml +20 -0
  43. package/hedhog/data/menu.yaml +2 -2
  44. package/hedhog/data/route.yaml +60 -6
  45. package/hedhog/frontend/app/_components/class-form-sheet.tsx.ejs +146 -165
  46. package/hedhog/frontend/app/_components/course-avatar.tsx.ejs +70 -0
  47. package/hedhog/frontend/app/_components/course-form-sheet.tsx.ejs +372 -22
  48. package/hedhog/frontend/app/classes/[id]/page.tsx.ejs +437 -77
  49. package/hedhog/frontend/app/classes/page.tsx.ejs +311 -289
  50. package/hedhog/frontend/app/courses/[id]/_components/CourseCertificateCard.tsx.ejs +10 -7
  51. package/hedhog/frontend/app/courses/[id]/_components/CourseClassificationCard.tsx.ejs +23 -32
  52. package/hedhog/frontend/app/courses/[id]/_components/CourseContentCard.tsx.ejs +3 -9
  53. package/hedhog/frontend/app/courses/[id]/_components/CourseDangerZoneCard.tsx.ejs +26 -16
  54. package/hedhog/frontend/app/courses/[id]/_components/CourseFlagsCard.tsx.ejs +19 -5
  55. package/hedhog/frontend/app/courses/[id]/_components/CourseMainInfoCard.tsx.ejs +10 -14
  56. package/hedhog/frontend/app/courses/[id]/_components/CourseMediaCard.tsx.ejs +131 -107
  57. package/hedhog/frontend/app/courses/[id]/_components/CourseRelationsCard.tsx.ejs +10 -7
  58. package/hedhog/frontend/app/courses/[id]/_components/CourseSectionCard.tsx.ejs +38 -19
  59. package/hedhog/frontend/app/courses/[id]/_components/CourseSummaryCard.tsx.ejs +1 -1
  60. package/hedhog/frontend/app/courses/[id]/_components/course-edit-types.ts.ejs +1 -1
  61. package/hedhog/frontend/app/courses/[id]/page.tsx.ejs +336 -1057
  62. package/hedhog/frontend/app/courses/[id]/structure/_components/confirm-dialog.tsx.ejs +45 -0
  63. package/hedhog/frontend/app/courses/[id]/structure/_components/course-tree-dnd.tsx.ejs +362 -0
  64. package/hedhog/frontend/app/courses/[id]/structure/_components/course-tree-panel.tsx.ejs +111 -0
  65. package/hedhog/frontend/app/courses/[id]/structure/_components/course-tree-skeleton.tsx.ejs +64 -0
  66. package/hedhog/frontend/app/courses/[id]/structure/_components/course-tree.tsx.ejs +134 -0
  67. package/hedhog/frontend/app/courses/[id]/structure/_components/detail-course.tsx.ejs +113 -0
  68. package/hedhog/frontend/app/courses/[id]/structure/_components/detail-lesson.tsx.ejs +314 -0
  69. package/hedhog/frontend/app/courses/[id]/structure/_components/detail-panel.tsx.ejs +62 -0
  70. package/hedhog/frontend/app/courses/[id]/structure/_components/detail-session.tsx.ejs +174 -0
  71. package/hedhog/frontend/app/courses/[id]/structure/_components/drag-handle.tsx.ejs +58 -0
  72. package/hedhog/frontend/app/courses/[id]/structure/_components/drag-overlay.tsx.ejs +52 -0
  73. package/hedhog/frontend/app/courses/[id]/structure/_components/editor-bulk.tsx.ejs +276 -0
  74. package/hedhog/frontend/app/courses/[id]/structure/_components/editor-course.tsx.ejs +1216 -0
  75. package/hedhog/frontend/app/courses/[id]/structure/_components/editor-lesson.tsx.ejs +1827 -0
  76. package/hedhog/frontend/app/courses/[id]/structure/_components/editor-session.tsx.ejs +443 -0
  77. package/hedhog/frontend/app/courses/[id]/structure/_components/highlighted-text.tsx.ejs +41 -0
  78. package/hedhog/frontend/app/courses/[id]/structure/_components/mock-data.ts.ejs +184 -0
  79. package/hedhog/frontend/app/courses/[id]/structure/_components/multi-select-bar.tsx.ejs +264 -0
  80. package/hedhog/frontend/app/courses/[id]/structure/_components/search-filter.tsx.ejs +96 -0
  81. package/hedhog/frontend/app/courses/[id]/structure/_components/session-picker-dialog.tsx.ejs +74 -0
  82. package/hedhog/frontend/app/courses/[id]/structure/_components/shortcuts-help.tsx.ejs +136 -0
  83. package/hedhog/frontend/app/courses/[id]/structure/_components/sortable-tree-row.tsx.ejs +80 -0
  84. package/hedhog/frontend/app/courses/[id]/structure/_components/store.ts.ejs +948 -0
  85. package/hedhog/frontend/app/courses/[id]/structure/_components/tree-context-menu.tsx.ejs +525 -0
  86. package/hedhog/frontend/app/courses/[id]/structure/_components/tree-display-settings-popover.tsx.ejs +150 -0
  87. package/hedhog/frontend/app/courses/[id]/structure/_components/tree-helpers.ts.ejs +182 -0
  88. package/hedhog/frontend/app/courses/[id]/structure/_components/tree-row-course.tsx.ejs +52 -0
  89. package/hedhog/frontend/app/courses/[id]/structure/_components/tree-row-lesson.tsx.ejs +271 -0
  90. package/hedhog/frontend/app/courses/[id]/structure/_components/tree-row-session.tsx.ejs +167 -0
  91. package/hedhog/frontend/app/courses/[id]/structure/_components/tree-row.tsx.ejs +108 -0
  92. package/hedhog/frontend/app/courses/[id]/structure/_components/types.ts.ejs +122 -0
  93. package/hedhog/frontend/app/courses/[id]/structure/_components/use-course-structure-shortcuts.ts.ejs +318 -0
  94. package/hedhog/frontend/app/courses/[id]/structure/_components/use-tree-display-settings.ts.ejs +97 -0
  95. package/hedhog/frontend/app/courses/[id]/structure/_data/adapters/course-structure.adapter.ts.ejs +347 -0
  96. package/hedhog/frontend/app/courses/[id]/structure/_data/course-structure-contract.ts.ejs +195 -0
  97. package/hedhog/frontend/app/courses/[id]/structure/_data/services/course-structure.service.ts.ejs +420 -0
  98. package/hedhog/frontend/app/courses/[id]/structure/_data/types/api-course.types.ts.ejs +254 -0
  99. package/hedhog/frontend/app/courses/[id]/structure/_data/use-course-structure-mutations.ts.ejs +987 -0
  100. package/hedhog/frontend/app/courses/[id]/structure/_data/use-course-structure-query.ts.ejs +86 -0
  101. package/hedhog/frontend/app/courses/[id]/structure/_data/use-course-structure.ts.ejs +160 -0
  102. package/hedhog/frontend/app/courses/[id]/structure/page.tsx.ejs +10 -3212
  103. package/hedhog/frontend/app/courses/page.tsx.ejs +45 -26
  104. package/hedhog/frontend/app/enterprise/[id]/page.tsx.ejs +317 -317
  105. package/hedhog/frontend/app/enterprise/_components/enterprise-class-create-sheet.tsx.ejs +1 -0
  106. package/hedhog/frontend/app/enterprise/_components/enterprise-mocks.ts.ejs +12 -1
  107. package/hedhog/frontend/app/enterprise/_components/enterprise-related-tab.tsx.ejs +44 -7
  108. package/hedhog/frontend/app/enterprise/_components/enterprise-types.ts.ejs +96 -96
  109. package/hedhog/frontend/app/page.tsx.ejs +5 -5
  110. package/hedhog/frontend/app/{training → paths}/page.tsx.ejs +29 -7
  111. package/hedhog/frontend/messages/en.json +88 -10
  112. package/hedhog/frontend/messages/pt.json +88 -10
  113. package/hedhog/table/course.yaml +16 -16
  114. package/hedhog/table/image_type.yaml +14 -0
  115. package/package.json +6 -6
  116. package/src/class-group/class-group.service.ts +413 -413
  117. package/src/class-group/dto/create-class-group.dto.ts +77 -77
  118. package/src/course/course-structure.controller.ts +63 -0
  119. package/src/course/course-structure.service.ts +390 -3
  120. package/src/course/course.service.ts +214 -182
  121. package/src/course/dto/create-course-structure-lesson.dto.ts +3 -2
  122. package/src/course/dto/create-course.dto.ts +19 -16
  123. package/src/course/dto/move-lesson.dto.ts +17 -0
  124. package/src/course/dto/paste-lessons.dto.ts +9 -0
  125. package/src/course/dto/reorder-lessons.dto.ts +10 -0
  126. package/src/course/dto/reorder-sessions.dto.ts +10 -0
  127. package/src/training/training.controller.ts +1 -1
  128. package/dist/enterprise/dto/add-enterprise-lead.dto.d.ts +0 -4
  129. package/dist/enterprise/dto/add-enterprise-lead.dto.d.ts.map +0 -1
  130. 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
@@ -44,7 +44,7 @@
44
44
  - where:
45
45
  slug: admin-lms
46
46
 
47
- - url: /lms/training
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/training
55
+ slug: /lms/paths
56
56
 
57
57
  relations:
58
58
  role:
@@ -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/training
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/training/stats
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/training/:id
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/training
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/training/:id
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/training/:id
667
+ - url: /lms/paths/:id
614
668
  method: DELETE
615
669
  relations:
616
670
  role: