Skip to content

PlateNode

Defined in: packages/xray/src/plate.ts:94

optional count?: number

Defined in: packages/xray/src/plate.ts:110

A templated uniform run (Template, ADR 0022): render this node’s subtree count times. The serializer emits the subtree’s HTML once plus the count; the adapter expands it to N copies at render. Absent on ordinary nodes.


id: number

Defined in: packages/xray/src/plate.ts:96

Plate-local id; rules reference it pre-classify. Stripped from the shipped tree.


optional kids?: PlateNode[]

Defined in: packages/xray/src/plate.ts:111


optional leaf?: LeafKind

Defined in: packages/xray/src/plate.ts:98

Present on paint leaves; absent on layout containers.


optional ref?: string

Defined in: packages/xray/src/plate.ts:104

A stitch: render the named child plate’s skeleton here instead of own structure (ADR 0006). Mutually exclusive with leaf/kids. Resolved against Plate.refs (prod) or the live store (dev).