Documentation / @facturometro/core / IssueSource
Type Alias: IssueSource ​
IssueSource =
"rule"|"structure"
Defined in: packages/core/src/issue.ts:49
Whether a diagnostic comes from a validation rule or from the structure of the XML itself.
structure issues are produced while parsing (unknown elements, cardinality, ordering); rule issues come from a ruleset.
Example ​
ts
import type { IssueSource } from '@facturometro/core';
const source: IssueSource = 'structure';