feat(api): expose peak times explainability
This commit is contained in:
@@ -167,8 +167,19 @@ describe("dashboard procedure support", () => {
|
||||
capacityHours: 200.12,
|
||||
utilizationPct: 80,
|
||||
derivation: {
|
||||
periodStart: "2026-03-01",
|
||||
periodEnd: "2026-03-31",
|
||||
calendarContextCount: 1,
|
||||
resourceCount: 5,
|
||||
groupCount: 2,
|
||||
baseAvailableHours: 216,
|
||||
effectiveAvailableHours: 200.12,
|
||||
publicHolidayHoursDeduction: 8,
|
||||
absenceDayEquivalent: 1,
|
||||
absenceHoursDeduction: 7.88,
|
||||
calendarLocations: [{ countryCode: "DE", federalState: "BY", metroCityName: "Munich" }],
|
||||
remainingCapacityHours: 39.78,
|
||||
overbookedHours: 0,
|
||||
},
|
||||
},
|
||||
]);
|
||||
@@ -228,6 +239,19 @@ describe("dashboard procedure support", () => {
|
||||
utilizationPct: 80,
|
||||
calendarContextCount: 1,
|
||||
calendarLocations: [{ countryCode: "DE", federalState: "BY", metroCityName: "Munich" }],
|
||||
explainability: {
|
||||
periodStart: "2026-03-01",
|
||||
periodEnd: "2026-03-31",
|
||||
resourceCount: 5,
|
||||
groupCount: 2,
|
||||
baseAvailableHours: 216,
|
||||
effectiveAvailableHours: 200.12,
|
||||
publicHolidayHoursDeduction: 8,
|
||||
absenceDayEquivalent: 1,
|
||||
absenceHoursDeduction: 7.88,
|
||||
remainingCapacityHours: 39.78,
|
||||
overbookedHours: 0,
|
||||
},
|
||||
},
|
||||
],
|
||||
topResources: [
|
||||
|
||||
Reference in New Issue
Block a user