ScreenModel

@Serializable
data class ScreenModel(val tiles: SerializableImmutableList<TileSchema>, val navigationDrawerTiles: SerializableImmutableList<TileSchema>?, val events: SerializableImmutableList<EventSchema>?)

The app-facing screen payload — dev.catbit.mosaic.core.data.responses.screen.ScreenResponse with dev.catbit.mosaic.core.data.responses.screen.ScreenResponse.id/ttl already consumed by the repository layer and dropped. This is what GetScreen's onSuccess carries as incomingData, and what ChangeScreenState's Success state installs onto a screen.

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@SerialName(value = "events")
val events: SerializableImmutableList<EventSchema>?

screen-level events.

Link copied to clipboard
@SerialName(value = "navigationDrawerTiles")
val navigationDrawerTiles: SerializableImmutableList<TileSchema>?

content rendered inside the screen's ModalNavigationDrawer, if any.

Link copied to clipboard
@SerialName(value = "tiles")
val tiles: SerializableImmutableList<TileSchema>

the screen's tile tree.