mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-14 07:10:19 +00:00
fix bot API, schema
This commit is contained in:
@@ -67,7 +67,7 @@ pattern TUTCTime :: String
|
||||
pattern TUTCTime = "UTCTime"
|
||||
|
||||
primitiveTypes :: [ConsName]
|
||||
primitiveTypes = [TBool, TString, TInt, TInt64, TWord32, TDouble, TJSONObject, TUTCTime, "BBSProof", "BBSPresHeader", "ByteString"]
|
||||
primitiveTypes = [TBool, TString, TInt, TInt64, TWord32, TDouble, TJSONObject, TUTCTime]
|
||||
|
||||
data SumTypeInfo = STI {typeName :: String, recordTypes :: [RecordTypeInfo]}
|
||||
deriving (Show)
|
||||
@@ -199,6 +199,8 @@ toTypeInfo tr =
|
||||
"AgentRcvFileId",
|
||||
"AgentSndFileId",
|
||||
"B64UrlByteString",
|
||||
"BBSProof",
|
||||
"BBSPresHeader",
|
||||
"CbNonce",
|
||||
"ConnectionLink",
|
||||
"ConnShortLink",
|
||||
|
||||
Reference in New Issue
Block a user