Skip to content

Interface: ShiftDemand

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Scheduling / ShiftDemand

Interface: ShiftDemand

Defined in: src/types/scheduling.ts:64

Demand for a single (day, shift) slot.

Properties

day

day: number

Defined in: src/types/scheduling.ts:66

Day index (0..days).


roleMinimums?

optional roleMinimums: Record<string, number>

Defined in: src/types/scheduling.ts:76

Minimum count per role. The remainder of total may be filled by any eligible agent. Role names must match tags used in AgentSpec.roles.


shift

shift: number

Defined in: src/types/scheduling.ts:68

Shift index (0..shiftsPerDay).


total

total: number

Defined in: src/types/scheduling.ts:70

Total number of agents required for this slot.