Skip to main content

DiagnosticsResult

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

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

Properties

diagnostics

diagnostics: DiagnosticEntry[]

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

A flat array of all diagnostic entries across the tree.


fieldSummary

fieldSummary: Record<string, DiagnosticsFieldSummaryEntry>

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

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:665

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


stats

stats: DiagnosticsStats

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

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.