Skip to main content

DiagnosticsResult

Defined in: packages/core/src/types/export.ts:711

Top-level result of formatQuery for the "diagnostics" format.

Properties​

diagnostics​

diagnostics: DiagnosticEntry[]

Defined in: packages/core/src/types/export.ts:715

A flat array of all diagnostic entries across the tree.


fieldSummary​

fieldSummary: Record<string, DiagnosticsFieldSummaryEntry>

Defined in: packages/core/src/types/export.ts:719

Per-field summary of rule counts and invalid counts.


query​

query: RuleGroupDiagnosticsResult<RuleDiagnosticsResult<string, string, any, string>, string> | RuleGroupICDiagnosticsResult<RuleDiagnosticsResult<string, string, any, string>, string>

Defined in: packages/core/src/types/export.ts:713

The annotated query tree with valid, path, and level on every node.


stats​

stats: DiagnosticsStats

Defined in: packages/core/src/types/export.ts:717

Aggregate statistics about the query.


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.