ParseMeta
Interface: ParseMeta<T>
Section titled “Interface: ParseMeta<T>”Defined in: src/types/index.ts:26
Metadata about the parsed document
Contains schema version information and any warnings encountered during parsing.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T extends BROFileType | BROFileType |
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
schemaVersion | string | Schema version detected in the document (e.g., “1.1”, “2.0”) | src/types/index.ts:30 |
schemaNamespace | string | Full namespace URI of the schema | src/types/index.ts:35 |
dataType | T | Data type detected. Fixed to its own literal per *Data type (e.g. CPTData → "CPT"). To narrow a BROData, switch on the top-level data.dataType (TypeScript does not narrow on a nested discriminant). | src/types/index.ts:42 |
warnings | string[] | Warnings encountered during parsing Non-fatal issues like: - Parsing with older/newer minor version than supported - Optional fields with unexpected formats | src/types/index.ts:51 |