本文へ移動

@eightkk/vue-weave / core / PlanningDiagnostic

Interface: PlanningDiagnostic ​

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

One problem of a calculated plan, as data for an application's own list. Entities use the kinds task, dependency and resource. The ID and code do not depend on any display language.

Properties ​

code ​

code: PlanningDiagnosticCode

Defined in: src/core/scheduleDiagnostics.ts:26


constraints? ​

optional constraints?: readonly ScheduleConstraintName[]

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

For schedule-infeasible: the conflicting bound names of ScheduleFailure.constraints.


entities ​

entities: readonly EntityRef[]

Defined in: src/core/scheduleDiagnostics.ts:28


id ​

id: string

Defined in: src/core/scheduleDiagnostics.ts:25

Stable for the same problem across recalculations: a JSON array of the code and the identifying values.


range? ​

optional range?: TimeRange

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


reasonIds ​

reasonIds: readonly string[]

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

IDs of related reasons in the result's trace, when the result was calculated with explain.


severity ​

severity: PlanningDiagnosticSeverity

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

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