package llc.arma.ble.app.framework.di

import dagger.Binds
import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import llc.arma.ble.data.BleRepositoryImpl
import llc.arma.ble.data.EmailRepositoryImpl
import llc.arma.ble.data.XlsxRepositoryImpl
import llc.arma.ble.domain.repository.BleRepository
import llc.arma.ble.domain.repository.EmailRepository
import llc.arma.ble.domain.repository.XlsxRepository

@Module
@InstallIn(SingletonComponent::class)
interface RepositoryBinding {

    @Binds
    fun bindBleRepository(bleRepositoryImpl: BleRepositoryImpl): BleRepository

    @Binds
    fun bindEmailRepository(repository: EmailRepositoryImpl): EmailRepository

    @Binds
    fun bindXlsxRepository(repository: XlsxRepositoryImpl): XlsxRepository

}