Skip to content

@eightkk/vue-weave / core / ScheduleTask

Interface: ScheduleTask ​

Defined in: src/core/scheduling.ts:8

Extended by ​

Properties ​

calendarId? ​

optional calendarId?: string

Defined in: src/core/scheduling.ts:19


duration ​

duration: number

Defined in: src/core/scheduling.ts:18


finishNoEarlierThan? ​

optional finishNoEarlierThan?: number

Defined in: src/core/scheduling.ts:22


finishNoLaterThan? ​

optional finishNoLaterThan?: number

Defined in: src/core/scheduling.ts:23


fixedStart? ​

optional fixedStart?: number

Defined in: src/core/scheduling.ts:24


id ​

id: string

Defined in: src/core/scheduling.ts:9


inactive? ​

optional inactive?: boolean

Defined in: src/core/scheduling.ts:47

Leaves the task out of the calculation, like an inactive task in Microsoft Project: it, every dependency that touches it and its resource assignments are ignored, and it is not in the result's tasks. It is still validated.


manual? ​

optional manual?: TimeRange

Defined in: src/core/scheduling.ts:42

Manually scheduled dates, like a manually scheduled task in Microsoft Project: the task stays at exactly [manual.start, manual.end) in elapsed time. Its predecessors, own bounds, mode and calendar do not move it, and duration is ignored; successors still follow it through their links. Both dates must align with the horizon and quantum and lie inside range, with end >= start; equal dates make a milestone.


mode? ​

optional mode?: "asap" | "alap"

Defined in: src/core/scheduling.ts:29

Placement mode. 'alap' places the task at the latest dates that move no other task and keep the project finish. Defaults to 'asap'.


parentId? ​

optional parentId?: string

Defined in: src/core/scheduling.ts:17

Makes this task a subtask of the summary task with this ID. A task that other tasks name as their parent is a summary task: its dates are the span of its subtasks and its own duration, calendarId, pauses, splittable and priority are ignored. It cannot have fixedStart, startNoLaterThan, finishNoEarlierThan, manual or mode: 'alap'. Its startNoEarlierThan and finishNoLaterThan apply to every subtask, and an inactive summary makes all of its subtasks inactive. See "Summary tasks" in docs/scheduling.md.


pauses? ​

optional pauses?: readonly TimeRange[]

Defined in: src/core/scheduling.ts:31

Elapsed half-open intervals in which this task does no work, in addition to its calendar's time off.


priority? ​

optional priority?: number

Defined in: src/core/scheduling.ts:35

Leveling priority; higher values are placed first. scheduleTasks ignores it. Defaults to 0.


splittable? ​

optional splittable?: boolean

Defined in: src/core/scheduling.ts:33

Allows levelResources to interrupt the task's work. scheduleTasks ignores it.


startNoEarlierThan? ​

optional startNoEarlierThan?: number

Defined in: src/core/scheduling.ts:20


startNoLaterThan? ​

optional startNoLaterThan?: number

Defined in: src/core/scheduling.ts:21

Released under the MIT License.