summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2024-10-30 21:42:35 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2024-11-06 21:03:16 +0100
commitd144e1d0b45421d102751cdf584126810ab33ba5 (patch)
treee2e8bb8d068a89ce814d4fdc25ebbebabfdf43a5 /main
parentc4ff2f54c52e9ebb1c47aeb79284faf3fcbad4e3 (diff)
Create new Object, Storable and Storage modulesdevel
Changelog: API: Split Erebos.Storage into multiple modules
Diffstat (limited to 'main')
-rw-r--r--main/Main.hs4
-rw-r--r--main/Test.hs4
-rw-r--r--main/Test/Service.hs3
3 files changed, 8 insertions, 3 deletions
diff --git a/main/Main.hs b/main/Main.hs
index b2aca21..b148aa6 100644
--- a/main/Main.hs
+++ b/main/Main.hs
@@ -47,11 +47,13 @@ import Erebos.ICE
import Erebos.Identity
import Erebos.Message hiding (formatMessage)
import Erebos.Network
-import Erebos.Object.Internal
+import Erebos.Object
import Erebos.PubKey
import Erebos.Service
import Erebos.Set
import Erebos.State
+import Erebos.Storable
+import Erebos.Storage
import Erebos.Storage.Merge
import Erebos.Sync
diff --git a/main/Test.hs b/main/Test.hs
index 7dc7e43..4c23453 100644
--- a/main/Test.hs
+++ b/main/Test.hs
@@ -37,12 +37,14 @@ import Erebos.Contact
import Erebos.Identity
import Erebos.Message
import Erebos.Network
-import Erebos.Object.Internal
+import Erebos.Object
import Erebos.Pairing
import Erebos.PubKey
import Erebos.Service
import Erebos.Set
import Erebos.State
+import Erebos.Storable
+import Erebos.Storage
import Erebos.Storage.Internal (unsafeStoreRawBytes)
import Erebos.Storage.Merge
import Erebos.Sync
diff --git a/main/Test/Service.hs b/main/Test/Service.hs
index c81722d..8c58dee 100644
--- a/main/Test/Service.hs
+++ b/main/Test/Service.hs
@@ -8,8 +8,9 @@ import Control.Monad.Reader
import Data.ByteString.Lazy.Char8 qualified as BL
import Erebos.Network
-import Erebos.Object.Internal
+import Erebos.Object
import Erebos.Service
+import Erebos.Storable
data TestMessage = TestMessage (Stored Object)