ExtrasState

data class ExtrasState(val loading: Boolean = true, val source: ServerSource = ServerSource.AUTOMATIC1111, val error: ErrorState = ErrorState.None, val prompt: String = "", val negativePrompt: String = "", val type: ExtraType = ExtraType.Lora, val loras: List<ExtraItemUi> = emptyList()) : MviState(source)

Carries ExtrasState data through the SDAI presentation layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(loading: Boolean = true, source: ServerSource = ServerSource.AUTOMATIC1111, error: ErrorState = ErrorState.None, prompt: String = "", negativePrompt: String = "", type: ExtraType = ExtraType.Lora, loras: List<ExtraItemUi> = emptyList())

Properties

Link copied to clipboard

Exposes the error value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the loading value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the loras value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the negativePrompt value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the prompt value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the source value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the type value used by the SDAI presentation layer.