mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 16:54:53 +09:00
85c6354291
The custom module provides a parametric wrapper, allowing any specific FromJSON/ToJSON instance to be used. It's a standalone module though, and not a wrapper of persistent-postgresql, because persistent-postgresql uses aeson Value and it prevents using toEncoding to get from the value directly to a string.
29 lines
613 B
Text
29 lines
613 B
Text
RemoteRawObject
|
|
content PersistJSONObject
|
|
received UTCTime
|
|
|
|
RemoteDiscussion
|
|
sharer RemoteSharerId
|
|
instance InstanceId
|
|
ident Text
|
|
discuss DiscussionId
|
|
|
|
UniqueRemoteDiscussionIdent instance ident
|
|
UniqueRemoteDiscussion discuss
|
|
|
|
LocalMessage
|
|
author PersonId
|
|
rest MessageId
|
|
|
|
UniqueLocalMessage rest
|
|
|
|
RemoteMessage
|
|
author RemoteSharerId
|
|
instance InstanceId
|
|
ident Text
|
|
rest MessageId
|
|
raw RemoteRawObjectId
|
|
lostParent Text Maybe
|
|
|
|
UniqueRemoteMessageIdent instance ident
|
|
UniqueRemoteMessage rest
|