package com.prodhack.moscow2025.presentation.screens.main

import androidx.paging.map
import com.prodhack.moscow2025.domain.usecase.resumes.LoadResumeListUseCase
import com.prodhack.moscow2025.presentation.dataModels.mapToBaseUIInfo
import com.prodhack.moscow2025.presentation.utils.base.BaseViewModel
import kotlinx.coroutines.flow.map
import org.koin.android.annotation.KoinViewModel


@KoinViewModel
class MainScreenViewModel(
	loadResumeListUseCase: LoadResumeListUseCase
) : BaseViewModel() {
	val resumeList = loadResumeListUseCase().map { it -> it.map { it.mapToBaseUIInfo() } }
}
