@hed-hog/operations 0.0.295 → 0.0.296

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 (126) hide show
  1. package/dist/operations.controller.d.ts +415 -0
  2. package/dist/operations.controller.d.ts.map +1 -0
  3. package/dist/operations.controller.js +333 -0
  4. package/dist/operations.controller.js.map +1 -0
  5. package/dist/operations.module.d.ts.map +1 -1
  6. package/dist/operations.module.js +4 -3
  7. package/dist/operations.module.js.map +1 -1
  8. package/dist/operations.service.d.ts +589 -153
  9. package/dist/operations.service.d.ts.map +1 -1
  10. package/dist/operations.service.js +2229 -100
  11. package/dist/operations.service.js.map +1 -1
  12. package/hedhog/data/menu.yaml +198 -251
  13. package/hedhog/data/role.yaml +23 -14
  14. package/hedhog/data/route.yaml +317 -143
  15. package/hedhog/frontend/app/_components/collaborator-details-screen.tsx.ejs +310 -0
  16. package/hedhog/frontend/app/_components/collaborator-form-screen.tsx.ejs +631 -0
  17. package/hedhog/frontend/app/_components/contract-details-screen.tsx.ejs +132 -0
  18. package/hedhog/frontend/app/_components/contract-form-screen.tsx.ejs +558 -0
  19. package/hedhog/frontend/app/_components/project-details-screen.tsx.ejs +291 -0
  20. package/hedhog/frontend/app/_components/project-form-screen.tsx.ejs +689 -0
  21. package/hedhog/frontend/app/_lib/api.ts.ejs +32 -0
  22. package/hedhog/frontend/app/_lib/hooks/use-operations-access.ts.ejs +44 -0
  23. package/hedhog/frontend/app/_lib/types.ts.ejs +360 -0
  24. package/hedhog/frontend/app/_lib/utils/format.ts.ejs +129 -25
  25. package/hedhog/frontend/app/_lib/utils/forms.ts.ejs +14 -0
  26. package/hedhog/frontend/app/approvals/page.tsx.ejs +386 -147
  27. package/hedhog/frontend/app/collaborators/[id]/edit/page.tsx.ejs +11 -0
  28. package/hedhog/frontend/app/collaborators/[id]/page.tsx.ejs +11 -0
  29. package/hedhog/frontend/app/collaborators/new/page.tsx.ejs +5 -0
  30. package/hedhog/frontend/app/collaborators/page.tsx.ejs +261 -0
  31. package/hedhog/frontend/app/contracts/[id]/edit/page.tsx.ejs +11 -0
  32. package/hedhog/frontend/app/contracts/[id]/page.tsx.ejs +11 -108
  33. package/hedhog/frontend/app/contracts/new/page.tsx.ejs +17 -0
  34. package/hedhog/frontend/app/contracts/page.tsx.ejs +262 -181
  35. package/hedhog/frontend/app/page.tsx.ejs +319 -177
  36. package/hedhog/frontend/app/projects/[id]/edit/page.tsx.ejs +11 -0
  37. package/hedhog/frontend/app/projects/[id]/page.tsx.ejs +11 -936
  38. package/hedhog/frontend/app/projects/new/page.tsx.ejs +5 -0
  39. package/hedhog/frontend/app/projects/page.tsx.ejs +236 -1074
  40. package/hedhog/frontend/app/schedule-adjustments/page.tsx.ejs +418 -0
  41. package/hedhog/frontend/app/team/page.tsx.ejs +339 -0
  42. package/hedhog/frontend/app/time-off/page.tsx.ejs +328 -0
  43. package/hedhog/frontend/app/timesheets/page.tsx.ejs +636 -126
  44. package/hedhog/frontend/messages/en.json +648 -454
  45. package/hedhog/frontend/messages/pt.json +647 -454
  46. package/hedhog/table/operations_approval.yaml +49 -0
  47. package/hedhog/table/operations_approval_history.yaml +29 -0
  48. package/hedhog/table/{operations_employee.yaml → operations_collaborator.yaml} +67 -64
  49. package/hedhog/table/operations_collaborator_schedule_day.yaml +34 -0
  50. package/hedhog/table/operations_contract.yaml +100 -48
  51. package/hedhog/table/operations_contract_document.yaml +39 -0
  52. package/hedhog/table/operations_contract_financial_term.yaml +40 -0
  53. package/hedhog/table/operations_contract_history.yaml +27 -0
  54. package/hedhog/table/operations_contract_party.yaml +46 -0
  55. package/hedhog/table/operations_contract_revision.yaml +38 -0
  56. package/hedhog/table/operations_contract_signature.yaml +38 -0
  57. package/hedhog/table/operations_project.yaml +54 -50
  58. package/hedhog/table/{operations_allocation.yaml → operations_project_assignment.yaml} +55 -52
  59. package/hedhog/table/operations_schedule_adjustment_day.yaml +34 -0
  60. package/hedhog/table/operations_schedule_adjustment_request.yaml +53 -0
  61. package/hedhog/table/operations_time_off_request.yaml +57 -0
  62. package/hedhog/table/operations_timesheet.yaml +41 -36
  63. package/hedhog/table/operations_timesheet_entry.yaml +40 -50
  64. package/package.json +8 -7
  65. package/src/operations.controller.ts +182 -0
  66. package/src/operations.module.ts +22 -21
  67. package/src/operations.service.ts +3595 -137
  68. package/hedhog/data/operations_career_level.yaml +0 -102
  69. package/hedhog/data/operations_career_track.yaml +0 -8
  70. package/hedhog/data/operations_certification.yaml +0 -38
  71. package/hedhog/data/operations_evaluation_cycle.yaml +0 -18
  72. package/hedhog/data/operations_performance_criterion.yaml +0 -48
  73. package/hedhog/frontend/app/_components/allocation-calendar.tsx.ejs +0 -56
  74. package/hedhog/frontend/app/_components/kanban-board.tsx.ejs +0 -626
  75. package/hedhog/frontend/app/_components/timesheet-entry-dialog.tsx.ejs +0 -142
  76. package/hedhog/frontend/app/_lib/hooks/use-operations-data.ts.ejs +0 -41
  77. package/hedhog/frontend/app/_lib/hooks/use-operations-growth-data.ts.ejs +0 -63
  78. package/hedhog/frontend/app/_lib/mocks/allocations.mock.ts.ejs +0 -74
  79. package/hedhog/frontend/app/_lib/mocks/contracts.mock.ts.ejs +0 -74
  80. package/hedhog/frontend/app/_lib/mocks/operations-growth.mock.ts.ejs +0 -824
  81. package/hedhog/frontend/app/_lib/mocks/projects.mock.ts.ejs +0 -455
  82. package/hedhog/frontend/app/_lib/mocks/tasks.mock.ts.ejs +0 -117
  83. package/hedhog/frontend/app/_lib/mocks/timesheets.mock.ts.ejs +0 -84
  84. package/hedhog/frontend/app/_lib/mocks/users.mock.ts.ejs +0 -67
  85. package/hedhog/frontend/app/_lib/services/contracts.service.ts.ejs +0 -10
  86. package/hedhog/frontend/app/_lib/services/operations-growth.service.ts.ejs +0 -31
  87. package/hedhog/frontend/app/_lib/services/projects.service.ts.ejs +0 -10
  88. package/hedhog/frontend/app/_lib/services/tasks.service.ts.ejs +0 -10
  89. package/hedhog/frontend/app/_lib/services/timesheets.service.ts.ejs +0 -10
  90. package/hedhog/frontend/app/_lib/types/operations-growth.ts.ejs +0 -209
  91. package/hedhog/frontend/app/_lib/types/operations.ts.ejs +0 -156
  92. package/hedhog/frontend/app/_lib/utils/growth.ts.ejs +0 -62
  93. package/hedhog/frontend/app/_lib/utils/metrics.ts.ejs +0 -103
  94. package/hedhog/frontend/app/_lib/utils/status.ts.ejs +0 -80
  95. package/hedhog/frontend/app/allocations/page.tsx.ejs +0 -155
  96. package/hedhog/frontend/app/career/page.tsx.ejs +0 -143
  97. package/hedhog/frontend/app/certifications/page.tsx.ejs +0 -202
  98. package/hedhog/frontend/app/evaluations/page.tsx.ejs +0 -278
  99. package/hedhog/frontend/app/goals/page.tsx.ejs +0 -171
  100. package/hedhog/frontend/app/growth/page.tsx.ejs +0 -288
  101. package/hedhog/frontend/app/manager/page.tsx.ejs +0 -175
  102. package/hedhog/frontend/app/rewards/page.tsx.ejs +0 -196
  103. package/hedhog/frontend/app/tasks/page.tsx.ejs +0 -999
  104. package/hedhog/table/operations_calibration_item.yaml +0 -61
  105. package/hedhog/table/operations_calibration_session.yaml +0 -25
  106. package/hedhog/table/operations_career_level.yaml +0 -75
  107. package/hedhog/table/operations_career_track.yaml +0 -21
  108. package/hedhog/table/operations_certification.yaml +0 -48
  109. package/hedhog/table/operations_employee_certification.yaml +0 -43
  110. package/hedhog/table/operations_employee_connect.yaml +0 -61
  111. package/hedhog/table/operations_employee_evaluation.yaml +0 -113
  112. package/hedhog/table/operations_employee_evaluation_item.yaml +0 -39
  113. package/hedhog/table/operations_employee_profile.yaml +0 -80
  114. package/hedhog/table/operations_employee_skill_matrix.yaml +0 -30
  115. package/hedhog/table/operations_evaluation_cycle.yaml +0 -31
  116. package/hedhog/table/operations_goal.yaml +0 -67
  117. package/hedhog/table/operations_goal_progress.yaml +0 -31
  118. package/hedhog/table/operations_performance_criterion.yaml +0 -29
  119. package/hedhog/table/operations_promotion_readiness.yaml +0 -49
  120. package/hedhog/table/operations_promotion_recommendation.yaml +0 -63
  121. package/hedhog/table/operations_public_recognition.yaml +0 -46
  122. package/hedhog/table/operations_reward.yaml +0 -100
  123. package/hedhog/table/operations_score_event.yaml +0 -81
  124. package/hedhog/table/operations_task.yaml +0 -60
  125. package/src/operations-data.controller.ts +0 -54
  126. package/src/operations-growth.controller.ts +0 -44
@@ -1,143 +1,317 @@
1
- - url: /operations
2
- method: GET
3
- relations:
4
- role:
5
- - where:
6
- slug: admin
7
- - where:
8
- slug: admin-operations
9
-
10
- - url: /operations/contracts
11
- method: GET
12
- relations:
13
- role:
14
- - where:
15
- slug: admin
16
- - where:
17
- slug: admin-operations
18
-
19
- - url: /operations/contracts/:id
20
- method: GET
21
- relations:
22
- role:
23
- - where:
24
- slug: admin
25
- - where:
26
- slug: admin-operations
27
-
28
- - url: /operations/projects
29
- method: GET
30
- relations:
31
- role:
32
- - where:
33
- slug: admin
34
- - where:
35
- slug: admin-operations
36
-
37
- - url: /operations/projects/:id
38
- method: GET
39
- relations:
40
- role:
41
- - where:
42
- slug: admin
43
- - where:
44
- slug: admin-operations
45
-
46
- - url: /operations/allocations
47
- method: GET
48
- relations:
49
- role:
50
- - where:
51
- slug: admin
52
- - where:
53
- slug: admin-operations
54
-
55
- - url: /operations/tasks
56
- method: GET
57
- relations:
58
- role:
59
- - where:
60
- slug: admin
61
- - where:
62
- slug: admin-operations
63
-
64
- - url: /operations/timesheets
65
- method: GET
66
- relations:
67
- role:
68
- - where:
69
- slug: admin
70
- - where:
71
- slug: admin-operations
72
-
73
- - url: /operations/approvals
74
- method: GET
75
- relations:
76
- role:
77
- - where:
78
- slug: admin
79
- - where:
80
- slug: admin-operations
81
-
82
- - url: /operations/growth
83
- method: GET
84
- relations:
85
- role:
86
- - where:
87
- slug: admin
88
- - where:
89
- slug: admin-operations
90
-
91
- - url: /operations/evaluations
92
- method: GET
93
- relations:
94
- role:
95
- - where:
96
- slug: admin
97
- - where:
98
- slug: admin-operations
99
-
100
- - url: /operations/goals
101
- method: GET
102
- relations:
103
- role:
104
- - where:
105
- slug: admin
106
- - where:
107
- slug: admin-operations
108
-
109
- - url: /operations/certifications
110
- method: GET
111
- relations:
112
- role:
113
- - where:
114
- slug: admin
115
- - where:
116
- slug: admin-operations
117
-
118
- - url: /operations/rewards
119
- method: GET
120
- relations:
121
- role:
122
- - where:
123
- slug: admin
124
- - where:
125
- slug: admin-operations
126
-
127
- - url: /operations/career
128
- method: GET
129
- relations:
130
- role:
131
- - where:
132
- slug: admin
133
- - where:
134
- slug: admin-operations
135
-
136
- - url: /operations/manager
137
- method: GET
138
- relations:
139
- role:
140
- - where:
141
- slug: admin
142
- - where:
143
- slug: admin-operations
1
+ - url: /operations/dashboard
2
+ method: GET
3
+ relations:
4
+ role:
5
+ - where:
6
+ slug: admin
7
+ - where:
8
+ slug: admin-operations-collaborator
9
+ - where:
10
+ slug: admin-operations-supervisor
11
+ - where:
12
+ slug: admin-operations-director
13
+
14
+ - url: /operations/collaborators
15
+ method: GET
16
+ relations:
17
+ role:
18
+ - where:
19
+ slug: admin
20
+ - where:
21
+ slug: admin-operations-collaborator
22
+ - where:
23
+ slug: admin-operations-supervisor
24
+ - where:
25
+ slug: admin-operations-director
26
+
27
+ - url: /operations/collaborators
28
+ method: POST
29
+ relations:
30
+ role:
31
+ - where:
32
+ slug: admin
33
+ - where:
34
+ slug: admin-operations-director
35
+
36
+ - url: /operations/collaborators/me
37
+ method: GET
38
+ relations:
39
+ role:
40
+ - where:
41
+ slug: admin
42
+ - where:
43
+ slug: admin-operations-collaborator
44
+ - where:
45
+ slug: admin-operations-supervisor
46
+ - where:
47
+ slug: admin-operations-director
48
+
49
+ - url: /operations/collaborators/team
50
+ method: GET
51
+ relations:
52
+ role:
53
+ - where:
54
+ slug: admin
55
+ - where:
56
+ slug: admin-operations-supervisor
57
+ - where:
58
+ slug: admin-operations-director
59
+
60
+ - url: /operations/collaborators/:id
61
+ method: GET
62
+ relations:
63
+ role:
64
+ - where:
65
+ slug: admin
66
+ - where:
67
+ slug: admin-operations-collaborator
68
+ - where:
69
+ slug: admin-operations-supervisor
70
+ - where:
71
+ slug: admin-operations-director
72
+
73
+ - url: /operations/collaborators/:id
74
+ method: PATCH
75
+ relations:
76
+ role:
77
+ - where:
78
+ slug: admin
79
+ - where:
80
+ slug: admin-operations-director
81
+
82
+ - url: /operations/projects
83
+ method: GET
84
+ relations:
85
+ role:
86
+ - where:
87
+ slug: admin
88
+ - where:
89
+ slug: admin-operations-collaborator
90
+ - where:
91
+ slug: admin-operations-supervisor
92
+ - where:
93
+ slug: admin-operations-director
94
+
95
+ - url: /operations/projects
96
+ method: POST
97
+ relations:
98
+ role:
99
+ - where:
100
+ slug: admin
101
+ - where:
102
+ slug: admin-operations-director
103
+
104
+ - url: /operations/projects/:id
105
+ method: GET
106
+ relations:
107
+ role:
108
+ - where:
109
+ slug: admin
110
+ - where:
111
+ slug: admin-operations-collaborator
112
+ - where:
113
+ slug: admin-operations-supervisor
114
+ - where:
115
+ slug: admin-operations-director
116
+
117
+ - url: /operations/projects/:id
118
+ method: PATCH
119
+ relations:
120
+ role:
121
+ - where:
122
+ slug: admin
123
+ - where:
124
+ slug: admin-operations-director
125
+
126
+ - url: /operations/contracts
127
+ method: GET
128
+ relations:
129
+ role:
130
+ - where:
131
+ slug: admin
132
+ - where:
133
+ slug: admin-operations-collaborator
134
+ - where:
135
+ slug: admin-operations-supervisor
136
+ - where:
137
+ slug: admin-operations-director
138
+
139
+ - url: /operations/contracts
140
+ method: POST
141
+ relations:
142
+ role:
143
+ - where:
144
+ slug: admin
145
+ - where:
146
+ slug: admin-operations-director
147
+
148
+ - url: /operations/contracts/:id
149
+ method: GET
150
+ relations:
151
+ role:
152
+ - where:
153
+ slug: admin
154
+ - where:
155
+ slug: admin-operations-collaborator
156
+ - where:
157
+ slug: admin-operations-supervisor
158
+ - where:
159
+ slug: admin-operations-director
160
+
161
+ - url: /operations/contracts/:id
162
+ method: PATCH
163
+ relations:
164
+ role:
165
+ - where:
166
+ slug: admin
167
+ - where:
168
+ slug: admin-operations-director
169
+
170
+ - url: /operations/timesheets
171
+ method: GET
172
+ relations:
173
+ role:
174
+ - where:
175
+ slug: admin
176
+ - where:
177
+ slug: admin-operations-collaborator
178
+ - where:
179
+ slug: admin-operations-supervisor
180
+ - where:
181
+ slug: admin-operations-director
182
+
183
+ - url: /operations/timesheets
184
+ method: POST
185
+ relations:
186
+ role:
187
+ - where:
188
+ slug: admin
189
+ - where:
190
+ slug: admin-operations-collaborator
191
+ - where:
192
+ slug: admin-operations-director
193
+
194
+ - url: /operations/timesheets/:id
195
+ method: PATCH
196
+ relations:
197
+ role:
198
+ - where:
199
+ slug: admin
200
+ - where:
201
+ slug: admin-operations-collaborator
202
+ - where:
203
+ slug: admin-operations-director
204
+
205
+ - url: /operations/timesheets/:id/submit
206
+ method: POST
207
+ relations:
208
+ role:
209
+ - where:
210
+ slug: admin
211
+ - where:
212
+ slug: admin-operations-collaborator
213
+ - where:
214
+ slug: admin-operations-director
215
+
216
+ - url: /operations/time-off
217
+ method: GET
218
+ relations:
219
+ role:
220
+ - where:
221
+ slug: admin
222
+ - where:
223
+ slug: admin-operations-collaborator
224
+ - where:
225
+ slug: admin-operations-supervisor
226
+ - where:
227
+ slug: admin-operations-director
228
+
229
+ - url: /operations/time-off
230
+ method: POST
231
+ relations:
232
+ role:
233
+ - where:
234
+ slug: admin
235
+ - where:
236
+ slug: admin-operations-collaborator
237
+ - where:
238
+ slug: admin-operations-director
239
+
240
+ - url: /operations/schedule-adjustments
241
+ method: GET
242
+ relations:
243
+ role:
244
+ - where:
245
+ slug: admin
246
+ - where:
247
+ slug: admin-operations-collaborator
248
+ - where:
249
+ slug: admin-operations-supervisor
250
+ - where:
251
+ slug: admin-operations-director
252
+
253
+ - url: /operations/schedule-adjustments
254
+ method: POST
255
+ relations:
256
+ role:
257
+ - where:
258
+ slug: admin
259
+ - where:
260
+ slug: admin-operations-collaborator
261
+ - where:
262
+ slug: admin-operations-director
263
+
264
+ - url: /operations/approvals
265
+ method: GET
266
+ relations:
267
+ role:
268
+ - where:
269
+ slug: admin
270
+ - where:
271
+ slug: admin-operations-supervisor
272
+ - where:
273
+ slug: admin-operations-director
274
+
275
+ - url: /operations/approvals/:id/approve
276
+ method: POST
277
+ relations:
278
+ role:
279
+ - where:
280
+ slug: admin
281
+ - where:
282
+ slug: admin-operations-supervisor
283
+ - where:
284
+ slug: admin-operations-director
285
+
286
+ - url: /operations/approvals/:id/reject
287
+ method: POST
288
+ relations:
289
+ role:
290
+ - where:
291
+ slug: admin
292
+ - where:
293
+ slug: admin-operations-supervisor
294
+ - where:
295
+ slug: admin-operations-director
296
+
297
+ - url: /operations/integration/examples/accounts-payable
298
+ method: POST
299
+ relations:
300
+ role:
301
+ - where:
302
+ slug: admin
303
+ - where:
304
+ slug: admin-operations-supervisor
305
+ - where:
306
+ slug: admin-operations-director
307
+
308
+ - url: /operations/team
309
+ method: GET
310
+ relations:
311
+ role:
312
+ - where:
313
+ slug: admin
314
+ - where:
315
+ slug: admin-operations-supervisor
316
+ - where:
317
+ slug: admin-operations-director