You've already forked RekomenciMobile
fix serialization, and make base for diff feature
This commit is contained in:
@@ -102,7 +102,7 @@ data class ResumeDTO(
|
|||||||
data class ExperienceDTO(
|
data class ExperienceDTO(
|
||||||
val place: String,
|
val place: String,
|
||||||
val description: String,
|
val description: String,
|
||||||
@SerialName("month_duration")
|
@SerialName("months_duration")
|
||||||
val monthDuration: Int,
|
val monthDuration: Int,
|
||||||
) {
|
) {
|
||||||
fun mapToDomain(): WorkExperience = WorkExperience(
|
fun mapToDomain(): WorkExperience = WorkExperience(
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
package com.prodhack.moscow2025.domain.usecase.resumes
|
||||||
|
|
||||||
|
import org.koin.core.annotation.Single
|
||||||
|
|
||||||
|
@Single
|
||||||
|
class LoadHistoryUseCase {
|
||||||
|
|
||||||
|
}
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
package com.prodhack.moscow2025.presentation.screens.diffScreen
|
||||||
|
|
||||||
|
import androidx.compose.runtime.Composable
|
||||||
|
|
||||||
|
@Composable
|
||||||
|
fun ResumeDiffScreen(){
|
||||||
|
|
||||||
|
}
|
||||||
+15
@@ -0,0 +1,15 @@
|
|||||||
|
package com.prodhack.moscow2025.presentation.screens.diffScreen
|
||||||
|
|
||||||
|
import com.prodhack.moscow2025.domain.usecase.resumes.LoadHistoryUseCase
|
||||||
|
import com.prodhack.moscow2025.presentation.utils.base.BaseViewModel
|
||||||
|
import org.koin.android.annotation.KoinViewModel
|
||||||
|
import org.koin.core.annotation.Provided
|
||||||
|
|
||||||
|
@KoinViewModel
|
||||||
|
class ResumeDiffViewModel(
|
||||||
|
@Provided resumeId: String,
|
||||||
|
private val loadHistoryUseCase: LoadHistoryUseCase
|
||||||
|
): BaseViewModel() {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user