Package-level declarations

Types

Link copied to clipboard
@Serializable
data class Badge(val text: String, val variant: String? = null)
Link copied to clipboard
@Serializable
data class ConfigSchema(val title: String, val description: String? = null, val sections: List<ConfigSection>)
Link copied to clipboard
@Serializable
data class ConfigSection(val id: String, val title: String, val icon: String, val groups: List<SettingGroup>)
Link copied to clipboard
@Serializable
@SerialName(value = "input")
data class InputConfig(val id: String, val label: String, val description: String? = null, val inputType: InputType? = null, val placeholder: String? = null, val defaultValue: JsonElement? = null, val suffix: InputSuffix? = null, val disabled: Boolean? = null, val info: JsonElement? = null) : SettingConfig
Link copied to clipboard
@Serializable
data class InputSuffix(val type: String = "select", val options: List<SelectOption>, val defaultValue: String? = null)
Link copied to clipboard
Link copied to clipboard
@Serializable
@SerialName(value = "select")
data class SelectConfig(val id: String, val label: String, val description: String? = null, val options: List<SelectOption>, val defaultValue: JsonElement? = null, val disabled: Boolean? = null, val info: JsonElement? = null) : SettingConfig
Link copied to clipboard
@Serializable
data class SelectOption(val value: String, val label: String, val badge: Badge? = null)
Link copied to clipboard
@Serializable
sealed class SettingConfig
Link copied to clipboard
@Serializable
data class SettingGroup(val id: String, val title: String, val description: String? = null, val settings: List<SettingConfig>)
Link copied to clipboard
@Serializable
@SerialName(value = "slider")
data class SliderConfig(val id: String, val label: String, val description: String? = null, val min: Int? = null, val max: Int? = null, val step: Int? = null, val defaultValue: JsonElement? = null, val labels: List<String>? = null, val disabled: Boolean? = null, val info: JsonElement? = null) : SettingConfig
Link copied to clipboard
@Serializable
@SerialName(value = "switch")
data class SwitchConfig(val id: String, val label: String, val description: String? = null, val defaultValue: JsonElement? = null, val disabled: Boolean? = null, val info: JsonElement? = null) : SettingConfig