reorganize Protocol and Agent Store (#25)

* chore: move members from Server/Transmission.hs to Protocol.hs

* chore: revert qualified SMP import for server and client

* chore: fix corrId call

* chore: move common types to Common.hs

* chore: decompose SQLite.hs

* chore: rename Agent/Transmission.hs ErrorType -> AgentErrorType

* chore: move Protocol ErrorType -> Common SMPErrorType

* chore: rename Common -> Types

* chore: revert SMPErrorType -> ErrorType
This commit is contained in:
Efim Poberezkin
2021-01-23 17:06:01 +04:00
parent d82c286a54
commit f50da16d0a
21 changed files with 512 additions and 459 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
module Simplex.Messaging.Server.MsgStore where
import Data.Time.Clock
import Simplex.Messaging.Server.Transmission
import Simplex.Messaging.Types
data Message = Message
{ msgId :: Encoded,