StableDiffusionScriptsRepositoryImpl

internal class StableDiffusionScriptsRepositoryImpl(val remoteDataSource: StableDiffusionScriptsDataSource, val preferenceManager: PreferenceManager, val authorizationStore: AuthorizationStore) : StableDiffusionScriptsRepository(source)

Implements StableDiffusionScriptsRepository behavior in the SDAI data layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(remoteDataSource: StableDiffusionScriptsDataSource, preferenceManager: PreferenceManager, authorizationStore: AuthorizationStore)

Properties

Link copied to clipboard

Exposes the authorizationStore value used by the SDAI data layer.

Link copied to clipboard

Exposes the preferenceManager value used by the SDAI data layer.

Link copied to clipboard

Exposes the remoteDataSource value used by the SDAI data layer.

Functions

Link copied to clipboard
open suspend override fun fetchScripts(): StableDiffusionScripts

Loads SDAI data through fetchScripts.