function
ReferenceTypes
ReferenceTypes binds a registry field during config resolution. The definitions map is builder-owned until the final immutable manifest is installed.
Arguments
Returns
The declared result.
*BlocksFieldFull signature
func ReferenceTypes(
slugs []string,
definitions map[string]BlockType,
resource StableID,
path []string,
) *BlocksFieldRelated types
BlockTypeOne normalized discriminated block layout.
StableIDA deterministic identifier for schema evolution.
BlocksFieldThe allowed discriminated layouts for a blocks field.