本文へ移動

@eightkk/vue-weave / core / PlanTaskComparison

Interface: PlanTaskComparison ​

Defined in: src/core/planComparison.ts:125

One task that was edited or whose calculated result differs. edited is true when the task's own input differs (input is not unchanged); otherwise the difference is a consequence of other changes.

Properties ​

assignmentsChanged ​

assignmentsChanged: boolean

Defined in: src/core/planComparison.ts:131


candidate ​

candidate: PlanTaskSide

Defined in: src/core/planComparison.ts:133


critical? ​

optional critical?: "gained" | "lost"

Defined in: src/core/planComparison.ts:139

Present when the critical flag differs between two scheduled sides.


current ​

current: PlanTaskSide

Defined in: src/core/planComparison.ts:132


edited ​

edited: boolean

Defined in: src/core/planComparison.ts:127


fields ​

fields: readonly string[]

Defined in: src/core/planComparison.ts:130

Changed task fields. Empty for added and removed tasks.


finishShift? ​

optional finishShift?: number

Defined in: src/core/planComparison.ts:137

candidate.end - current.end, when both are scheduled.


id ​

id: string

Defined in: src/core/planComparison.ts:126


input ​

input: "added" | "removed" | "changed" | "unchanged"

Defined in: src/core/planComparison.ts:128


reasons? ​

optional reasons?: object

Defined in: src/core/planComparison.ts:146

The task's own reasons from each side's explain trace, when that side has one. They say why the task got its dates in that plan; they do not say which change caused a difference.

candidate? ​

optional candidate?: readonly ScheduleReason[]

current? ​

optional current?: readonly ScheduleReason[]


resourceIds ​

resourceIds: object

Defined in: src/core/planComparison.ts:141

Resources assigned to the task in each input, in assignment order.

candidate ​

candidate: readonly string[]

current ​

current: readonly string[]


startShift? ​

optional startShift?: number

Defined in: src/core/planComparison.ts:135

candidate.start - current.start, when both are scheduled.

MIT ライセンスで公開しています。