Skip to content

@eightkk/vue-weave / core / TaskActuals

Interface: TaskActuals ​

Defined in: src/core/actuals.ts:16

What has actually happened to one task, as recorded at the status date.

Properties ​

finished? ​

optional finished?: boolean

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

The task is complete: it has no remaining work and ends at the end of its last actual interval.


intervals ​

intervals: readonly TimeRange[]

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

Recorded working intervals, half-open [start, end) in absolute time: for example a start, an interruption and a resume give two intervals. They are kept exactly as given, also on non-working time. Each must have end > start, align with the horizon and quantum, and lie inside input.range.


remainingWork? ​

optional remainingWork?: number

Defined in: src/core/actuals.ts:27

Working time still to do, in the input's units on the task's calendar (a multiple of the quantum). When omitted, it is the task's duration minus the elapsed length of its actual intervals (overlaps counted once), but at least 0.

Released under the MIT License.