Package-level declarations
Types
Link copied to clipboard
Data transfer object (DTO) representing an authenticated user received from the remote API.
Link copied to clipboard
Link copied to clipboard
data class DiscoverActionResponseDto(val hasFoundNewPlanet: Boolean, val planet: PlanetDto?, val experience: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Converts the AuthenticatedUserDto to a DatabaseUserWithPlanets for local database storage.
Link copied to clipboard
Converts the AuthenticatedUserDto to a UserRoomEntity for local database storage. This function might be useful when a user registers with no discovered planets yet.
Converts the UserDto to a UserRoomEntity for local database storage.
Converts the PlanetDto to a PlanetRoomEntity for local database storage.
Link copied to clipboard