Skip to main content
type ScheduleRuleEntry<TRuleRegistry> = TypedRuleEntryFor<TRuleRegistry>;
A rule entry accepted by ScheduleConfig.rules.

Type Parameters

TRuleRegistry

TRuleRegistry extends CpsatRuleRegistry = BuiltInCpsatRuleRegistry Built-in rule helpers return entries that are always valid. Custom rules created via defineRule are checked against the active rule registry when passed to schedule or partialSchedule. For registry-bound authoring, prefer defineRuleFor.