mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-09-26 02:24:54 +00:00
use domain without prefix in profiles and in database, rename fields and types
This commit is contained in:
+56
-56
@@ -139,7 +139,6 @@ This file is generated automatically.
|
||||
- [MsgReaction](#msgreaction)
|
||||
- [MsgReceiptStatus](#msgreceiptstatus)
|
||||
- [MsgSigStatus](#msgsigstatus)
|
||||
- [NameClaimProof](#nameclaimproof)
|
||||
- [NameErrorType](#nameerrortype)
|
||||
- [NetworkError](#networkerror)
|
||||
- [NewUser](#newuser)
|
||||
@@ -174,10 +173,11 @@ This file is generated automatically.
|
||||
- [SMPAgentError](#smpagenterror)
|
||||
- [SecurityCode](#securitycode)
|
||||
- [SimplePreference](#simplepreference)
|
||||
- [SimplexDomain](#simplexdomain)
|
||||
- [SimplexDomainClaim](#simplexdomainclaim)
|
||||
- [SimplexDomainError](#simplexdomainerror)
|
||||
- [SimplexDomainProof](#simplexdomainproof)
|
||||
- [SimplexLinkType](#simplexlinktype)
|
||||
- [SimplexNameClaim](#simplexnameclaim)
|
||||
- [SimplexNameDomain](#simplexnamedomain)
|
||||
- [SimplexNameError](#simplexnameerror)
|
||||
- [SimplexNameInfo](#simplexnameinfo)
|
||||
- [SimplexNameType](#simplexnametype)
|
||||
- [SimplexTLD](#simplextld)
|
||||
@@ -1111,10 +1111,10 @@ ChatStoreChanged:
|
||||
InvalidConnReq:
|
||||
- type: "invalidConnReq"
|
||||
|
||||
SimplexName:
|
||||
- type: "simplexName"
|
||||
- simplexName: [SimplexNameInfo](#simplexnameinfo)
|
||||
- simplexNameError: [SimplexNameError](#simplexnameerror)
|
||||
SimplexDomain:
|
||||
- type: "simplexDomain"
|
||||
- simplexDomain: [SimplexDomain](#simplexdomain)
|
||||
- simplexDomainError: [SimplexDomainError](#simplexdomainerror)
|
||||
|
||||
UnsupportedConnReq:
|
||||
- type: "unsupportedConnReq"
|
||||
@@ -2347,7 +2347,7 @@ MemberSupport:
|
||||
- membersRequireAttention: int
|
||||
- viaGroupLinkUri: string?
|
||||
- groupKeys: [GroupKeys](#groupkeys)?
|
||||
- simplexNameVerification: bool?
|
||||
- groupDomainVerified: bool?
|
||||
|
||||
|
||||
---
|
||||
@@ -2772,8 +2772,8 @@ Unknown:
|
||||
- peerType: [ChatPeerType](#chatpeertype)?
|
||||
- localBadge: [LocalBadge](#localbadge)?
|
||||
- localAlias: string
|
||||
- simplexName: [SimplexNameClaim](#simplexnameclaim)?
|
||||
- simplexNameVerification: bool?
|
||||
- contactDomain: [SimplexDomainClaim](#simplexdomainclaim)?
|
||||
- contactDomainVerified: bool?
|
||||
|
||||
|
||||
---
|
||||
@@ -2949,16 +2949,6 @@ Unknown:
|
||||
- "signedNoKey"
|
||||
|
||||
|
||||
---
|
||||
|
||||
## NameClaimProof
|
||||
|
||||
**Record type**:
|
||||
- linkOwnerId: string?
|
||||
- presHeader: string
|
||||
- signature: string
|
||||
|
||||
|
||||
---
|
||||
|
||||
## NameErrorType
|
||||
@@ -3146,7 +3136,7 @@ count=<count>
|
||||
- preferences: [Preferences](#preferences)?
|
||||
- peerType: [ChatPeerType](#chatpeertype)?
|
||||
- badge: [BadgeProof](#badgeproof)?
|
||||
- simplexName: [SimplexNameClaim](#simplexnameclaim)?
|
||||
- contactDomain: [SimplexDomainClaim](#simplexdomainclaim)?
|
||||
|
||||
|
||||
---
|
||||
@@ -3195,7 +3185,7 @@ NO_SESSION:
|
||||
|
||||
**Record type**:
|
||||
- groupWebPage: string?
|
||||
- simplexName: [SimplexNameClaim](#simplexnameclaim)?
|
||||
- groupDomainClaim: [SimplexDomainClaim](#simplexdomainclaim)?
|
||||
- domainWebPage: bool
|
||||
- allowEmbedding: bool
|
||||
|
||||
@@ -3579,6 +3569,48 @@ A_QUEUE:
|
||||
- allow: [FeatureAllowed](#featureallowed)
|
||||
|
||||
|
||||
---
|
||||
|
||||
## SimplexDomain
|
||||
|
||||
**Record type**:
|
||||
- nameTLD: [SimplexTLD](#simplextld)
|
||||
- domain: string
|
||||
- subDomain: [string]
|
||||
|
||||
|
||||
---
|
||||
|
||||
## SimplexDomainClaim
|
||||
|
||||
**Record type**:
|
||||
- domain: string
|
||||
- proof: [SimplexDomainProof](#simplexdomainproof)?
|
||||
|
||||
|
||||
---
|
||||
|
||||
## SimplexDomainError
|
||||
|
||||
**Discriminated union type**:
|
||||
|
||||
NoValidLink:
|
||||
- type: "noValidLink"
|
||||
|
||||
UnknownDomain:
|
||||
- type: "unknownDomain"
|
||||
|
||||
|
||||
---
|
||||
|
||||
## SimplexDomainProof
|
||||
|
||||
**Record type**:
|
||||
- linkOwnerId: string?
|
||||
- presHeader: string
|
||||
- signature: string
|
||||
|
||||
|
||||
---
|
||||
|
||||
## SimplexLinkType
|
||||
@@ -3591,45 +3623,13 @@ A_QUEUE:
|
||||
- "relay"
|
||||
|
||||
|
||||
---
|
||||
|
||||
## SimplexNameClaim
|
||||
|
||||
**Record type**:
|
||||
- name: string
|
||||
- proof: [NameClaimProof](#nameclaimproof)?
|
||||
|
||||
|
||||
---
|
||||
|
||||
## SimplexNameDomain
|
||||
|
||||
**Record type**:
|
||||
- nameTLD: [SimplexTLD](#simplextld)
|
||||
- domain: string
|
||||
- subDomain: [string]
|
||||
|
||||
|
||||
---
|
||||
|
||||
## SimplexNameError
|
||||
|
||||
**Discriminated union type**:
|
||||
|
||||
NoValidLink:
|
||||
- type: "noValidLink"
|
||||
|
||||
UnknownName:
|
||||
- type: "unknownName"
|
||||
|
||||
|
||||
---
|
||||
|
||||
## SimplexNameInfo
|
||||
|
||||
**Record type**:
|
||||
- nameType: [SimplexNameType](#simplexnametype)
|
||||
- nameDomain: [SimplexNameDomain](#simplexnamedomain)
|
||||
- nameDomain: [SimplexDomain](#simplexdomain)
|
||||
|
||||
|
||||
---
|
||||
|
||||
@@ -414,7 +414,7 @@ undocumentedCommands =
|
||||
"APISetServerOperators",
|
||||
"APISetUserContactReceipts",
|
||||
"APISetUserGroupReceipts",
|
||||
"APISetUserName",
|
||||
"APISetUserDomain",
|
||||
"APISetUserServers",
|
||||
"APISetUserUIThemes",
|
||||
"APIShareChatMsgContent",
|
||||
@@ -434,9 +434,9 @@ undocumentedCommands =
|
||||
"APIUserRead",
|
||||
"APIValidateServers",
|
||||
"APIVerifyContact",
|
||||
"APIVerifyContactName",
|
||||
"APIVerifyContactDomain",
|
||||
"APIVerifyGroupMember",
|
||||
"APIVerifyPublicGroupName",
|
||||
"APIVerifyGroupDomain",
|
||||
"APIVerifyToken",
|
||||
"CheckChatRunning",
|
||||
"ConfirmRemoteCtrl",
|
||||
|
||||
@@ -322,7 +322,6 @@ chatTypesDocsData =
|
||||
(sti @MsgReaction, STUnion, "MR", [], "", ""),
|
||||
(sti @MsgReceiptStatus, STEnum, "MR", [], "", ""),
|
||||
(sti @MsgSigStatus, STEnum, "MSS", [], "", ""),
|
||||
(sti @NameClaimProof, STRecord, "", [], "", ""),
|
||||
(sti @NameErrorType, STUnion, "", [], "", ""),
|
||||
(sti @NetworkError, STUnion, "NE", [], "", ""),
|
||||
(sti @NewUser, STRecord, "", [], "", ""),
|
||||
@@ -356,10 +355,11 @@ chatTypesDocsData =
|
||||
(sti @RoleGroupPreference, STRecord, "", [], "", ""),
|
||||
(sti @SecurityCode, STRecord, "", [], "", ""),
|
||||
(sti @SimplePreference, STRecord, "", [], "", ""),
|
||||
(sti @SimplexDomain, STRecord, "", [], "", ""),
|
||||
(sti @SimplexDomainClaim, STRecord, "", [], "", ""),
|
||||
(sti @SimplexDomainError, STUnion, "SDE", [], "", ""),
|
||||
(sti @SimplexDomainProof, STRecord, "", [], "", ""),
|
||||
(sti @SimplexLinkType, STEnum, "XL", [], "", ""),
|
||||
(sti @SimplexNameClaim, STRecord, "", [], "", ""),
|
||||
(sti @SimplexNameDomain, STRecord, "", [], "", ""),
|
||||
(sti @SimplexNameError, STUnion, "SNE", [], "", ""),
|
||||
(sti @SimplexNameInfo, STRecord, "", [], "", ""),
|
||||
(sti @SimplexNameType, STEnum, "NT", [], "", ""),
|
||||
(sti @SimplexTLD, STEnum, "TLD", [], "", ""),
|
||||
@@ -553,7 +553,6 @@ deriving instance Generic MsgFilter
|
||||
deriving instance Generic MsgReaction
|
||||
deriving instance Generic MsgReceiptStatus
|
||||
deriving instance Generic MsgSigStatus
|
||||
deriving instance Generic NameClaimProof
|
||||
deriving instance Generic NameErrorType
|
||||
deriving instance Generic NetworkError
|
||||
deriving instance Generic NewUser
|
||||
@@ -585,10 +584,11 @@ deriving instance Generic RelayProfile
|
||||
deriving instance Generic RelayStatus
|
||||
deriving instance Generic ReportReason
|
||||
deriving instance Generic SecurityCode
|
||||
deriving instance Generic SimplexDomain
|
||||
deriving instance Generic SimplexDomainClaim
|
||||
deriving instance Generic SimplexDomainError
|
||||
deriving instance Generic SimplexDomainProof
|
||||
deriving instance Generic SimplexLinkType
|
||||
deriving instance Generic SimplexNameClaim
|
||||
deriving instance Generic SimplexNameDomain
|
||||
deriving instance Generic SimplexNameError
|
||||
deriving instance Generic SimplexNameInfo
|
||||
deriving instance Generic SimplexNameType
|
||||
deriving instance Generic SimplexTLD
|
||||
|
||||
Reference in New Issue
Block a user