Skip to content

Documentation / @sw-file-lib/xml / xml-schema / SchemaParseFieldResult

Type Alias: SchemaParseFieldResult<T> ​

ts
type SchemaParseFieldResult<T> = Result<{
  value: T;
  source: "attribute" | "child";
}, SchemaError>;

Defined in: packages/xml/src/xml-schema/types.ts:92

The result of parsing one field from an XML record node.

Type Parameters ​

Type Parameter
T