Cleanup AutoDiscovery entities

This commit is contained in:
Wolf-Martell Montwé 2023-06-14 11:00:40 +02:00
parent 84b621b8c1
commit 8aadfe4bae
No known key found for this signature in database
GPG key ID: 6D45B21512ACBF72
4 changed files with 3 additions and 27 deletions

View file

@ -1,7 +0,0 @@
package app.k9mail.feature.account.setup.domain.entity
data class AutoDiscovery(
val incomingServerSetting: IncomingServerSetting,
val outgoingServerSetting: OutgoingServerSetting,
val isTrusted: Boolean,
)

View file

@ -0,0 +1,3 @@
package app.k9mail.feature.account.setup.domain.entity
typealias AutoDiscoveryConnectionSecurity = app.k9mail.autodiscovery.api.ConnectionSecurity

View file

@ -1,10 +0,0 @@
package app.k9mail.feature.account.setup.domain.entity
data class IncomingServerSetting(
val protocol: IncomingProtocolType,
val hostname: String,
val port: Long,
val connectionSecurity: ConnectionSecurity,
val authenticationType: AuthenticationType,
val username: String?,
)

View file

@ -1,10 +0,0 @@
package app.k9mail.feature.account.setup.domain.entity
data class OutgoingServerSetting(
val protocol: OutgoingProtocolType,
val hostname: String,
val port: Long,
val connectionSecurity: ConnectionSecurity,
val authenticationType: AuthenticationType,
val username: String?,
)