Skip to main content

Interface: SchedulingPolicy

Defined in: scheduling/scheduling-policy.ts:15

Properties​

precedence​

readonly precedence: readonly ScheduleRuleKind[]

Defined in: scheduling/scheduling-policy.ts:22

Which rule wins a conflict. The first kind wins. A kind that is absent loses.

Methods​

resolveEdit()​

resolveEdit(touched, entry): EditResolution

Defined in: scheduling/scheduling-policy.ts:20

Which dates may the engine move, given the dates the user touched? It must never list a touched date. The engine throws when it does.

Parameters​

touched​

ReadonlySet<ScheduleField>

entry​

ScheduleEntry

Returns​

EditResolution