Skip to content

Reference

Utils — OCF metadata registry

Canonical OcfObjectType union and OCF_METADATA table describing each OCF object kind for validators and UI.

OCF_METADATA maps each OcfObjectType to display metadata (labels, pluralization hints, etc.). Helpers: getOcfMetadata, getAllOcfTypes, isValidOcfType.

Source