AdminBatchScope

Receiver type for AdminApi.batch — combines AdminEdit setters with getter helpers.

Getter failures throw AdminResultException via getOrThrow. Setters share the same deferred commit semantics as AdminApi.editSettings.

Functions

Link copied to clipboard
abstract suspend fun getConfig(type: AdminMessage.ConfigType): Config
Link copied to clipboard
abstract suspend fun getModuleConfig(type: AdminMessage.ModuleConfigType): ModuleConfig
Link copied to clipboard
abstract suspend fun listChannels(): List<Channel>
Link copied to clipboard
abstract suspend fun setChannel(channel: Channel)
Link copied to clipboard
abstract suspend fun setConfig(config: Config)
Link copied to clipboard
abstract suspend fun setFavorite(node: NodeId, favorite: Boolean)
Link copied to clipboard
abstract suspend fun setIgnored(node: NodeId, ignored: Boolean)
Link copied to clipboard
abstract suspend fun setModuleConfig(config: ModuleConfig)
Link copied to clipboard
abstract suspend fun setOwner(user: User)