DefaultConnectToStabilityAiUseCaseImpl

internal class DefaultConnectToStabilityAiUseCaseImpl(val getConfigurationUseCase: GetConfigurationUseCase, val setServerConfigurationUseCase: SetServerConfigurationUseCase, val testStabilityAiApiKeyUseCase: TestStabilityAiApiKeyUseCase) : ConnectToStabilityAiUseCase(source)

Implements DefaultConnectToStabilityAiUseCase behavior in the SDAI domain layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(getConfigurationUseCase: GetConfigurationUseCase, setServerConfigurationUseCase: SetServerConfigurationUseCase, testStabilityAiApiKeyUseCase: TestStabilityAiApiKeyUseCase)

Properties

Link copied to clipboard

Exposes the getConfigurationUseCase value used by the SDAI domain layer.

Link copied to clipboard

Exposes the setServerConfigurationUseCase value used by the SDAI domain layer.

Link copied to clipboard

Exposes the testStabilityAiApiKeyUseCase value used by the SDAI domain layer.

Functions

Link copied to clipboard
open suspend operator override fun invoke(apiKey: String): Result<Unit>

Executes the invoke step in the SDAI domain layer.