Skip to content

Commit

Permalink
[CHORE/#177] feature별 패키지 분리
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyobeen-Park committed Aug 21, 2024
1 parent 38c1d51 commit 78f8154
Show file tree
Hide file tree
Showing 16 changed files with 29 additions and 30 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.terning.data.dto.response

import com.terning.domain.entity.HomeTodayIntern
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.terning.data.mapper
package com.terning.data.mapper.home

import com.terning.data.dto.response.HomeFilteringInfoResponseDto
import com.terning.domain.entity.HomeFilteringInfo
import com.terning.domain.entity.home.HomeFilteringInfo

fun HomeFilteringInfoResponseDto.toHomeFilteringInfo(): HomeFilteringInfo =
HomeFilteringInfo(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.terning.data.mapper
package com.terning.data.mapper.home

import com.terning.data.dto.response.HomeRecommendInternResponseDto
import com.terning.domain.entity.HomeRecommendIntern
import com.terning.domain.entity.home.HomeRecommendIntern

fun HomeRecommendInternResponseDto.toHomeRecommendIntern(): HomeRecommendIntern =
HomeRecommendIntern(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.terning.data.mapper
package com.terning.data.mapper.home

import com.terning.data.dto.response.HomeTodayInternResponseDto
import com.terning.domain.entity.HomeTodayIntern
import com.terning.domain.entity.home.HomeTodayIntern

fun HomeTodayInternResponseDto.toHomeTodayInternList(): HomeTodayIntern =
HomeTodayIntern(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package com.terning.data.repositoryimpl

import com.terning.data.datasource.HomeDataSource
import com.terning.data.dto.request.toChangeFilterRequestDto
import com.terning.data.mapper.toHomeFilteringInfo
import com.terning.data.mapper.toHomeRecommendIntern
import com.terning.data.mapper.toHomeTodayInternList
import com.terning.domain.entity.HomeFilteringInfo
import com.terning.domain.entity.HomeRecommendIntern
import com.terning.domain.entity.HomeTodayIntern
import com.terning.data.mapper.home.toHomeFilteringInfo
import com.terning.data.mapper.home.toHomeRecommendIntern
import com.terning.data.mapper.home.toHomeTodayInternList
import com.terning.domain.entity.home.HomeFilteringInfo
import com.terning.domain.entity.home.HomeRecommendIntern
import com.terning.domain.entity.home.HomeTodayIntern
import com.terning.domain.entity.request.ChangeFilteringRequestModel
import com.terning.domain.repository.HomeRepository
import javax.inject.Inject
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.terning.domain.entity
package com.terning.domain.entity.home

data class HomeFilteringInfo(
val grade: Int?,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.terning.domain.entity
package com.terning.domain.entity.home

data class HomeRecommendIntern(
val scrapId: Long?,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.terning.domain.entity
package com.terning.domain.entity.home

data class HomeTodayIntern(
val scrapId: Long,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.terning.domain.repository

import com.terning.domain.entity.HomeFilteringInfo
import com.terning.domain.entity.HomeRecommendIntern
import com.terning.domain.entity.HomeTodayIntern
import com.terning.domain.entity.home.HomeFilteringInfo
import com.terning.domain.entity.home.HomeRecommendIntern
import com.terning.domain.entity.home.HomeTodayIntern
import com.terning.domain.entity.request.ChangeFilteringRequestModel

interface HomeRepository {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import com.terning.core.designsystem.component.topappbar.BackButtonTopAppBar
import com.terning.core.designsystem.theme.TerningTheme
import com.terning.core.extension.toast
import com.terning.core.state.UiState
import com.terning.domain.entity.HomeFilteringInfo
import com.terning.domain.entity.home.HomeFilteringInfo
import com.terning.domain.entity.request.ChangeFilteringRequestModel
import com.terning.feature.R
import com.terning.feature.home.changefilter.component.ChangeFilteringRadioGroup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ import com.terning.core.designsystem.theme.White
import com.terning.core.extension.noRippleClickable
import com.terning.core.extension.toast
import com.terning.core.state.UiState
import com.terning.domain.entity.HomeFilteringInfo
import com.terning.domain.entity.HomeRecommendIntern
import com.terning.domain.entity.HomeTodayIntern
import com.terning.domain.entity.home.HomeFilteringInfo
import com.terning.domain.entity.home.HomeRecommendIntern
import com.terning.domain.entity.home.HomeTodayIntern
import com.terning.feature.R
import com.terning.feature.home.changefilter.navigation.navigateChangeFilter
import com.terning.feature.home.home.component.HomeFilteringEmptyIntern
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import androidx.lifecycle.viewModelScope
import com.terning.core.designsystem.theme.CalRed
import com.terning.core.state.UiState
import com.terning.domain.entity.CalendarScrapRequest
import com.terning.domain.entity.HomeFilteringInfo
import com.terning.domain.entity.HomeRecommendIntern
import com.terning.domain.entity.HomeTodayIntern
import com.terning.domain.entity.home.HomeFilteringInfo
import com.terning.domain.entity.home.HomeRecommendIntern
import com.terning.domain.entity.home.HomeTodayIntern
import com.terning.domain.entity.request.ChangeFilteringRequestModel
import com.terning.domain.repository.HomeRepository
import com.terning.domain.repository.MyPageRepository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import com.terning.core.designsystem.theme.TerningMain
import com.terning.core.designsystem.theme.TerningTheme
import com.terning.core.designsystem.theme.White
import com.terning.core.extension.noRippleClickable
import com.terning.domain.entity.HomeRecommendIntern
import com.terning.domain.entity.home.HomeRecommendIntern
import com.terning.feature.home.home.HomeViewModel
import com.terning.feature.intern.component.InternInfoRow

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import androidx.compose.ui.unit.dp
import androidx.hilt.navigation.compose.hiltViewModel
import com.terning.core.designsystem.component.dialog.TerningBasicDialog
import com.terning.core.extension.noRippleClickable
import com.terning.domain.entity.HomeTodayIntern
import com.terning.domain.entity.home.HomeTodayIntern
import com.terning.feature.R
import com.terning.feature.home.home.HomeViewModel
import com.terning.feature.home.home.model.HomeDialogState
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import com.terning.core.designsystem.theme.TerningMain
import com.terning.core.designsystem.theme.TerningTheme
import com.terning.core.designsystem.theme.White
import com.terning.core.extension.noRippleClickable
import com.terning.domain.entity.HomeTodayIntern
import com.terning.domain.entity.home.HomeTodayIntern
import com.terning.feature.home.home.HomeViewModel
import com.terning.feature.intern.component.InternInfoRow

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ import com.terning.core.designsystem.theme.TerningTheme
import com.terning.core.extension.addFocusCleaner
import com.terning.core.extension.noRippleClickable
import com.terning.core.extension.toast
import com.terning.domain.entity.HomeRecommendIntern
import com.terning.domain.entity.home.HomeRecommendIntern
import com.terning.feature.R
import com.terning.feature.home.home.component.HomeRecommendInternDialog
import com.terning.feature.intern.navigation.navigateIntern
Expand Down

0 comments on commit 78f8154

Please sign in to comment.