Skip to content

@eightkk/vue-weave / core / TaskViewBindingsInput

Interface: TaskViewBindingsInput ​

Defined in: src/core/viewBindings.ts:260

Input of taskViewBindings.

Properties ​

assignments? ​

optional assignments?: readonly Pick<ResourceAssignment, "taskId" | "workOffset" | "workDuration" | "resourceId">[]

Defined in: src/core/viewBindings.ts:273

The resource assignments, as passed to calculateResourceLoad. Each binds its task to a load target of its resource for every period in which the assignment uses the resource (assignmentWorkPeriods: the task's work, or with workOffset or workDuration only that part of it), so a load segment links to the tasks that calculateResourceLoad counts in it. Default: none.


dependencies? ​

optional dependencies?: readonly object[]

Defined in: src/core/viewBindings.ts:275

Each becomes the entity { kind: dependencyKind, id }, bound to the graph edge and the timeline dependency with its ID. Default: none.


dependencyKind? ​

optional dependencyKind?: string

Defined in: src/core/viewBindings.ts:284

The entity kind of dependencies. Default 'dependency'.


inactiveTaskIds? ​

optional inactiveTaskIds?: Iterable<string, any, any>

Defined in: src/core/viewBindings.ts:280

Tasks whose assignments are skipped, as in calculateResourceLoad, for example a schedule's inactiveTaskIds, so a plan's full assignment list can be passed unchanged. They must not be in tasks. Default: none.


taskKind? ​

optional taskKind?: string

Defined in: src/core/viewBindings.ts:282

The entity kind of tasks. Default 'task'.


tasks ​

tasks: readonly object[]

Defined in: src/core/viewBindings.ts:266

The tasks, for example a schedule's tasks. Each becomes the entity { kind: taskKind, id }, bound to the graph node, the timeline bar and the timeline row with its ID. work (the elapsed periods in which the task is worked on, as in ScheduledTask.work) is read only for tasks that have assignments.

Released under the MIT License.