uiState

val uiState: StateFlow<NetworkMockUiState>

Combined UI state for the Network Mock screen.

Combines MockConfiguration (loaded once from mocks.json), the live com.worldline.devview.networkmock.core.model.NetworkMockState from DataStore, the internal loading state, and the discovered EndpointDescriptor map into a single NetworkMockUiState emission. Re-emits whenever any of the four sources change.

Each API group + environment pair in the configuration becomes one GroupEnvironmentUiModel tab. Within each tab, only endpoints whose EndpointDescriptor has already been discovered are included.

See also