createBlockJsonAttribute
createBlockJsonAttribute(
node,warnings):BlockJsonAttribute
Defined in: metadata-projection.ts:19
Project one parsed attribute node into its block.json attribute shape.
Parameters
Section titled “Parameters”Parsed attribute node to project.
warnings
Section titled “warnings”string[]
Mutable warning list that receives unsupported projection features.
Returns
Section titled “Returns”A block.json-compatible attribute record for the provided node.