diff --git a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/di/UseCasesDI.kt b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/di/UseCasesDI.kt index 9e9daf6..e3a4fb1 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/di/UseCasesDI.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/di/UseCasesDI.kt @@ -1,7 +1,9 @@ package com.github.insanusmokrassar.PsychomatrixBase.di import com.github.insanusmokrassar.PsychomatrixBase.domain.UseCases.CalculatePsychomatrixByDateUseCase +import com.github.insanusmokrassar.PsychomatrixBase.domain.UseCases.ModifyPsychomatrixUseCase interface UseCasesDI : EntitiesDI { val calculatePsychomatrixByDateUseCase: CalculatePsychomatrixByDateUseCase + val modifyPsychomatrixUseCase: ModifyPsychomatrixUseCase } \ No newline at end of file diff --git a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/di/realisations/UseCasesDIImpl.kt b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/di/realisations/UseCasesDIImpl.kt index 6052d13..c7b5128 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/di/realisations/UseCasesDIImpl.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/PsychomatrixBase/di/realisations/UseCasesDIImpl.kt @@ -3,13 +3,18 @@ package com.github.insanusmokrassar.PsychomatrixBase.di.realisations import com.github.insanusmokrassar.PsychomatrixBase.di.EntitiesDI import com.github.insanusmokrassar.PsychomatrixBase.di.UseCasesDI import com.github.insanusmokrassar.PsychomatrixBase.domain.UseCases.CalculatePsychomatrixByDateUseCase +import com.github.insanusmokrassar.PsychomatrixBase.domain.UseCases.ModifyPsychomatrixUseCase import com.github.insanusmokrassar.PsychomatrixBase.domain.interactors.CalculatePsychomatrixByDateUseCaseInteractor +import com.github.insanusmokrassar.PsychomatrixBase.domain.interactors.ModifyPsychomatrixUseCaseInteractor open class UseCasesDIImpl( entitiesDI: EntitiesDI ) : UseCasesDI, EntitiesDI by entitiesDI { - override val calculatePsychomatrixByDateUseCase: CalculatePsychomatrixByDateUseCase by lazy { CalculatePsychomatrixByDateUseCaseInteractor() } + + override val modifyPsychomatrixUseCase: ModifyPsychomatrixUseCase by lazy { + ModifyPsychomatrixUseCaseInteractor() + } }