Skip to content

RESERVED_BLOCK_FIELD_NAMES

const RESERVED_BLOCK_FIELD_NAMES: readonly ["blockType", "blockName", "id"]

Defined in: packages/core/src/fields/blocks/types.ts:18

Field names reserved by the blocks system.

These names are injected automatically on every block item stored in Convex and cannot be used as user field names inside defineBlock({ fields: { ... } }).

  • blockType — discriminant identifying the block’s definition (e.g. "heading")
  • blockName — user-editable label stored alongside the block data
  • id — stable UUID assigned on creation; used as the React key and pre-requisites drag-and-drop reorder