跳转到内容

DocumentDiagnostic

此内容尚不支持你的语言。

Defined in: document/diagnostics.ts:25

One structured problem found in an authored document.

code: string

Defined in: document/diagnostics.ts:27

Stable machine code (kebab-case), e.g. duplicate-id, parent-cycle.


optional entityId?: DocumentEntityId

Defined in: document/diagnostics.ts:32

The entity the problem is on, when applicable.


optional field?: string

Defined in: document/diagnostics.ts:34

The component type / Comp.field / metadata key involved, when applicable.


message: string

Defined in: document/diagnostics.ts:30

One-line human-readable explanation.


severity: DocumentDiagnosticSeverity

Defined in: document/diagnostics.ts:28