package com.prodhack.moscow2025.presentation.screens.diffScreen

import androidx.paging.PagingData
import com.prodhack.moscow2025.domain.models.ResumeModel
import com.prodhack.moscow2025.domain.usecase.resumes.LoadResumeHistoryUseCase
import com.prodhack.moscow2025.presentation.utils.base.BaseViewModel
import kotlinx.coroutines.flow.Flow
import org.koin.android.annotation.KoinViewModel
import org.koin.core.annotation.Provided

@KoinViewModel
class ResumeDiffViewModel(
	@Provided resumeId: String,
	loadResumeHistoryUseCase: LoadResumeHistoryUseCase
) : BaseViewModel() {
	val history: Flow<PagingData<ResumeModel>> = loadResumeHistoryUseCase(resumeId)
}
