diff --git a/app/src/main/java/com/kongjak/koreatechboard/ui/article/ArticleViewModel.kt b/app/src/main/java/com/kongjak/koreatechboard/ui/article/ArticleViewModel.kt index 108ca863..0b8ab9dc 100644 --- a/app/src/main/java/com/kongjak/koreatechboard/ui/article/ArticleViewModel.kt +++ b/app/src/main/java/com/kongjak/koreatechboard/ui/article/ArticleViewModel.kt @@ -2,7 +2,7 @@ package com.kongjak.koreatechboard.ui.article import androidx.lifecycle.viewModelScope import com.kongjak.koreatechboard.domain.base.ResponseResult -import com.kongjak.koreatechboard.domain.usecase.GetArticleUseCase +import com.kongjak.koreatechboard.domain.usecase.api.GetArticleUseCase import com.kongjak.koreatechboard.ui.base.BaseViewModel import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.launch diff --git a/app/src/main/java/com/kongjak/koreatechboard/ui/main/board/BoardInitViewModel.kt b/app/src/main/java/com/kongjak/koreatechboard/ui/main/board/BoardInitViewModel.kt index 3bc9edf1..b46f818c 100644 --- a/app/src/main/java/com/kongjak/koreatechboard/ui/main/board/BoardInitViewModel.kt +++ b/app/src/main/java/com/kongjak/koreatechboard/ui/main/board/BoardInitViewModel.kt @@ -1,8 +1,8 @@ package com.kongjak.koreatechboard.ui.main.board import androidx.lifecycle.viewModelScope -import com.kongjak.koreatechboard.domain.usecase.GetInitDepartmentUseCase -import com.kongjak.koreatechboard.domain.usecase.GetUserDepartmentUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.department.GetInitDepartmentUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.department.GetUserDepartmentUseCase import com.kongjak.koreatechboard.ui.base.BaseViewModel import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.collectLatest diff --git a/app/src/main/java/com/kongjak/koreatechboard/ui/main/board/BoardViewModel.kt b/app/src/main/java/com/kongjak/koreatechboard/ui/main/board/BoardViewModel.kt index 19534a61..205e4f13 100644 --- a/app/src/main/java/com/kongjak/koreatechboard/ui/main/board/BoardViewModel.kt +++ b/app/src/main/java/com/kongjak/koreatechboard/ui/main/board/BoardViewModel.kt @@ -2,11 +2,9 @@ package com.kongjak.koreatechboard.ui.main.board import androidx.lifecycle.viewModelScope import androidx.paging.cachedIn -import com.kongjak.koreatechboard.domain.usecase.GetBoardUseCase +import com.kongjak.koreatechboard.domain.usecase.api.GetBoardUseCase import com.kongjak.koreatechboard.ui.base.BaseViewModel import dagger.hilt.android.lifecycle.HiltViewModel -import kotlinx.coroutines.flow.collectLatest -import kotlinx.coroutines.launch import javax.inject.Inject @HiltViewModel diff --git a/app/src/main/java/com/kongjak/koreatechboard/ui/main/home/HomeBoardViewModel.kt b/app/src/main/java/com/kongjak/koreatechboard/ui/main/home/HomeBoardViewModel.kt index 91d284d6..a3e5def5 100644 --- a/app/src/main/java/com/kongjak/koreatechboard/ui/main/home/HomeBoardViewModel.kt +++ b/app/src/main/java/com/kongjak/koreatechboard/ui/main/home/HomeBoardViewModel.kt @@ -2,7 +2,7 @@ package com.kongjak.koreatechboard.ui.main.home import androidx.lifecycle.viewModelScope import com.kongjak.koreatechboard.domain.base.ResponseResult -import com.kongjak.koreatechboard.domain.usecase.GetBoardMinimumUseCase +import com.kongjak.koreatechboard.domain.usecase.api.GetBoardMinimumUseCase import com.kongjak.koreatechboard.ui.base.BaseViewModel import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.launch diff --git a/app/src/main/java/com/kongjak/koreatechboard/ui/main/home/HomeViewModel.kt b/app/src/main/java/com/kongjak/koreatechboard/ui/main/home/HomeViewModel.kt index 274f1e31..c2d93d60 100644 --- a/app/src/main/java/com/kongjak/koreatechboard/ui/main/home/HomeViewModel.kt +++ b/app/src/main/java/com/kongjak/koreatechboard/ui/main/home/HomeViewModel.kt @@ -4,7 +4,7 @@ import androidx.lifecycle.LiveData import androidx.lifecycle.MutableLiveData import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope -import com.kongjak.koreatechboard.domain.usecase.GetUserDepartmentUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.department.GetUserDepartmentUseCase import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.collectLatest import kotlinx.coroutines.launch diff --git a/app/src/main/java/com/kongjak/koreatechboard/ui/main/settings/SettingsViewModel.kt b/app/src/main/java/com/kongjak/koreatechboard/ui/main/settings/SettingsViewModel.kt index c11a2d23..332cf6ad 100644 --- a/app/src/main/java/com/kongjak/koreatechboard/ui/main/settings/SettingsViewModel.kt +++ b/app/src/main/java/com/kongjak/koreatechboard/ui/main/settings/SettingsViewModel.kt @@ -6,20 +6,20 @@ import com.google.firebase.ktx.Firebase import com.google.firebase.messaging.ktx.messaging import com.kongjak.koreatechboard.constraint.FCM_TOPIC_DORM import com.kongjak.koreatechboard.constraint.FCM_TOPIC_SCHOOL -import com.kongjak.koreatechboard.domain.usecase.GetDarkThemeUseCase -import com.kongjak.koreatechboard.domain.usecase.GetDepartmentNoticeSubscribe -import com.kongjak.koreatechboard.domain.usecase.GetDormNoticeSubscribe -import com.kongjak.koreatechboard.domain.usecase.GetDynamicThemeUseCase -import com.kongjak.koreatechboard.domain.usecase.GetInitDepartmentUseCase -import com.kongjak.koreatechboard.domain.usecase.GetSchoolNoticeSubscribe -import com.kongjak.koreatechboard.domain.usecase.GetUserDepartmentUseCase -import com.kongjak.koreatechboard.domain.usecase.SetDarkThemeUseCase -import com.kongjak.koreatechboard.domain.usecase.SetDepartmentNoticeSubscribe -import com.kongjak.koreatechboard.domain.usecase.SetDormNoticeSubscribe -import com.kongjak.koreatechboard.domain.usecase.SetDynamicThemeUseCase -import com.kongjak.koreatechboard.domain.usecase.SetInitDepartmentUseCase -import com.kongjak.koreatechboard.domain.usecase.SetSchoolNoticeSubscribe -import com.kongjak.koreatechboard.domain.usecase.SetUserDepartmentUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.theme.GetDarkThemeUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.subscribe.GetDepartmentNoticeSubscribe +import com.kongjak.koreatechboard.domain.usecase.settings.subscribe.GetDormNoticeSubscribe +import com.kongjak.koreatechboard.domain.usecase.settings.theme.GetDynamicThemeUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.department.GetInitDepartmentUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.subscribe.GetSchoolNoticeSubscribe +import com.kongjak.koreatechboard.domain.usecase.settings.department.GetUserDepartmentUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.theme.SetDarkThemeUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.subscribe.SetDepartmentNoticeSubscribe +import com.kongjak.koreatechboard.domain.usecase.settings.subscribe.SetDormNoticeSubscribe +import com.kongjak.koreatechboard.domain.usecase.settings.theme.SetDynamicThemeUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.department.SetInitDepartmentUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.subscribe.SetSchoolNoticeSubscribe +import com.kongjak.koreatechboard.domain.usecase.settings.department.SetUserDepartmentUseCase import com.kongjak.koreatechboard.ui.base.BaseViewModel import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.collectLatest diff --git a/app/src/main/java/com/kongjak/koreatechboard/ui/search/SearchViewModel.kt b/app/src/main/java/com/kongjak/koreatechboard/ui/search/SearchViewModel.kt index 6a75b2d4..5348f4e9 100644 --- a/app/src/main/java/com/kongjak/koreatechboard/ui/search/SearchViewModel.kt +++ b/app/src/main/java/com/kongjak/koreatechboard/ui/search/SearchViewModel.kt @@ -2,7 +2,7 @@ package com.kongjak.koreatechboard.ui.search import androidx.lifecycle.viewModelScope import androidx.paging.cachedIn -import com.kongjak.koreatechboard.domain.usecase.SearchBoardWithTitleUseCase +import com.kongjak.koreatechboard.domain.usecase.api.SearchBoardWithTitleUseCase import com.kongjak.koreatechboard.ui.base.BaseViewModel import dagger.hilt.android.lifecycle.HiltViewModel import javax.inject.Inject diff --git a/app/src/main/java/com/kongjak/koreatechboard/ui/viewmodel/ThemeViewModel.kt b/app/src/main/java/com/kongjak/koreatechboard/ui/viewmodel/ThemeViewModel.kt index 8a27d365..ea1a4c8a 100644 --- a/app/src/main/java/com/kongjak/koreatechboard/ui/viewmodel/ThemeViewModel.kt +++ b/app/src/main/java/com/kongjak/koreatechboard/ui/viewmodel/ThemeViewModel.kt @@ -7,8 +7,8 @@ import androidx.lifecycle.viewModelScope import com.kongjak.koreatechboard.domain.DARK_THEME_DARK_THEME import com.kongjak.koreatechboard.domain.DARK_THEME_LIGHT_THEME import com.kongjak.koreatechboard.domain.DARK_THEME_SYSTEM_DEFAULT -import com.kongjak.koreatechboard.domain.usecase.GetDarkThemeUseCase -import com.kongjak.koreatechboard.domain.usecase.GetDynamicThemeUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.theme.GetDarkThemeUseCase +import com.kongjak.koreatechboard.domain.usecase.settings.theme.GetDynamicThemeUseCase import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.collectLatest import kotlinx.coroutines.launch diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetArticleUseCase.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/api/GetArticleUseCase.kt similarity index 89% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetArticleUseCase.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/api/GetArticleUseCase.kt index 00c99ed5..f51bb66e 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetArticleUseCase.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/api/GetArticleUseCase.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.api import com.kongjak.koreatechboard.domain.base.ResponseResult import com.kongjak.koreatechboard.domain.model.Article diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetBoardMinimumUseCase.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/api/GetBoardMinimumUseCase.kt similarity index 89% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetBoardMinimumUseCase.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/api/GetBoardMinimumUseCase.kt index 69520c63..023d19f5 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetBoardMinimumUseCase.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/api/GetBoardMinimumUseCase.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.api import com.kongjak.koreatechboard.domain.base.ResponseResult import com.kongjak.koreatechboard.domain.model.Board diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetBoardUseCase.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/api/GetBoardUseCase.kt similarity index 89% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetBoardUseCase.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/api/GetBoardUseCase.kt index 7e8d98f2..106bc24c 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetBoardUseCase.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/api/GetBoardUseCase.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.api import androidx.paging.PagingData import com.kongjak.koreatechboard.domain.model.BoardData diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SearchBoardWithTitleUseCase.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/api/SearchBoardWithTitleUseCase.kt similarity index 90% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SearchBoardWithTitleUseCase.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/api/SearchBoardWithTitleUseCase.kt index 5ebeebb3..3eb5510e 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SearchBoardWithTitleUseCase.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/api/SearchBoardWithTitleUseCase.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.api import androidx.paging.PagingData import com.kongjak.koreatechboard.domain.model.BoardData diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetInitDepartmentUseCase.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/department/GetInitDepartmentUseCase.kt similarity index 83% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetInitDepartmentUseCase.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/department/GetInitDepartmentUseCase.kt index c6da1798..75b91fbf 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetInitDepartmentUseCase.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/department/GetInitDepartmentUseCase.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.department import com.kongjak.koreatechboard.domain.repository.SettingsRepository import kotlinx.coroutines.flow.Flow diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetUserDepartmentUseCase.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/department/GetUserDepartmentUseCase.kt similarity index 83% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetUserDepartmentUseCase.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/department/GetUserDepartmentUseCase.kt index 67c6b1c6..80a6dbbf 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetUserDepartmentUseCase.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/department/GetUserDepartmentUseCase.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.department import com.kongjak.koreatechboard.domain.repository.SettingsRepository import kotlinx.coroutines.flow.Flow diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetInitDepartmentUseCase.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/department/SetInitDepartmentUseCase.kt similarity index 81% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetInitDepartmentUseCase.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/department/SetInitDepartmentUseCase.kt index 5ed4b255..b97a6e7c 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetInitDepartmentUseCase.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/department/SetInitDepartmentUseCase.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.department import com.kongjak.koreatechboard.domain.repository.SettingsRepository import javax.inject.Inject diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetUserDepartmentUseCase.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/department/SetUserDepartmentUseCase.kt similarity index 81% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetUserDepartmentUseCase.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/department/SetUserDepartmentUseCase.kt index 78efff35..28124f9d 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetUserDepartmentUseCase.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/department/SetUserDepartmentUseCase.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.department import com.kongjak.koreatechboard.domain.repository.SettingsRepository import javax.inject.Inject diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetDepartmentNoticeSubscribe.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/GetDepartmentNoticeSubscribe.kt similarity index 83% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetDepartmentNoticeSubscribe.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/GetDepartmentNoticeSubscribe.kt index c5c4a946..9a5d95aa 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetDepartmentNoticeSubscribe.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/GetDepartmentNoticeSubscribe.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.subscribe import com.kongjak.koreatechboard.domain.repository.SettingsRepository import kotlinx.coroutines.flow.Flow diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetDormNoticeSubscribe.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/GetDormNoticeSubscribe.kt similarity index 82% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetDormNoticeSubscribe.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/GetDormNoticeSubscribe.kt index 8f0d98e2..6754cd0c 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetDormNoticeSubscribe.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/GetDormNoticeSubscribe.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.subscribe import com.kongjak.koreatechboard.domain.repository.SettingsRepository import kotlinx.coroutines.flow.Flow diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetSchoolNoticeSubscribe.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/GetSchoolNoticeSubscribe.kt similarity index 82% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetSchoolNoticeSubscribe.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/GetSchoolNoticeSubscribe.kt index c9edf6e2..6b482cd6 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetSchoolNoticeSubscribe.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/GetSchoolNoticeSubscribe.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.subscribe import com.kongjak.koreatechboard.domain.repository.SettingsRepository import kotlinx.coroutines.flow.Flow diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetDepartmentNoticeSubscribe.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/SetDepartmentNoticeSubscribe.kt similarity index 82% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetDepartmentNoticeSubscribe.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/SetDepartmentNoticeSubscribe.kt index 19944300..e7223992 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetDepartmentNoticeSubscribe.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/SetDepartmentNoticeSubscribe.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.subscribe import com.kongjak.koreatechboard.domain.repository.SettingsRepository import javax.inject.Inject diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetDormNoticeSubscribe.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/SetDormNoticeSubscribe.kt similarity index 82% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetDormNoticeSubscribe.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/SetDormNoticeSubscribe.kt index 9c292b85..3fba3ede 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetDormNoticeSubscribe.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/SetDormNoticeSubscribe.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.subscribe import com.kongjak.koreatechboard.domain.repository.SettingsRepository import javax.inject.Inject diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetSchoolNoticeSubscribe.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/SetSchoolNoticeSubscribe.kt similarity index 82% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetSchoolNoticeSubscribe.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/SetSchoolNoticeSubscribe.kt index 462cdcbd..bb15d9a0 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetSchoolNoticeSubscribe.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/subscribe/SetSchoolNoticeSubscribe.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.subscribe import com.kongjak.koreatechboard.domain.repository.SettingsRepository import javax.inject.Inject diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetDarkThemeUseCase.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/theme/GetDarkThemeUseCase.kt similarity index 83% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetDarkThemeUseCase.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/theme/GetDarkThemeUseCase.kt index 042fb0c9..fabb3866 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetDarkThemeUseCase.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/theme/GetDarkThemeUseCase.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.theme import com.kongjak.koreatechboard.domain.repository.SettingsRepository import kotlinx.coroutines.flow.Flow diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetDynamicThemeUseCase.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/theme/GetDynamicThemeUseCase.kt similarity index 84% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetDynamicThemeUseCase.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/theme/GetDynamicThemeUseCase.kt index 4101171e..aec7ba03 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/GetDynamicThemeUseCase.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/theme/GetDynamicThemeUseCase.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.theme import com.kongjak.koreatechboard.domain.repository.SettingsRepository import kotlinx.coroutines.flow.Flow diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetDarkThemeUseCase.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/theme/SetDarkThemeUseCase.kt similarity index 82% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetDarkThemeUseCase.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/theme/SetDarkThemeUseCase.kt index ebc54097..036dbbf6 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetDarkThemeUseCase.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/theme/SetDarkThemeUseCase.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.theme import com.kongjak.koreatechboard.domain.repository.SettingsRepository import javax.inject.Inject diff --git a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetDynamicThemeUseCase.kt b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/theme/SetDynamicThemeUseCase.kt similarity index 82% rename from domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetDynamicThemeUseCase.kt rename to domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/theme/SetDynamicThemeUseCase.kt index 132fb625..d51f4c7d 100644 --- a/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/SetDynamicThemeUseCase.kt +++ b/domain/src/main/java/com/kongjak/koreatechboard/domain/usecase/settings/theme/SetDynamicThemeUseCase.kt @@ -1,4 +1,4 @@ -package com.kongjak.koreatechboard.domain.usecase +package com.kongjak.koreatechboard.domain.usecase.settings.theme import com.kongjak.koreatechboard.domain.repository.SettingsRepository import javax.inject.Inject