Topic

data class Topic(val id: String, val displayLabel: String, val apiValue: String?)

A feed topic. Previously a fixed enum; now a value type so the set of topics can be served by the backend (see TopicsRepository, which calls the now-live GET /v1/topics) instead of being hardcoded. All is a client-only pseudo-topic (no apiValue = "no filter"). The named constants and defaults are the seed set shown until that fetch completes, and also back previews and tests.

Constructors

Link copied to clipboard
constructor(id: String, displayLabel: String, apiValue: String?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: String