Skip to content
This page is available as Markdown at /api/editor/type-aliases/ofdefinition.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.

OfDefinition

OfDefinition = BlockOfDefinition | InlineObjectOfDefinition | ReferenceOfDefinition

Defined in: packages/schema/dist/index.d.ts:80

Describes a member type within an array field’s of.

Three forms:

  • BlockOfDefinition (type: 'block') - declares a nested text block, with PTE sub-schema configurable inline.
  • InlineObjectOfDefinition (type: 'object') - inline-declares an object shape at this position. name is the type identity; fields defines the shape.
  • ReferenceOfDefinition (type: <name>) - a bare reference to a type declared in blockObjects or inlineObjects at the schema root.