Local

Defines the Local contract for the SDAI domain layer.

Author

Dmitriy Moroz

Functions

Link copied to clipboard
abstract suspend fun delete(id: String)

Performs the SDAI side effect handled by delete.

Link copied to clipboard
abstract suspend fun getAllBonsai(): List<LocalAiModel>

Loads SDAI data through getAllBonsai.

Link copied to clipboard
abstract suspend fun getAllCoreMl(): List<LocalAiModel>

Loads SDAI data through getAllCoreMl.

Link copied to clipboard
abstract suspend fun getAllMediaPipe(): List<LocalAiModel>

Loads SDAI data through getAllMediaPipe.

Link copied to clipboard
abstract suspend fun getAllOnnx(): List<LocalAiModel>

Loads SDAI data through getAllOnnx.

Link copied to clipboard
abstract suspend fun getAllSdxl(): List<LocalAiModel>

Loads SDAI data through getAllSdxl.

Link copied to clipboard
abstract suspend fun getById(id: String): LocalAiModel

Loads SDAI data through getById.

Link copied to clipboard
abstract suspend fun getSelectedBonsai(): LocalAiModel

Loads SDAI data through getSelectedBonsai.

Link copied to clipboard
abstract suspend fun getSelectedCoreMl(): LocalAiModel

Loads SDAI data through getSelectedCoreMl.

Link copied to clipboard
abstract suspend fun getSelectedOnnx(): LocalAiModel

Loads SDAI data through getSelectedOnnx.

Link copied to clipboard
abstract suspend fun getSelectedSdxl(): LocalAiModel

Loads SDAI data through getSelectedSdxl.

Link copied to clipboard
abstract fun observeAllBonsai(): Flow<List<LocalAiModel>>

Loads SDAI data through observeAllBonsai.

Link copied to clipboard
abstract fun observeAllCoreMl(): Flow<List<LocalAiModel>>

Loads SDAI data through observeAllCoreMl.

Link copied to clipboard
abstract fun observeAllOnnx(): Flow<List<LocalAiModel>>

Loads SDAI data through observeAllOnnx.

Link copied to clipboard
abstract fun observeAllSdxl(): Flow<List<LocalAiModel>>

Loads SDAI data through observeAllSdxl.

Link copied to clipboard
abstract suspend fun save(list: List<LocalAiModel>)

Performs the SDAI side effect handled by save.