From dc1cd52995cdd6924ea706f38dcfc299cefcbd32 Mon Sep 17 00:00:00 2001 From: Thomas Kioko Date: Mon, 11 Nov 2024 12:27:20 +0100 Subject: [PATCH] Rename presentation module to presenter. --- android/app/build.gradle.kts | 18 +++++----- android/ui/discover/build.gradle.kts | 2 +- android/ui/home/build.gradle.kts | 2 +- android/ui/library/build.gradle.kts | 2 +- android/ui/more-shows/build.gradle.kts | 2 +- android/ui/search/build.gradle.kts | 2 +- android/ui/season-details/build.gradle.kts | 2 +- android/ui/settings/build.gradle.kts | 2 +- android/ui/show-details/build.gradle.kts | 2 +- android/ui/trailers/build.gradle.kts | 2 +- navigation/api/build.gradle.kts | 18 +++++----- navigation/build.gradle.kts | 16 ++++----- navigation/implementation/build.gradle.kts | 18 +++++----- .../discover/build.gradle.kts | 0 .../discover/DiscoverShowsAction.kt | 0 .../discover/DiscoverShowsMapper.kt | 0 .../discover/DiscoverShowsPresenter.kt | 0 .../discover/DiscoverShowsState.kt | 0 .../discover/model/DiscoverShow.kt | 0 .../discover/DiscoverShowsPresenterTest.kt | 0 .../home/build.gradle.kts | 8 ++--- .../presentation/home/HomePresenter.kt | 0 .../presentation/home/HomePresenterTest.kt | 0 .../library/build.gradle.kts | 0 .../presentation/watchlist/LibraryAction.kt | 0 .../watchlist/LibraryPresenter.kt | 0 .../presentation/watchlist/LibraryState.kt | 0 .../tvmaniac/presentation/watchlist/Mapper.kt | 0 .../watchlist/model/LibraryItem.kt | 0 .../domain/watchlist/LibraryPresenterTest.kt | 0 .../tvmaniac/domain/watchlist/MockData.kt | 0 .../more-shows/build.gradle.kts | 0 .../presentation/moreshows/MoreShowsAction.kt | 0 .../moreshows/MoreShowsPresenter.kt | 0 .../presentation/moreshows/MoreShowsState.kt | 0 .../tvmaniac/presentation/moreshows/TvShow.kt | 0 .../moreshows/MoreShowsPresenterTest.kt | 0 .../search/build.gradle.kts | 0 .../presentation/search/SearchShowAction.kt | 0 .../presentation/search/SearchShowState.kt | 0 .../presentation/search/SearchShowsMapper.kt | 0 .../search/SearchShowsPresenter.kt | 0 .../tvmaniac/presentation/search/ShowItem.kt | 0 .../search/SearchShowsComponentTest.kt | 0 .../seasondetails/build.gradle.kts | 0 .../presentation/seasondetails/Mapper.kt | 0 .../seasondetails/SeasonDetailState.kt | 0 .../seasondetails/SeasonDetailsAction.kt | 0 .../seasondetails/SeasonDetailsPresenter.kt | 0 .../seasondetails/SeasonDetailsReducer.kt | 0 .../presentation/seasondetails/model/Cast.kt | 0 .../model/EpisodeDetailsModel.kt | 0 .../model/SeasonDetailsUiParam.kt | 0 .../seasondetails/model/SeasonImagesModel.kt | 0 .../tvmaniac/data/seasondetails/MockData.kt | 0 .../seasondetails/SeasonDetailsReducerTest.kt | 0 .../data/seasondetails/SeasonPresenterTest.kt | 0 .../settings/build.gradle.kts | 0 .../presentation/settings/SettingsActions.kt | 0 .../settings/SettingsPresenter.kt | 0 .../presentation/settings/SettingsState.kt | 0 .../settings/SettingsPresenterTest.kt | 0 .../show-details/build.gradle.kts | 0 .../showdetails/ShowDetailMapper.kt | 0 .../showdetails/ShowDetailsAction.kt | 0 .../showdetails/ShowDetailsPresenter.kt | 0 .../showdetails/ShowDetailsState.kt | 0 .../showdetails/model/AdditionalContent.kt | 0 .../presentation/showdetails/model/Casts.kt | 0 .../showdetails/model/Providers.kt | 0 .../presentation/showdetails/model/Season.kt | 0 .../presentation/showdetails/model/Show.kt | 0 .../showdetails/model/ShowDetails.kt | 0 .../showdetails/model/ShowMetadata.kt | 0 .../model/ShowSeasonDetailsParam.kt | 0 .../presentation/showdetails/model/Trailer.kt | 0 .../presentation/showdetails/MockData.kt | 0 .../showdetails/ShowDetailsPresenterTest.kt | 0 .../trailers/build.gradle.kts | 0 .../tvmaniac/presentation/trailers/Mapper.kt | 0 .../presentation/trailers/TrailersAction.kt | 0 .../trailers/TrailersPresenter.kt | 0 .../presentation/trailers/TrailersState.kt | 0 .../presentation/trailers/model/Trailer.kt | 0 .../trailers/TrailersPresenterTest.kt | 0 settings.gradle.kts | 18 +++++----- shared/build.gradle.kts | 36 +++++++++---------- 87 files changed, 75 insertions(+), 75 deletions(-) rename {presentation => presenter}/discover/build.gradle.kts (100%) rename {presentation => presenter}/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsAction.kt (100%) rename {presentation => presenter}/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsMapper.kt (100%) rename {presentation => presenter}/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsPresenter.kt (100%) rename {presentation => presenter}/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsState.kt (100%) rename {presentation => presenter}/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/model/DiscoverShow.kt (100%) rename {presentation => presenter}/discover/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsPresenterTest.kt (100%) rename {presentation => presenter}/home/build.gradle.kts (83%) rename {presentation => presenter}/home/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/home/HomePresenter.kt (100%) rename {presentation => presenter}/home/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/home/HomePresenterTest.kt (100%) rename {presentation => presenter}/library/build.gradle.kts (100%) rename {presentation => presenter}/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryAction.kt (100%) rename {presentation => presenter}/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryPresenter.kt (100%) rename {presentation => presenter}/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryState.kt (100%) rename {presentation => presenter}/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/Mapper.kt (100%) rename {presentation => presenter}/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/model/LibraryItem.kt (100%) rename {presentation => presenter}/library/src/commonTest/kotlin/com/thomaskioko/tvmaniac/domain/watchlist/LibraryPresenterTest.kt (100%) rename {presentation => presenter}/library/src/commonTest/kotlin/com/thomaskioko/tvmaniac/domain/watchlist/MockData.kt (100%) rename {presentation => presenter}/more-shows/build.gradle.kts (100%) rename {presentation => presenter}/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsAction.kt (100%) rename {presentation => presenter}/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsPresenter.kt (100%) rename {presentation => presenter}/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsState.kt (100%) rename {presentation => presenter}/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/TvShow.kt (100%) rename {presentation => presenter}/more-shows/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsPresenterTest.kt (100%) rename {presentation => presenter}/search/build.gradle.kts (100%) rename {presentation => presenter}/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowAction.kt (100%) rename {presentation => presenter}/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowState.kt (100%) rename {presentation => presenter}/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsMapper.kt (100%) rename {presentation => presenter}/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsPresenter.kt (100%) rename {presentation => presenter}/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/ShowItem.kt (100%) rename {presentation => presenter}/search/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsComponentTest.kt (100%) rename {presentation => presenter}/seasondetails/build.gradle.kts (100%) rename {presentation => presenter}/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/Mapper.kt (100%) rename {presentation => presenter}/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailState.kt (100%) rename {presentation => presenter}/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsAction.kt (100%) rename {presentation => presenter}/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsPresenter.kt (100%) rename {presentation => presenter}/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsReducer.kt (100%) rename {presentation => presenter}/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/Cast.kt (100%) rename {presentation => presenter}/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/EpisodeDetailsModel.kt (100%) rename {presentation => presenter}/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/SeasonDetailsUiParam.kt (100%) rename {presentation => presenter}/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/SeasonImagesModel.kt (100%) rename {presentation => presenter}/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/MockData.kt (100%) rename {presentation => presenter}/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/SeasonDetailsReducerTest.kt (100%) rename {presentation => presenter}/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/SeasonPresenterTest.kt (100%) rename {presentation => presenter}/settings/build.gradle.kts (100%) rename {presentation => presenter}/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsActions.kt (100%) rename {presentation => presenter}/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsPresenter.kt (100%) rename {presentation => presenter}/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsState.kt (100%) rename {presentation => presenter}/settings/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsPresenterTest.kt (100%) rename {presentation => presenter}/show-details/build.gradle.kts (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailMapper.kt (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsAction.kt (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsPresenter.kt (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsState.kt (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/AdditionalContent.kt (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Casts.kt (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Providers.kt (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Season.kt (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Show.kt (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowDetails.kt (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowMetadata.kt (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowSeasonDetailsParam.kt (100%) rename {presentation => presenter}/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Trailer.kt (100%) rename {presentation => presenter}/show-details/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/MockData.kt (100%) rename {presentation => presenter}/show-details/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsPresenterTest.kt (100%) rename {presentation => presenter}/trailers/build.gradle.kts (100%) rename {presentation => presenter}/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/Mapper.kt (100%) rename {presentation => presenter}/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersAction.kt (100%) rename {presentation => presenter}/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersPresenter.kt (100%) rename {presentation => presenter}/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersState.kt (100%) rename {presentation => presenter}/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/model/Trailer.kt (100%) rename {presentation => presenter}/trailers/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersPresenterTest.kt (100%) diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 92b418027..71ae3e7bb 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -61,15 +61,15 @@ dependencies { implementation(projects.database) implementation(projects.datastore.api) implementation(projects.datastore.implementation) - implementation(projects.presentation.discover) - implementation(projects.presentation.library) - implementation(projects.presentation.home) - implementation(projects.presentation.moreShows) - implementation(projects.presentation.search) - implementation(projects.presentation.seasondetails) - implementation(projects.presentation.settings) - implementation(projects.presentation.showDetails) - implementation(projects.presentation.trailers) + implementation(projects.presenter.discover) + implementation(projects.presenter.library) + implementation(projects.presenter.home) + implementation(projects.presenter.moreShows) + implementation(projects.presenter.search) + implementation(projects.presenter.seasondetails) + implementation(projects.presenter.settings) + implementation(projects.presenter.showDetails) + implementation(projects.presenter.trailers) implementation(projects.tmdbApi.api) implementation(projects.tmdbApi.implementation) diff --git a/android/ui/discover/build.gradle.kts b/android/ui/discover/build.gradle.kts index 496476ddf..0df4b6ddc 100644 --- a/android/ui/discover/build.gradle.kts +++ b/android/ui/discover/build.gradle.kts @@ -8,7 +8,7 @@ plugins { android { namespace = "com.thomaskioko.tvmaniac.ui.discover" } dependencies { - api(projects.presentation.discover) + api(projects.presenter.discover) implementation(projects.android.designsystem) implementation(projects.android.resources) diff --git a/android/ui/home/build.gradle.kts b/android/ui/home/build.gradle.kts index 3ab99fb0e..89e28d6fb 100644 --- a/android/ui/home/build.gradle.kts +++ b/android/ui/home/build.gradle.kts @@ -3,7 +3,7 @@ plugins { alias(libs.plugins.tvmaniac.compose.library) } android { namespace = "com.thomaskioko.tvmaniac.ui.home" } dependencies { - api(projects.presentation.home) + api(projects.presenter.home) implementation(projects.android.designsystem) implementation(projects.android.resources) diff --git a/android/ui/library/build.gradle.kts b/android/ui/library/build.gradle.kts index cfe3d1218..0904ad9d5 100644 --- a/android/ui/library/build.gradle.kts +++ b/android/ui/library/build.gradle.kts @@ -8,7 +8,7 @@ plugins { android { namespace = "com.thomaskioko.tvmaniac.ui.library" } dependencies { - api(projects.presentation.library) + api(projects.presenter.library) implementation(projects.android.designsystem) implementation(projects.android.resources) diff --git a/android/ui/more-shows/build.gradle.kts b/android/ui/more-shows/build.gradle.kts index a062d684f..b1db63c3c 100644 --- a/android/ui/more-shows/build.gradle.kts +++ b/android/ui/more-shows/build.gradle.kts @@ -8,7 +8,7 @@ plugins { android { namespace = "com.thomaskioko.tvmaniac.ui.moreshows" } dependencies { - api(projects.presentation.moreShows) + api(projects.presenter.moreShows) implementation(projects.android.designsystem) diff --git a/android/ui/search/build.gradle.kts b/android/ui/search/build.gradle.kts index 64a349d59..b0783a25c 100644 --- a/android/ui/search/build.gradle.kts +++ b/android/ui/search/build.gradle.kts @@ -8,7 +8,7 @@ plugins { android { namespace = "com.thomaskioko.tvmaniac.ui.search" } dependencies { - api(projects.presentation.search) + api(projects.presenter.search) implementation(projects.android.designsystem) implementation(projects.android.resources) diff --git a/android/ui/season-details/build.gradle.kts b/android/ui/season-details/build.gradle.kts index 0921912df..169e16a6d 100644 --- a/android/ui/season-details/build.gradle.kts +++ b/android/ui/season-details/build.gradle.kts @@ -8,7 +8,7 @@ plugins { android { namespace = "com.thomaskioko.tvmaniac.ui.seasondetails" } dependencies { - api(projects.presentation.seasondetails) + api(projects.presenter.seasondetails) implementation(projects.android.designsystem) implementation(projects.android.resources) diff --git a/android/ui/settings/build.gradle.kts b/android/ui/settings/build.gradle.kts index dd7fa468b..d37ad9971 100644 --- a/android/ui/settings/build.gradle.kts +++ b/android/ui/settings/build.gradle.kts @@ -5,7 +5,7 @@ plugins { alias(libs.plugins.tvmaniac.compose.library) } android { namespace = "com.thomaskioko.tvmaniac.ui.settings" } dependencies { - api(projects.presentation.settings) + api(projects.presenter.settings) api(projects.datastore.api) implementation(projects.android.designsystem) diff --git a/android/ui/show-details/build.gradle.kts b/android/ui/show-details/build.gradle.kts index 5c3fa6862..94e357712 100644 --- a/android/ui/show-details/build.gradle.kts +++ b/android/ui/show-details/build.gradle.kts @@ -8,7 +8,7 @@ plugins { android { namespace = "com.thomaskioko.tvmaniac.ui.showdetails" } dependencies { - api(projects.presentation.showDetails) + api(projects.presenter.showDetails) implementation(projects.android.designsystem) implementation(projects.android.resources) diff --git a/android/ui/trailers/build.gradle.kts b/android/ui/trailers/build.gradle.kts index 92e489306..a52db6def 100644 --- a/android/ui/trailers/build.gradle.kts +++ b/android/ui/trailers/build.gradle.kts @@ -3,7 +3,7 @@ plugins { alias(libs.plugins.tvmaniac.compose.library) } android { namespace = "com.thomaskioko.tvmaniac.ui.trailers" } dependencies { - api(projects.presentation.trailers) + api(projects.presenter.trailers) implementation(projects.android.designsystem) implementation(projects.android.resources) diff --git a/navigation/api/build.gradle.kts b/navigation/api/build.gradle.kts index d246d56ac..2650b5bd0 100644 --- a/navigation/api/build.gradle.kts +++ b/navigation/api/build.gradle.kts @@ -11,15 +11,15 @@ kotlin { api(libs.essenty.lifecycle) implementation(projects.datastore.api) - implementation(projects.presentation.discover) - implementation(projects.presentation.home) - implementation(projects.presentation.library) - implementation(projects.presentation.moreShows) - implementation(projects.presentation.search) - implementation(projects.presentation.seasondetails) - implementation(projects.presentation.settings) - implementation(projects.presentation.showDetails) - implementation(projects.presentation.trailers) + implementation(projects.presenter.discover) + implementation(projects.presenter.home) + implementation(projects.presenter.library) + implementation(projects.presenter.moreShows) + implementation(projects.presenter.search) + implementation(projects.presenter.seasondetails) + implementation(projects.presenter.settings) + implementation(projects.presenter.showDetails) + implementation(projects.presenter.trailers) implementation(libs.coroutines.core) } diff --git a/navigation/build.gradle.kts b/navigation/build.gradle.kts index f005ddb8b..83f9edf62 100644 --- a/navigation/build.gradle.kts +++ b/navigation/build.gradle.kts @@ -9,14 +9,14 @@ kotlin { implementation(projects.core.base) implementation(projects.traktAuth.api) - implementation(projects.presentation.discover) - implementation(projects.presentation.library) - implementation(projects.presentation.moreShows) - implementation(projects.presentation.search) - implementation(projects.presentation.seasondetails) - implementation(projects.presentation.settings) - implementation(projects.presentation.showDetails) - implementation(projects.presentation.trailers) + implementation(projects.presenter.discover) + implementation(projects.presenter.library) + implementation(projects.presenter.moreShows) + implementation(projects.presenter.search) + implementation(projects.presenter.seasondetails) + implementation(projects.presenter.settings) + implementation(projects.presenter.showDetails) + implementation(projects.presenter.trailers) implementation(libs.kotlinInject.runtime) diff --git a/navigation/implementation/build.gradle.kts b/navigation/implementation/build.gradle.kts index deb2d5d02..4fdd2e759 100644 --- a/navigation/implementation/build.gradle.kts +++ b/navigation/implementation/build.gradle.kts @@ -10,15 +10,15 @@ kotlin { implementation(projects.traktAuth.api) implementation(projects.navigation.api) - implementation(projects.presentation.discover) - implementation(projects.presentation.home) - implementation(projects.presentation.library) - implementation(projects.presentation.moreShows) - implementation(projects.presentation.search) - implementation(projects.presentation.seasondetails) - implementation(projects.presentation.settings) - implementation(projects.presentation.showDetails) - implementation(projects.presentation.trailers) + implementation(projects.presenter.discover) + implementation(projects.presenter.home) + implementation(projects.presenter.library) + implementation(projects.presenter.moreShows) + implementation(projects.presenter.search) + implementation(projects.presenter.seasondetails) + implementation(projects.presenter.settings) + implementation(projects.presenter.showDetails) + implementation(projects.presenter.trailers) implementation(libs.kotlinInject.runtime) } diff --git a/presentation/discover/build.gradle.kts b/presenter/discover/build.gradle.kts similarity index 100% rename from presentation/discover/build.gradle.kts rename to presenter/discover/build.gradle.kts diff --git a/presentation/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsAction.kt b/presenter/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsAction.kt similarity index 100% rename from presentation/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsAction.kt rename to presenter/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsAction.kt diff --git a/presentation/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsMapper.kt b/presenter/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsMapper.kt similarity index 100% rename from presentation/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsMapper.kt rename to presenter/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsMapper.kt diff --git a/presentation/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsPresenter.kt b/presenter/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsPresenter.kt similarity index 100% rename from presentation/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsPresenter.kt rename to presenter/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsPresenter.kt diff --git a/presentation/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsState.kt b/presenter/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsState.kt similarity index 100% rename from presentation/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsState.kt rename to presenter/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsState.kt diff --git a/presentation/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/model/DiscoverShow.kt b/presenter/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/model/DiscoverShow.kt similarity index 100% rename from presentation/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/model/DiscoverShow.kt rename to presenter/discover/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/discover/model/DiscoverShow.kt diff --git a/presentation/discover/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsPresenterTest.kt b/presenter/discover/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsPresenterTest.kt similarity index 100% rename from presentation/discover/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsPresenterTest.kt rename to presenter/discover/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/discover/DiscoverShowsPresenterTest.kt diff --git a/presentation/home/build.gradle.kts b/presenter/home/build.gradle.kts similarity index 83% rename from presentation/home/build.gradle.kts rename to presenter/home/build.gradle.kts index cb7c54e1e..eb5954096 100644 --- a/presentation/home/build.gradle.kts +++ b/presenter/home/build.gradle.kts @@ -9,10 +9,10 @@ kotlin { commonMain { dependencies { implementation(projects.core.base) - implementation(projects.presentation.discover) - implementation(projects.presentation.library) - implementation(projects.presentation.search) - implementation(projects.presentation.settings) + implementation(projects.presenter.discover) + implementation(projects.presenter.library) + implementation(projects.presenter.search) + implementation(projects.presenter.settings) implementation(projects.traktAuth.api) implementation(libs.decompose.decompose) diff --git a/presentation/home/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/home/HomePresenter.kt b/presenter/home/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/home/HomePresenter.kt similarity index 100% rename from presentation/home/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/home/HomePresenter.kt rename to presenter/home/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/home/HomePresenter.kt diff --git a/presentation/home/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/home/HomePresenterTest.kt b/presenter/home/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/home/HomePresenterTest.kt similarity index 100% rename from presentation/home/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/home/HomePresenterTest.kt rename to presenter/home/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/home/HomePresenterTest.kt diff --git a/presentation/library/build.gradle.kts b/presenter/library/build.gradle.kts similarity index 100% rename from presentation/library/build.gradle.kts rename to presenter/library/build.gradle.kts diff --git a/presentation/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryAction.kt b/presenter/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryAction.kt similarity index 100% rename from presentation/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryAction.kt rename to presenter/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryAction.kt diff --git a/presentation/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryPresenter.kt b/presenter/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryPresenter.kt similarity index 100% rename from presentation/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryPresenter.kt rename to presenter/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryPresenter.kt diff --git a/presentation/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryState.kt b/presenter/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryState.kt similarity index 100% rename from presentation/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryState.kt rename to presenter/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/LibraryState.kt diff --git a/presentation/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/Mapper.kt b/presenter/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/Mapper.kt similarity index 100% rename from presentation/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/Mapper.kt rename to presenter/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/Mapper.kt diff --git a/presentation/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/model/LibraryItem.kt b/presenter/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/model/LibraryItem.kt similarity index 100% rename from presentation/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/model/LibraryItem.kt rename to presenter/library/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/watchlist/model/LibraryItem.kt diff --git a/presentation/library/src/commonTest/kotlin/com/thomaskioko/tvmaniac/domain/watchlist/LibraryPresenterTest.kt b/presenter/library/src/commonTest/kotlin/com/thomaskioko/tvmaniac/domain/watchlist/LibraryPresenterTest.kt similarity index 100% rename from presentation/library/src/commonTest/kotlin/com/thomaskioko/tvmaniac/domain/watchlist/LibraryPresenterTest.kt rename to presenter/library/src/commonTest/kotlin/com/thomaskioko/tvmaniac/domain/watchlist/LibraryPresenterTest.kt diff --git a/presentation/library/src/commonTest/kotlin/com/thomaskioko/tvmaniac/domain/watchlist/MockData.kt b/presenter/library/src/commonTest/kotlin/com/thomaskioko/tvmaniac/domain/watchlist/MockData.kt similarity index 100% rename from presentation/library/src/commonTest/kotlin/com/thomaskioko/tvmaniac/domain/watchlist/MockData.kt rename to presenter/library/src/commonTest/kotlin/com/thomaskioko/tvmaniac/domain/watchlist/MockData.kt diff --git a/presentation/more-shows/build.gradle.kts b/presenter/more-shows/build.gradle.kts similarity index 100% rename from presentation/more-shows/build.gradle.kts rename to presenter/more-shows/build.gradle.kts diff --git a/presentation/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsAction.kt b/presenter/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsAction.kt similarity index 100% rename from presentation/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsAction.kt rename to presenter/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsAction.kt diff --git a/presentation/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsPresenter.kt b/presenter/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsPresenter.kt similarity index 100% rename from presentation/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsPresenter.kt rename to presenter/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsPresenter.kt diff --git a/presentation/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsState.kt b/presenter/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsState.kt similarity index 100% rename from presentation/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsState.kt rename to presenter/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsState.kt diff --git a/presentation/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/TvShow.kt b/presenter/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/TvShow.kt similarity index 100% rename from presentation/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/TvShow.kt rename to presenter/more-shows/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/TvShow.kt diff --git a/presentation/more-shows/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsPresenterTest.kt b/presenter/more-shows/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsPresenterTest.kt similarity index 100% rename from presentation/more-shows/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsPresenterTest.kt rename to presenter/more-shows/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/moreshows/MoreShowsPresenterTest.kt diff --git a/presentation/search/build.gradle.kts b/presenter/search/build.gradle.kts similarity index 100% rename from presentation/search/build.gradle.kts rename to presenter/search/build.gradle.kts diff --git a/presentation/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowAction.kt b/presenter/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowAction.kt similarity index 100% rename from presentation/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowAction.kt rename to presenter/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowAction.kt diff --git a/presentation/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowState.kt b/presenter/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowState.kt similarity index 100% rename from presentation/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowState.kt rename to presenter/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowState.kt diff --git a/presentation/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsMapper.kt b/presenter/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsMapper.kt similarity index 100% rename from presentation/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsMapper.kt rename to presenter/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsMapper.kt diff --git a/presentation/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsPresenter.kt b/presenter/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsPresenter.kt similarity index 100% rename from presentation/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsPresenter.kt rename to presenter/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsPresenter.kt diff --git a/presentation/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/ShowItem.kt b/presenter/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/ShowItem.kt similarity index 100% rename from presentation/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/ShowItem.kt rename to presenter/search/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/search/ShowItem.kt diff --git a/presentation/search/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsComponentTest.kt b/presenter/search/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsComponentTest.kt similarity index 100% rename from presentation/search/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsComponentTest.kt rename to presenter/search/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/search/SearchShowsComponentTest.kt diff --git a/presentation/seasondetails/build.gradle.kts b/presenter/seasondetails/build.gradle.kts similarity index 100% rename from presentation/seasondetails/build.gradle.kts rename to presenter/seasondetails/build.gradle.kts diff --git a/presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/Mapper.kt b/presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/Mapper.kt similarity index 100% rename from presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/Mapper.kt rename to presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/Mapper.kt diff --git a/presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailState.kt b/presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailState.kt similarity index 100% rename from presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailState.kt rename to presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailState.kt diff --git a/presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsAction.kt b/presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsAction.kt similarity index 100% rename from presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsAction.kt rename to presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsAction.kt diff --git a/presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsPresenter.kt b/presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsPresenter.kt similarity index 100% rename from presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsPresenter.kt rename to presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsPresenter.kt diff --git a/presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsReducer.kt b/presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsReducer.kt similarity index 100% rename from presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsReducer.kt rename to presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/SeasonDetailsReducer.kt diff --git a/presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/Cast.kt b/presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/Cast.kt similarity index 100% rename from presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/Cast.kt rename to presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/Cast.kt diff --git a/presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/EpisodeDetailsModel.kt b/presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/EpisodeDetailsModel.kt similarity index 100% rename from presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/EpisodeDetailsModel.kt rename to presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/EpisodeDetailsModel.kt diff --git a/presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/SeasonDetailsUiParam.kt b/presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/SeasonDetailsUiParam.kt similarity index 100% rename from presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/SeasonDetailsUiParam.kt rename to presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/SeasonDetailsUiParam.kt diff --git a/presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/SeasonImagesModel.kt b/presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/SeasonImagesModel.kt similarity index 100% rename from presentation/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/SeasonImagesModel.kt rename to presenter/seasondetails/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/seasondetails/model/SeasonImagesModel.kt diff --git a/presentation/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/MockData.kt b/presenter/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/MockData.kt similarity index 100% rename from presentation/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/MockData.kt rename to presenter/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/MockData.kt diff --git a/presentation/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/SeasonDetailsReducerTest.kt b/presenter/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/SeasonDetailsReducerTest.kt similarity index 100% rename from presentation/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/SeasonDetailsReducerTest.kt rename to presenter/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/SeasonDetailsReducerTest.kt diff --git a/presentation/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/SeasonPresenterTest.kt b/presenter/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/SeasonPresenterTest.kt similarity index 100% rename from presentation/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/SeasonPresenterTest.kt rename to presenter/seasondetails/src/commonTest/kotlin/com/thomaskioko/tvmaniac/data/seasondetails/SeasonPresenterTest.kt diff --git a/presentation/settings/build.gradle.kts b/presenter/settings/build.gradle.kts similarity index 100% rename from presentation/settings/build.gradle.kts rename to presenter/settings/build.gradle.kts diff --git a/presentation/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsActions.kt b/presenter/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsActions.kt similarity index 100% rename from presentation/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsActions.kt rename to presenter/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsActions.kt diff --git a/presentation/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsPresenter.kt b/presenter/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsPresenter.kt similarity index 100% rename from presentation/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsPresenter.kt rename to presenter/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsPresenter.kt diff --git a/presentation/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsState.kt b/presenter/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsState.kt similarity index 100% rename from presentation/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsState.kt rename to presenter/settings/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsState.kt diff --git a/presentation/settings/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsPresenterTest.kt b/presenter/settings/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsPresenterTest.kt similarity index 100% rename from presentation/settings/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsPresenterTest.kt rename to presenter/settings/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/settings/SettingsPresenterTest.kt diff --git a/presentation/show-details/build.gradle.kts b/presenter/show-details/build.gradle.kts similarity index 100% rename from presentation/show-details/build.gradle.kts rename to presenter/show-details/build.gradle.kts diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailMapper.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailMapper.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailMapper.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailMapper.kt diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsAction.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsAction.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsAction.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsAction.kt diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsPresenter.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsPresenter.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsPresenter.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsPresenter.kt diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsState.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsState.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsState.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsState.kt diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/AdditionalContent.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/AdditionalContent.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/AdditionalContent.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/AdditionalContent.kt diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Casts.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Casts.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Casts.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Casts.kt diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Providers.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Providers.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Providers.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Providers.kt diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Season.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Season.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Season.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Season.kt diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Show.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Show.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Show.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Show.kt diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowDetails.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowDetails.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowDetails.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowDetails.kt diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowMetadata.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowMetadata.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowMetadata.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowMetadata.kt diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowSeasonDetailsParam.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowSeasonDetailsParam.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowSeasonDetailsParam.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/ShowSeasonDetailsParam.kt diff --git a/presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Trailer.kt b/presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Trailer.kt similarity index 100% rename from presentation/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Trailer.kt rename to presenter/show-details/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/model/Trailer.kt diff --git a/presentation/show-details/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/MockData.kt b/presenter/show-details/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/MockData.kt similarity index 100% rename from presentation/show-details/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/MockData.kt rename to presenter/show-details/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/MockData.kt diff --git a/presentation/show-details/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsPresenterTest.kt b/presenter/show-details/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsPresenterTest.kt similarity index 100% rename from presentation/show-details/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsPresenterTest.kt rename to presenter/show-details/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/showdetails/ShowDetailsPresenterTest.kt diff --git a/presentation/trailers/build.gradle.kts b/presenter/trailers/build.gradle.kts similarity index 100% rename from presentation/trailers/build.gradle.kts rename to presenter/trailers/build.gradle.kts diff --git a/presentation/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/Mapper.kt b/presenter/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/Mapper.kt similarity index 100% rename from presentation/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/Mapper.kt rename to presenter/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/Mapper.kt diff --git a/presentation/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersAction.kt b/presenter/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersAction.kt similarity index 100% rename from presentation/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersAction.kt rename to presenter/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersAction.kt diff --git a/presentation/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersPresenter.kt b/presenter/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersPresenter.kt similarity index 100% rename from presentation/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersPresenter.kt rename to presenter/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersPresenter.kt diff --git a/presentation/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersState.kt b/presenter/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersState.kt similarity index 100% rename from presentation/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersState.kt rename to presenter/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersState.kt diff --git a/presentation/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/model/Trailer.kt b/presenter/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/model/Trailer.kt similarity index 100% rename from presentation/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/model/Trailer.kt rename to presenter/trailers/src/commonMain/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/model/Trailer.kt diff --git a/presentation/trailers/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersPresenterTest.kt b/presenter/trailers/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersPresenterTest.kt similarity index 100% rename from presentation/trailers/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersPresenterTest.kt rename to presenter/trailers/src/commonTest/kotlin/com/thomaskioko/tvmaniac/presentation/trailers/TrailersPresenterTest.kt diff --git a/settings.gradle.kts b/settings.gradle.kts index 5211396ce..11bf70e12 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -122,15 +122,15 @@ include( ":data:watchproviders:testing", ":navigation:api", ":navigation:implementation", - ":presentation:discover", - ":presentation:home", - ":presentation:library", - ":presentation:more-shows", - ":presentation:search", - ":presentation:seasondetails", - ":presentation:settings", - ":presentation:show-details", - ":presentation:trailers", + ":presenter:discover", + ":presenter:home", + ":presenter:library", + ":presenter:more-shows", + ":presenter:search", + ":presenter:seasondetails", + ":presenter:settings", + ":presenter:show-details", + ":presenter:trailers", ":shared", ":tmdb-api:api", ":tmdb-api:implementation", diff --git a/shared/build.gradle.kts b/shared/build.gradle.kts index ddcab7f52..ee7ca4d0b 100644 --- a/shared/build.gradle.kts +++ b/shared/build.gradle.kts @@ -24,15 +24,15 @@ kotlin { export(projects.navigation.api) export(projects.datastore.api) - export(projects.presentation.discover) - export(projects.presentation.home) - export(projects.presentation.library) - export(projects.presentation.moreShows) - export(projects.presentation.search) - export(projects.presentation.seasondetails) - export(projects.presentation.settings) - export(projects.presentation.showDetails) - export(projects.presentation.trailers) + export(projects.presenter.discover) + export(projects.presenter.home) + export(projects.presenter.library) + export(projects.presenter.moreShows) + export(projects.presenter.search) + export(projects.presenter.seasondetails) + export(projects.presenter.settings) + export(projects.presenter.showDetails) + export(projects.presenter.trailers) export(libs.decompose.decompose) export(libs.essenty.lifecycle) @@ -96,15 +96,15 @@ kotlin { api(projects.navigation.api) api(projects.navigation.implementation) - api(projects.presentation.discover) - api(projects.presentation.library) - api(projects.presentation.home) - api(projects.presentation.moreShows) - api(projects.presentation.search) - api(projects.presentation.seasondetails) - api(projects.presentation.settings) - api(projects.presentation.showDetails) - api(projects.presentation.trailers) + api(projects.presenter.discover) + api(projects.presenter.library) + api(projects.presenter.home) + api(projects.presenter.moreShows) + api(projects.presenter.search) + api(projects.presenter.seasondetails) + api(projects.presenter.settings) + api(projects.presenter.showDetails) + api(projects.presenter.trailers) api(libs.decompose.decompose) api(libs.essenty.lifecycle)