@hed-hog/core 0.0.295 → 0.0.297

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 (146) hide show
  1. package/dist/auth/auth.controller.d.ts +5 -5
  2. package/dist/auth/auth.service.d.ts +5 -5
  3. package/dist/challenge/challenge.service.d.ts +2 -2
  4. package/dist/core.module.d.ts.map +1 -1
  5. package/dist/core.module.js +4 -1
  6. package/dist/core.module.js.map +1 -1
  7. package/dist/dashboard/dashboard-core/dashboard-core.controller.d.ts +1 -1
  8. package/dist/dashboard/dashboard-core/dashboard-core.service.d.ts +2 -2
  9. package/dist/index.d.ts +13 -0
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +14 -0
  12. package/dist/index.js.map +1 -1
  13. package/dist/integration/index.d.ts +4 -0
  14. package/dist/integration/index.d.ts.map +1 -0
  15. package/dist/integration/index.js +20 -0
  16. package/dist/integration/index.js.map +1 -0
  17. package/dist/integration/integration-api.validation.d.ts +2 -0
  18. package/dist/integration/integration-api.validation.d.ts.map +1 -0
  19. package/dist/integration/integration-api.validation.js +126 -0
  20. package/dist/integration/integration-api.validation.js.map +1 -0
  21. package/dist/integration/integration.module.d.ts +3 -0
  22. package/dist/integration/integration.module.d.ts.map +1 -0
  23. package/dist/integration/integration.module.js +54 -0
  24. package/dist/integration/integration.module.js.map +1 -0
  25. package/dist/integration/services/domain-event.publisher.d.ts +31 -0
  26. package/dist/integration/services/domain-event.publisher.d.ts.map +1 -0
  27. package/dist/integration/services/domain-event.publisher.js +79 -0
  28. package/dist/integration/services/domain-event.publisher.js.map +1 -0
  29. package/dist/integration/services/event-subscriber.registry.d.ts +37 -0
  30. package/dist/integration/services/event-subscriber.registry.d.ts.map +1 -0
  31. package/dist/integration/services/event-subscriber.registry.js +86 -0
  32. package/dist/integration/services/event-subscriber.registry.js.map +1 -0
  33. package/dist/integration/services/inbox.service.d.ts +55 -0
  34. package/dist/integration/services/inbox.service.d.ts.map +1 -0
  35. package/dist/integration/services/inbox.service.js +173 -0
  36. package/dist/integration/services/inbox.service.js.map +1 -0
  37. package/dist/integration/services/index.d.ts +12 -0
  38. package/dist/integration/services/index.d.ts.map +1 -0
  39. package/dist/integration/services/index.js +28 -0
  40. package/dist/integration/services/index.js.map +1 -0
  41. package/dist/integration/services/integration-developer-api.service.d.ts +30 -0
  42. package/dist/integration/services/integration-developer-api.service.d.ts.map +1 -0
  43. package/dist/integration/services/integration-developer-api.service.js +55 -0
  44. package/dist/integration/services/integration-developer-api.service.js.map +1 -0
  45. package/dist/integration/services/integration-link.service.d.ts +52 -0
  46. package/dist/integration/services/integration-link.service.d.ts.map +1 -0
  47. package/dist/integration/services/integration-link.service.js +128 -0
  48. package/dist/integration/services/integration-link.service.js.map +1 -0
  49. package/dist/integration/services/integration-settings.service.d.ts +23 -0
  50. package/dist/integration/services/integration-settings.service.d.ts.map +1 -0
  51. package/dist/integration/services/integration-settings.service.js +81 -0
  52. package/dist/integration/services/integration-settings.service.js.map +1 -0
  53. package/dist/integration/services/outbox-polling.coordinator.d.ts +45 -0
  54. package/dist/integration/services/outbox-polling.coordinator.d.ts.map +1 -0
  55. package/dist/integration/services/outbox-polling.coordinator.js +143 -0
  56. package/dist/integration/services/outbox-polling.coordinator.js.map +1 -0
  57. package/dist/integration/services/outbox.notifier.d.ts +30 -0
  58. package/dist/integration/services/outbox.notifier.d.ts.map +1 -0
  59. package/dist/integration/services/outbox.notifier.js +57 -0
  60. package/dist/integration/services/outbox.notifier.js.map +1 -0
  61. package/dist/integration/services/outbox.processor.d.ts +42 -0
  62. package/dist/integration/services/outbox.processor.d.ts.map +1 -0
  63. package/dist/integration/services/outbox.processor.job.d.ts +43 -0
  64. package/dist/integration/services/outbox.processor.job.d.ts.map +1 -0
  65. package/dist/integration/services/outbox.processor.job.js +100 -0
  66. package/dist/integration/services/outbox.processor.job.js.map +1 -0
  67. package/dist/integration/services/outbox.processor.js +208 -0
  68. package/dist/integration/services/outbox.processor.js.map +1 -0
  69. package/dist/integration/services/outbox.service.d.ts +53 -0
  70. package/dist/integration/services/outbox.service.d.ts.map +1 -0
  71. package/dist/integration/services/outbox.service.js +149 -0
  72. package/dist/integration/services/outbox.service.js.map +1 -0
  73. package/dist/integration/types/event.types.d.ts +88 -0
  74. package/dist/integration/types/event.types.d.ts.map +1 -0
  75. package/dist/integration/types/event.types.js +35 -0
  76. package/dist/integration/types/event.types.js.map +1 -0
  77. package/dist/integration/types/index.d.ts +3 -0
  78. package/dist/integration/types/index.d.ts.map +1 -0
  79. package/dist/integration/types/index.js +19 -0
  80. package/dist/integration/types/index.js.map +1 -0
  81. package/dist/integration/types/subscriber.types.d.ts +31 -0
  82. package/dist/integration/types/subscriber.types.d.ts.map +1 -0
  83. package/dist/integration/types/subscriber.types.js +3 -0
  84. package/dist/integration/types/subscriber.types.js.map +1 -0
  85. package/dist/oauth/oauth.controller.js.map +1 -1
  86. package/dist/oauth/oauth.service.d.ts +3 -3
  87. package/dist/oauth/oauth.service.d.ts.map +1 -1
  88. package/dist/oauth/oauth.service.js.map +1 -1
  89. package/dist/profile/profile.controller.d.ts +6 -6
  90. package/dist/profile/profile.service.d.ts +6 -6
  91. package/dist/session/session.controller.d.ts +2 -2
  92. package/dist/session/session.service.d.ts +3 -3
  93. package/dist/setting/setting.controller.d.ts +13 -9
  94. package/dist/setting/setting.controller.d.ts.map +1 -1
  95. package/dist/setting/setting.service.d.ts +14 -10
  96. package/dist/setting/setting.service.d.ts.map +1 -1
  97. package/dist/setting/setting.service.js +21 -1
  98. package/dist/setting/setting.service.js.map +1 -1
  99. package/dist/user/user.controller.d.ts +6 -6
  100. package/dist/user/user.service.d.ts +12 -12
  101. package/hedhog/data/dashboard_component_role.yaml +223 -223
  102. package/hedhog/data/dashboard_role.yaml +18 -18
  103. package/hedhog/data/route.yaml +2 -0
  104. package/hedhog/data/setting_group.yaml +955 -470
  105. package/hedhog/data/setting_subgroup.yaml +303 -0
  106. package/hedhog/frontend/app/configurations/[slug]/components/setting-field.tsx.ejs +44 -18
  107. package/hedhog/frontend/app/configurations/[slug]/page.tsx.ejs +134 -27
  108. package/hedhog/frontend/app/configurations/layout.tsx.ejs +84 -23
  109. package/hedhog/frontend/app/dashboard/components/widgets/permissions-chart.tsx.ejs +62 -62
  110. package/hedhog/frontend/app/dashboard/page.tsx.ejs +29 -29
  111. package/hedhog/frontend/app/preferences/page.tsx.ejs +2 -5
  112. package/hedhog/table/inbox_event.yaml +40 -0
  113. package/hedhog/table/integration_link.yaml +33 -0
  114. package/hedhog/table/outbox_event.yaml +45 -0
  115. package/hedhog/table/setting.yaml +7 -0
  116. package/hedhog/table/setting_subgroup.yaml +19 -0
  117. package/package.json +8 -8
  118. package/src/ai/ai.service.ts +3 -3
  119. package/src/auth/auth.controller.ts +11 -11
  120. package/src/auth/auth.service.ts +8 -8
  121. package/src/core.module.ts +4 -1
  122. package/src/index.ts +15 -0
  123. package/src/integration/README.md +397 -0
  124. package/src/integration/USAGE_EXAMPLE.md +279 -0
  125. package/src/integration/index.ts +4 -0
  126. package/src/integration/integration-api.validation.ts +154 -0
  127. package/src/integration/integration.module.ts +53 -0
  128. package/src/integration/services/domain-event.publisher.ts +136 -0
  129. package/src/integration/services/event-subscriber.registry.ts +89 -0
  130. package/src/integration/services/inbox.service.ts +218 -0
  131. package/src/integration/services/index.ts +12 -0
  132. package/src/integration/services/integration-developer-api.service.ts +96 -0
  133. package/src/integration/services/integration-link.service.ts +154 -0
  134. package/src/integration/services/integration-settings.service.ts +128 -0
  135. package/src/integration/services/outbox-polling.coordinator.ts +146 -0
  136. package/src/integration/services/outbox.notifier.ts +48 -0
  137. package/src/integration/services/outbox.processor.job.ts +97 -0
  138. package/src/integration/services/outbox.processor.ts +266 -0
  139. package/src/integration/services/outbox.service.ts +209 -0
  140. package/src/integration/types/event.types.ts +93 -0
  141. package/src/integration/types/index.ts +3 -0
  142. package/src/integration/types/subscriber.types.ts +37 -0
  143. package/src/oauth/oauth.controller.ts +17 -17
  144. package/src/oauth/oauth.service.ts +20 -20
  145. package/src/setting/setting.service.ts +27 -2
  146. package/src/task/task.service.ts +5 -5
@@ -1,223 +1,223 @@
1
- - component_id:
2
- where:
3
- slug: active-users-card
4
- role_id:
5
- where:
6
- slug: admin-access
7
- - component_id:
8
- where:
9
- slug: mail-sent-card
10
- role_id:
11
- where:
12
- slug: admin-access
13
- - component_id:
14
- where:
15
- slug: mail-sent-chart
16
- role_id:
17
- where:
18
- slug: admin-access
19
- - component_id:
20
- where:
21
- slug: permissions-card
22
- role_id:
23
- where:
24
- slug: admin-access
25
- - component_id:
26
- where:
27
- slug: permissions-chart
28
- role_id:
29
- where:
30
- slug: admin-access
31
- - component_id:
32
- where:
33
- slug: session-activity-chart
34
- role_id:
35
- where:
36
- slug: admin-access
37
- - component_id:
38
- where:
39
- slug: sessions-today-card
40
- role_id:
41
- where:
42
- slug: admin-access
43
- - component_id:
44
- where:
45
- slug: menus-card
46
- role_id:
47
- where:
48
- slug: admin-access
49
- - component_id:
50
- where:
51
- slug: routes-card
52
- role_id:
53
- where:
54
- slug: admin-access
55
- - component_id:
56
- where:
57
- slug: user-growth-chart
58
- role_id:
59
- where:
60
- slug: admin-access
61
- - component_id:
62
- where:
63
- slug: account-security
64
- role_id:
65
- where:
66
- slug: user
67
- - component_id:
68
- where:
69
- slug: account-security
70
- role_id:
71
- where:
72
- slug: admin-access
73
- - component_id:
74
- where:
75
- slug: activity-timeline
76
- role_id:
77
- where:
78
- slug: user
79
- - component_id:
80
- where:
81
- slug: activity-timeline
82
- role_id:
83
- where:
84
- slug: admin-access
85
- - component_id:
86
- where:
87
- slug: email-notifications
88
- role_id:
89
- where:
90
- slug: user
91
- - component_id:
92
- where:
93
- slug: email-notifications
94
- role_id:
95
- where:
96
- slug: admin-access
97
- - component_id:
98
- where:
99
- slug: login-history-chart
100
- role_id:
101
- where:
102
- slug: user
103
- - component_id:
104
- where:
105
- slug: login-history-chart
106
- role_id:
107
- where:
108
- slug: admin-access
109
- - component_id:
110
- where:
111
- slug: profile-card
112
- role_id:
113
- where:
114
- slug: user
115
- - component_id:
116
- where:
117
- slug: profile-card
118
- role_id:
119
- where:
120
- slug: admin-access
121
- - component_id:
122
- where:
123
- slug: stat-online-time
124
- role_id:
125
- where:
126
- slug: user
127
- - component_id:
128
- where:
129
- slug: stat-online-time
130
- role_id:
131
- where:
132
- slug: admin-access
133
- - component_id:
134
- where:
135
- slug: stat-actions-today
136
- role_id:
137
- where:
138
- slug: user
139
- - component_id:
140
- where:
141
- slug: stat-actions-today
142
- role_id:
143
- where:
144
- slug: admin-access
145
- - component_id:
146
- where:
147
- slug: stat-consecutive-days
148
- role_id:
149
- where:
150
- slug: user
151
- - component_id:
152
- where:
153
- slug: stat-consecutive-days
154
- role_id:
155
- where:
156
- slug: admin-access
157
- - component_id:
158
- where:
159
- slug: stat-access-level
160
- role_id:
161
- where:
162
- slug: user
163
- - component_id:
164
- where:
165
- slug: stat-access-level
166
- role_id:
167
- where:
168
- slug: admin-access
169
- - component_id:
170
- where:
171
- slug: user-roles
172
- role_id:
173
- where:
174
- slug: user
175
- - component_id:
176
- where:
177
- slug: user-roles
178
- role_id:
179
- where:
180
- slug: admin-access
181
- - component_id:
182
- where:
183
- slug: user-sessions
184
- role_id:
185
- where:
186
- slug: user
187
- - component_id:
188
- where:
189
- slug: user-sessions
190
- role_id:
191
- where:
192
- slug: admin-access
193
-
194
- - component_id:
195
- where:
196
- slug: mail-config
197
- role_id:
198
- where:
199
- slug: admin
200
- - component_id:
201
- where:
202
- slug: locale-config
203
- role_id:
204
- where:
205
- slug: admin
206
- - component_id:
207
- where:
208
- slug: oauth-config
209
- role_id:
210
- where:
211
- slug: admin
212
- - component_id:
213
- where:
214
- slug: storage-config
215
- role_id:
216
- where:
217
- slug: admin
218
- - component_id:
219
- where:
220
- slug: theme-config
221
- role_id:
222
- where:
223
- slug: admin
1
+ - component_id:
2
+ where:
3
+ slug: active-users-card
4
+ role_id:
5
+ where:
6
+ slug: admin-access
7
+ - component_id:
8
+ where:
9
+ slug: mail-sent-card
10
+ role_id:
11
+ where:
12
+ slug: admin-access
13
+ - component_id:
14
+ where:
15
+ slug: mail-sent-chart
16
+ role_id:
17
+ where:
18
+ slug: admin-access
19
+ - component_id:
20
+ where:
21
+ slug: permissions-card
22
+ role_id:
23
+ where:
24
+ slug: admin-access
25
+ - component_id:
26
+ where:
27
+ slug: permissions-chart
28
+ role_id:
29
+ where:
30
+ slug: admin-access
31
+ - component_id:
32
+ where:
33
+ slug: session-activity-chart
34
+ role_id:
35
+ where:
36
+ slug: admin-access
37
+ - component_id:
38
+ where:
39
+ slug: sessions-today-card
40
+ role_id:
41
+ where:
42
+ slug: admin-access
43
+ - component_id:
44
+ where:
45
+ slug: menus-card
46
+ role_id:
47
+ where:
48
+ slug: admin-access
49
+ - component_id:
50
+ where:
51
+ slug: routes-card
52
+ role_id:
53
+ where:
54
+ slug: admin-access
55
+ - component_id:
56
+ where:
57
+ slug: user-growth-chart
58
+ role_id:
59
+ where:
60
+ slug: admin-access
61
+ - component_id:
62
+ where:
63
+ slug: account-security
64
+ role_id:
65
+ where:
66
+ slug: user
67
+ - component_id:
68
+ where:
69
+ slug: account-security
70
+ role_id:
71
+ where:
72
+ slug: admin-access
73
+ - component_id:
74
+ where:
75
+ slug: activity-timeline
76
+ role_id:
77
+ where:
78
+ slug: user
79
+ - component_id:
80
+ where:
81
+ slug: activity-timeline
82
+ role_id:
83
+ where:
84
+ slug: admin-access
85
+ - component_id:
86
+ where:
87
+ slug: email-notifications
88
+ role_id:
89
+ where:
90
+ slug: user
91
+ - component_id:
92
+ where:
93
+ slug: email-notifications
94
+ role_id:
95
+ where:
96
+ slug: admin-access
97
+ - component_id:
98
+ where:
99
+ slug: login-history-chart
100
+ role_id:
101
+ where:
102
+ slug: user
103
+ - component_id:
104
+ where:
105
+ slug: login-history-chart
106
+ role_id:
107
+ where:
108
+ slug: admin-access
109
+ - component_id:
110
+ where:
111
+ slug: profile-card
112
+ role_id:
113
+ where:
114
+ slug: user
115
+ - component_id:
116
+ where:
117
+ slug: profile-card
118
+ role_id:
119
+ where:
120
+ slug: admin-access
121
+ - component_id:
122
+ where:
123
+ slug: stat-online-time
124
+ role_id:
125
+ where:
126
+ slug: user
127
+ - component_id:
128
+ where:
129
+ slug: stat-online-time
130
+ role_id:
131
+ where:
132
+ slug: admin-access
133
+ - component_id:
134
+ where:
135
+ slug: stat-actions-today
136
+ role_id:
137
+ where:
138
+ slug: user
139
+ - component_id:
140
+ where:
141
+ slug: stat-actions-today
142
+ role_id:
143
+ where:
144
+ slug: admin-access
145
+ - component_id:
146
+ where:
147
+ slug: stat-consecutive-days
148
+ role_id:
149
+ where:
150
+ slug: user
151
+ - component_id:
152
+ where:
153
+ slug: stat-consecutive-days
154
+ role_id:
155
+ where:
156
+ slug: admin-access
157
+ - component_id:
158
+ where:
159
+ slug: stat-access-level
160
+ role_id:
161
+ where:
162
+ slug: user
163
+ - component_id:
164
+ where:
165
+ slug: stat-access-level
166
+ role_id:
167
+ where:
168
+ slug: admin-access
169
+ - component_id:
170
+ where:
171
+ slug: user-roles
172
+ role_id:
173
+ where:
174
+ slug: user
175
+ - component_id:
176
+ where:
177
+ slug: user-roles
178
+ role_id:
179
+ where:
180
+ slug: admin-access
181
+ - component_id:
182
+ where:
183
+ slug: user-sessions
184
+ role_id:
185
+ where:
186
+ slug: user
187
+ - component_id:
188
+ where:
189
+ slug: user-sessions
190
+ role_id:
191
+ where:
192
+ slug: admin-access
193
+
194
+ - component_id:
195
+ where:
196
+ slug: mail-config
197
+ role_id:
198
+ where:
199
+ slug: admin
200
+ - component_id:
201
+ where:
202
+ slug: locale-config
203
+ role_id:
204
+ where:
205
+ slug: admin
206
+ - component_id:
207
+ where:
208
+ slug: oauth-config
209
+ role_id:
210
+ where:
211
+ slug: admin
212
+ - component_id:
213
+ where:
214
+ slug: storage-config
215
+ role_id:
216
+ where:
217
+ slug: admin
218
+ - component_id:
219
+ where:
220
+ slug: theme-config
221
+ role_id:
222
+ where:
223
+ slug: admin
@@ -4,21 +4,21 @@
4
4
  role_id:
5
5
  where:
6
6
  slug: admin-access
7
- - dashboard_id:
8
- where:
9
- slug: user
10
- role_id:
11
- where:
12
- slug: user
13
- - dashboard_id:
14
- where:
15
- slug: user
16
- role_id:
17
- where:
18
- slug: admin-access
19
- - dashboard_id:
20
- where:
21
- slug: config
22
- role_id:
23
- where:
24
- slug: admin
7
+ - dashboard_id:
8
+ where:
9
+ slug: user
10
+ role_id:
11
+ where:
12
+ slug: user
13
+ - dashboard_id:
14
+ where:
15
+ slug: user
16
+ role_id:
17
+ where:
18
+ slug: admin-access
19
+ - dashboard_id:
20
+ where:
21
+ slug: config
22
+ role_id:
23
+ where:
24
+ slug: admin
@@ -746,6 +746,8 @@
746
746
  role:
747
747
  - where:
748
748
  slug: user
749
+ - where:
750
+ slug: admin-access
749
751
  - url: /dashboard-core/widget/:slug
750
752
  method: POST
751
753
  relations: