Skip to main content

Interface: ScheduleRequest

Defined in: scheduling/schedule-request.ts:55

Properties​

calendar?​

readonly optional calendar?: ScheduleCalendar

Defined in: scheduling/schedule-request.ts:74

The working calendars. With none, a day is 24 hours. With one, a lag counts workdays and a moved Entry keeps its length in workdays. A lag counts in the calendar of its successor. That is the default of Primavera P6. A week, a month and a year lag give an unsupported-lag-unit finding.


constraints?​

readonly optional constraints?: ReadonlyMap<EntryId, ScheduleConstraint>

Defined in: scheduling/schedule-request.ts:68

One constraint per Entry. A startNoEarlierThan floor moves an Entry that has no dependency, too.


dependencies​

readonly dependencies: readonly ScheduleDependency[]

Defined in: scheduling/schedule-request.ts:58


entries​

readonly entries: readonly ScheduleEntry[]

Defined in: scheduling/schedule-request.ts:57

The schedule as it stands now, before the proposed dates apply.


manuallyScheduled?​

readonly optional manuallyScheduled?: ReadonlySet<EntryId>

Defined in: scheduling/schedule-request.ts:66

Entries the engine must never move.


policy?​

readonly optional policy?: SchedulingPolicy

Defined in: scheduling/schedule-request.ts:78

Defaults to defaultPolicy.


proposed?​

readonly optional proposed?: ReadonlyMap<EntryId, Partial<Record<ScheduleField, Instant>>>

Defined in: scheduling/schedule-request.ts:64

What the user just set, per Entry. A start alone resizes the bar from its start, and the end stays. An end alone resizes the bar from its end, and the start stays. A start and an end together move the bar, and the engine takes both dates as given. An empty map asks for a full recompute.


successorMoves?​

readonly optional successorMoves?: SuccessorMoves

Defined in: scheduling/schedule-request.ts:76

Defaults to pushAndPull.