ILayoutNode

Interface

Interface representing a generic layout node.

Extends

Properties

Property Type Notes
id string

Unique identifier for the node.

tag LayoutNodeTag

Tag name to render for this node.

children Optional LayoutNode[]

Optional array of child nodes.

classes Optional string[]

Optional array of CSS classes for the node.

hidden Optional boolean

If true, the node is only rendered in the editor

permissions Optional IEntityPermissionPolicy[]

Optional array of permission policies for access control.

properties Optional Record<stringunknown>

Optional properties for the node.

readOnly Optional boolean

Optional: when true the node can not be editied, regardless of the component rules. This is a means to control the edit access to sections of the layout, but

schemaVersion Optional number

Optional schema version for the settings of this specific component.

slots Optional Record<stringILayoutNode | string>

Optional slotted content for the node

styles Optional StyleMap

Optional map of CSS styles for the node.

translations Optional ITranslationMap

Optional translations for the layout.


Interface defined in packages/common/src/layouts/layout-shared-types.ts:183