Package-level declarations
Types
Link copied to clipboard
class ScreenBuilder(id: String, events: EventSchemaBuilderScope.() -> Unit = {}, navigationDrawerTiles: TileSchemaBuilderScope.() -> Unit? = null, tiles: TileSchemaBuilderScope.() -> Unit = {}, ttl: LocalDateTime? = null) : GenericBuilder<ScreenResponse>
Compiles a standalone screen's tiles/events/navigationDrawerTiles into a ScreenResponse.
Functions
Link copied to clipboard
fun Screen(id: String, events: EventSchemaBuilderScope.() -> Unit = {}, navigationDrawerTiles: TileSchemaBuilderScope.() -> Unit? = null, ttl: LocalDateTime? = null, tiles: TileSchemaBuilderScope.() -> Unit = {}): ScreenResponse
Builds a standalone screen — the top-level entry point for a non-graph endpoint, returning the ScreenResponse the client fetches and renders. For a screen that lives inside a back stack, use entry under dev.catbit.mosaic.server.builder.graph.Graph instead.