ChildList

@Serializable(with = ChildListSerializer::class)
sealed interface ChildList

The children of a container: either a fixed list of ids, or a template expanded once per item of a list in the data model.

Inheritors

Types

Link copied to clipboard
data class Static(val ids: List<ComponentId>) : ChildList

A fixed list of child component ids.

Link copied to clipboard
@Serializable
data class Template(val componentId: ComponentId, val path: String) : ChildList

A template component instantiated once per item at path in the data model.

Functions

Link copied to clipboard

Reads ChildList out of an already-decoded property value.