Move WeatherAppViewModel to ui package

This commit is contained in:
Nebojsa Vuksic 2025-08-07 17:48:35 +02:00
parent 4167fae9d7
commit 222a296868
5 changed files with 7 additions and 5 deletions

View File

@ -13,7 +13,7 @@ import org.jetbrains.plugins.template.CoroutineScopeHolder
import org.jetbrains.plugins.template.ui.ChatAppSample
import org.jetbrains.plugins.template.weatherApp.model.Location
import org.jetbrains.plugins.template.weatherApp.services.LocationsProvider
import org.jetbrains.plugins.template.weatherApp.services.WeatherAppViewModel
import org.jetbrains.plugins.template.weatherApp.ui.WeatherAppViewModel
import org.jetbrains.plugins.template.weatherApp.services.WeatherForecastService
import org.jetbrains.plugins.template.weatherApp.ui.WeatherAppSample

View File

@ -1,4 +1,4 @@
package org.jetbrains.plugins.template.weatherApp.services
package org.jetbrains.plugins.template.weatherApp.ui
import com.intellij.openapi.Disposable
import kotlinx.coroutines.*
@ -8,6 +8,7 @@ import kotlinx.coroutines.flow.asStateFlow
import org.jetbrains.plugins.template.weatherApp.model.Location
import org.jetbrains.plugins.template.weatherApp.model.SelectableLocation
import org.jetbrains.plugins.template.weatherApp.model.WeatherForecastData
import org.jetbrains.plugins.template.weatherApp.services.WeatherForecastServiceApi
/**

View File

@ -28,7 +28,7 @@ import org.jetbrains.plugins.template.weatherApp.WeatherAppColors
import org.jetbrains.plugins.template.weatherApp.model.DailyForecast
import org.jetbrains.plugins.template.weatherApp.model.Location
import org.jetbrains.plugins.template.weatherApp.model.WeatherForecastData
import org.jetbrains.plugins.template.weatherApp.services.WeatherForecastUIState
import org.jetbrains.plugins.template.weatherApp.ui.WeatherForecastUIState
import org.jetbrains.plugins.template.weatherApp.ui.WeatherIcons
import java.time.LocalDateTime
import java.time.format.DateTimeFormatter

View File

@ -12,8 +12,8 @@ import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
import org.jetbrains.plugins.template.weatherApp.model.Location
import org.jetbrains.plugins.template.weatherApp.services.LocationsUIState
import org.jetbrains.plugins.template.weatherApp.services.MyLocationsViewModelApi
import org.jetbrains.plugins.template.weatherApp.ui.LocationsUIState
import org.jetbrains.plugins.template.weatherApp.ui.MyLocationsViewModelApi
import org.jetbrains.plugins.template.weatherApp.ui.MyLocationsListWithEmptyListPlaceholder
import org.junit.Test

View File

@ -1,6 +1,7 @@
package org.jetbrains.plugins.template.weatherApp.services
import org.jetbrains.plugins.template.weatherApp.model.Location
import org.jetbrains.plugins.template.weatherApp.ui.LocationsUIState
import org.junit.Assert.*
import org.junit.Test