Skip to main content

Interface: ConstraintViolationDiagnostic

Defined in: scheduling/schedule-result.ts:44

An Entry breaks its constraint. The engine did not move it, because a higher rule wins.

Properties​

code​

readonly code: "constraint-violated"

Defined in: scheduling/schedule-result.ts:45


constraint​

readonly constraint: "mustStartOn" | "finishNoLaterThan"

Defined in: scheduling/schedule-result.ts:47

The rule the Entry breaks. A startNoEarlierThan floor never breaks, because the engine moves the Entry later.


dependencyIds​

readonly dependencyIds: readonly string[]

Defined in: scheduling/schedule-result.ts:50

The dependencies that hold the Entry at its date. Empty when no dependency is involved.


entryId​

readonly entryId: EntryId

Defined in: scheduling/schedule-result.ts:48