function

ReferenceCase

ReferenceCase binds an embedded tree case during config resolution, as ReferenceTypes does.

Arguments

ArgumentTypeDescription
cEmbeddedTreeCaseThe c value.
definitions*BlockDefinitionsThe definitions value.
resourceStableIDThe resource value.
path[]stringThe path value.

Returns

The declared result.

EmbeddedTreeCase

Full signature

Related types

  • EmbeddedTreeCase

    EmbeddedTreeCase declares schema-owned payloads for one structural node tag. Like a Blocks field, it selects block definitions by slug; an empty selection reserves the envelope while admitting no payloads.

  • BlockDefinitions

    BlockDefinitions holds the block definitions of one schema and the definition views shared by all of their placements. A builder may add definitions while it resolves configuration; views are created on first use.

  • StableID

    A deterministic identifier for schema evolution.