package com.demotest.app.di

import com.demotest.app.app.viewmodels.UserViewModel
import com.demotest.app.repositories.APIRepository
import org.koin.androidx.viewmodel.dsl.viewModel
import org.koin.core.module.Module
import org.koin.dsl.module


val viewModules: Module = module {
    viewModel { UserViewModel(get()) }
}

val repoModules: Module = module {
    single { APIRepository(get()) }
}