本文へ移動

@eightkk/vue-weave / core / planBaselines

Function: planBaselines() ​

planBaselines(result, id): Map<string, TimelineBaseline>

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

The dates of a scheduled plan as one named baseline set, keyed by task ID, to add to TimelineBar.baselines of another plan's bars so that GanttChart draws "before" under "after". Throws Error for an unscheduled result or an empty or reserved set ID.

Parameters ​

result ​

{ code: "cycle"; cycles: readonly ScheduleCycle[]; ok: false; } | { code: "infeasible"; constraints: readonly ScheduleConstraintName[]; dependencyIds: readonly string[]; ok: false; taskId: string; } | ScheduleSuccess | LevelResourcesSuccess

Type Literal ​

{ code: "infeasible"; constraints: readonly ScheduleConstraintName[]; dependencyIds: readonly string[]; ok: false; taskId: string; }

code ​

"infeasible"

constraints ​

readonly ScheduleConstraintName[]

Binding bounds of the task that conflict, in a fixed order.

dependencyIds ​

readonly string[]

Binding dependencies of the task that conflict, in input order.

ok ​

false

taskId ​

string


ScheduleSuccess


LevelResourcesSuccess

id ​

string

Returns ​

Map<string, TimelineBaseline>

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