Discover Packages
github.com/riducms/ridu
internal
blocktypes
package
Version:
v0.2.1
Opens a new window with list of versions in this module.
Published: Sep 10, 2026
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package blocktypes assigns ordinary Blocks generated symbols from the resolved
manifest. It does not replace persisted field identities or intern schemas.
Identifier derives a portable name from a resolved slug or field path.
Shape compares resolved value contracts, excluding placement and author-facing
metadata. It deliberately retains defaults, validation and reference targets.
ValidName limits explicit names to portable exported Go/TypeScript identifiers.
Catalog is a deterministic, generation-local index into resolved schemas.
Build validates naming and reuse without mutating the manifest. Labels and
presentation metadata never participate in a block's resolved shape.
Field describes a named block container at an existing stable field identity.
Variant describes one reusable concrete generated type family.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.