Skip to main content
function maxDaysPerWeek(days, opts?): RuleEntry<"max-days-week", object & RuleOptions>;
Caps assigned days per scheduling week.

Parameters

days
number
required

Returns

RuleEntry<"max-days-week", object & RuleOptions> Use this when the requirements explicitly impose a weekly day cap. If the same number is the normal weekly pattern rather than just a hard limit, pair it with targetDaysPerWeek.