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.

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.

visibility Optional LayoutNodeVisibility

Optional visibility settings for the node. If the resulting visibility is false, the node will only be rendered in the editor.


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