@hed-hog/operations 0.0.294 → 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 +7 -6
  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,102 +0,0 @@
1
- - career_track_id:
2
- where:
3
- slug: delivery
4
- slug: junior-consultant
5
- name: Junior Consultant
6
- code: JC
7
- level_code: 59
8
- level_order: 1
9
- order_index: 1
10
- min_score: 0
11
- max_score: 199
12
- salary_min: 2500
13
- salary_max: 4200
14
- description: Entry level professional focused on consistency and delivery fundamentals.
15
- summary_criteria: Complete guided tasks, keep basic SLA discipline, and build collaboration habits.
16
- expectations_summary: Demonstrates reliable individual execution with clear room to expand impact through evidence and consistency.
17
- is_active: true
18
- - career_track_id:
19
- where:
20
- slug: delivery
21
- slug: consultant
22
- name: Consultant
23
- code: C1
24
- level_code: 60
25
- level_order: 2
26
- order_index: 2
27
- min_score: 200
28
- max_score: 399
29
- salary_min: 4200
30
- salary_max: 6500
31
- description: Independent execution with predictable quality and communication.
32
- summary_criteria: Deliver scoped work with low rework and maintain solid project rituals.
33
- expectations_summary: Produces visible individual impact, helps the team operate better, and begins to document evidence for broader readiness.
34
- is_active: true
35
- - career_track_id:
36
- where:
37
- slug: delivery
38
- slug: senior-consultant
39
- name: Senior Consultant
40
- code: SC
41
- level_code: 61
42
- level_order: 3
43
- order_index: 3
44
- min_score: 400
45
- max_score: 649
46
- salary_min: 6500
47
- salary_max: 9500
48
- description: Senior delivery contributor with autonomy and mentoring impact.
49
- summary_criteria: Lead complex deliveries, mentor peers, and create reusable improvements.
50
- expectations_summary: Sustains impact across individual delivery and team enablement with evidence strong enough for readiness discussions.
51
- is_active: true
52
- - career_track_id:
53
- where:
54
- slug: delivery
55
- slug: delivery-lead
56
- name: Delivery Lead
57
- code: DL
58
- level_code: 62
59
- level_order: 4
60
- order_index: 4
61
- min_score: 650
62
- max_score: 999
63
- salary_min: 9500
64
- salary_max: 14000
65
- description: Team-level leadership focused on outcomes, predictability, and growth coaching.
66
- summary_criteria: Run multi-stream delivery, develop people, and sustain healthy margins.
67
- expectations_summary: Demonstrates organization-level influence, calibration-ready evidence, and sustained operation in a broader leadership context.
68
- is_active: true
69
- - career_track_id:
70
- where:
71
- slug: specialist
72
- slug: specialist-ii
73
- name: Specialist II
74
- code: SP2
75
- level_code: 60S
76
- level_order: 1
77
- order_index: 1
78
- min_score: 250
79
- max_score: 499
80
- salary_min: 5000
81
- salary_max: 8000
82
- description: Deep individual contributor with emerging internal influence.
83
- summary_criteria: Own a specialty lane and improve standards inside recurring workflows.
84
- expectations_summary: Shows specialist impact beyond execution through reusable knowledge, evidence, and measurable quality improvement.
85
- is_active: true
86
- - career_track_id:
87
- where:
88
- slug: specialist
89
- slug: principal-specialist
90
- name: Principal Specialist
91
- code: PS
92
- level_code: 61S
93
- level_order: 2
94
- order_index: 2
95
- min_score: 500
96
- max_score: 900
97
- salary_min: 9000
98
- salary_max: 15000
99
- description: Reference professional who shapes methods, quality bars, and enablement.
100
- summary_criteria: Scale expertise, certify others, and improve delivery leverage across teams.
101
- expectations_summary: Operates with organization-level technical impact and produces calibration-grade evidence across multiple teams.
102
- is_active: true
@@ -1,8 +0,0 @@
1
- - slug: delivery
2
- name: Delivery
3
- description: Execution path focused on delivery leadership, project ownership, and client outcomes.
4
- is_active: true
5
- - slug: specialist
6
- name: Specialist
7
- description: Technical path focused on mastery, enablement, and quality acceleration.
8
- is_active: true
@@ -1,38 +0,0 @@
1
- - slug: scrum-master-foundations
2
- name: Scrum Master Foundations
3
- provider: Scrum.org
4
- category: Delivery
5
- default_score: 45
6
- description: Validates facilitation and agile operating fundamentals.
7
- is_supporting_evidence: true
8
- is_active: true
9
- - slug: data-storytelling
10
- name: Data Storytelling for Delivery
11
- provider: Internal Academy
12
- category: Communication
13
- default_score: 30
14
- description: Improves executive updates, stakeholder alignment, and narrative clarity.
15
- is_supporting_evidence: true
16
- is_active: true
17
- - slug: advanced-quality-assurance
18
- name: Advanced Quality Assurance
19
- provider: ISTQB
20
- category: Quality
21
- default_score: 55
22
- required_level_id:
23
- where:
24
- slug: senior-consultant
25
- description: Supporting evidence that can strengthen readiness discussions for senior delivery and specialist growth.
26
- is_supporting_evidence: true
27
- is_active: true
28
- - slug: leadership-feedback-practicum
29
- name: Leadership Feedback Practicum
30
- provider: Internal Academy
31
- category: Leadership
32
- default_score: 40
33
- required_level_id:
34
- where:
35
- slug: delivery-lead
36
- description: Supporting evidence for leadership readiness and management cadence, without guaranteeing promotion by itself.
37
- is_supporting_evidence: true
38
- is_active: true
@@ -1,18 +0,0 @@
1
- - name: 2026 H1 Growth Cycle
2
- cycle_type: semiannual
3
- start_date: 2026-01-01
4
- end_date: 2026-06-30
5
- status: active
6
- description: Main career review cycle for the first semester.
7
- - name: Legacy Imported Cycle
8
- cycle_type: custom
9
- start_date: 2025-01-01
10
- end_date: 2025-12-31
11
- status: archived
12
- description: Default cycle used to anchor legacy score-first data imported before the impact model refactor.
13
- - name: 2026 Delivery Sprint Review
14
- cycle_type: quarterly
15
- start_date: 2026-01-01
16
- end_date: 2026-03-31
17
- status: active
18
- description: Lightweight cycle focused on delivery feedback and recognition.
@@ -1,48 +0,0 @@
1
- - slug: punctuality
2
- name: Punctuality
3
- description: Respect for deadlines, rituals, and agreed checkpoints.
4
- weight: 1
5
- score_type: rating
6
- is_active: true
7
- - slug: quality
8
- name: Quality
9
- description: Delivery quality, low rework, and attention to detail.
10
- weight: 1.4
11
- score_type: rating
12
- is_active: true
13
- - slug: on_time_delivery
14
- name: On-time Delivery
15
- description: Consistency when closing tasks and commitments inside the target window.
16
- weight: 1.2
17
- score_type: rating
18
- is_active: true
19
- - slug: above_expectations
20
- name: Above Expectations
21
- description: Initiative to exceed the expected scope with useful impact.
22
- weight: 1.1
23
- score_type: points
24
- is_active: true
25
- - slug: commitment
26
- name: Commitment
27
- description: Ownership, reliability, and follow-through across the workflow.
28
- weight: 1.3
29
- score_type: rating
30
- is_active: true
31
- - slug: process_methodology
32
- name: Process and Methodology
33
- description: Respect for process, documentation, and delivery discipline.
34
- weight: 1
35
- score_type: rating
36
- is_active: true
37
- - slug: autonomy
38
- name: Autonomy
39
- description: Ability to move work forward with the right level of supervision.
40
- weight: 1.2
41
- score_type: rating
42
- is_active: true
43
- - slug: collaboration
44
- name: Collaboration
45
- description: Contribution to team effectiveness, knowledge sharing, and feedback culture.
46
- weight: 1.3
47
- score_type: rating
48
- is_active: true
@@ -1,56 +0,0 @@
1
- import { formatHours } from '../_lib/utils/format';
2
- import type {
3
- Allocation,
4
- OperationsUser,
5
- Project,
6
- } from '../_lib/types/operations';
7
-
8
- const weekdays = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri'];
9
-
10
- interface AllocationCalendarProps {
11
- allocations: Allocation[];
12
- users: OperationsUser[];
13
- projects: Project[];
14
- }
15
-
16
- export function AllocationCalendar({
17
- allocations,
18
- users,
19
- projects,
20
- }: AllocationCalendarProps) {
21
- return (
22
- <div className="overflow-x-auto">
23
- <div className="min-w-[760px] rounded-xl border">
24
- <div className="grid grid-cols-6 border-b bg-muted/40 text-sm font-medium">
25
- <div className="p-3">Team Member</div>
26
- {weekdays.map((day) => (
27
- <div key={day} className="border-l p-3">
28
- {day}
29
- </div>
30
- ))}
31
- </div>
32
- {allocations.map((allocation) => {
33
- const user = users.find((item) => item.id === allocation.userId);
34
- const project = projects.find((item) => item.id === allocation.projectId);
35
- const dailyHours = allocation.weeklyHours / 5;
36
-
37
- return (
38
- <div key={allocation.id} className="grid grid-cols-6 border-b text-sm">
39
- <div className="p-3">
40
- <p className="font-medium">{user?.name}</p>
41
- <p className="text-xs text-muted-foreground">{project?.name}</p>
42
- </div>
43
- {weekdays.map((day) => (
44
- <div key={day} className="border-l p-3">
45
- <div className="rounded-md bg-blue-100 px-2 py-1 text-blue-700">
46
- {formatHours(dailyHours)}
47
- </div>
48
- </div>
49
- ))}
50
- </div>
51
- );
52
- })}
53
- </div>
54
- </div>
55
- );
56
- }