mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-04 01:41:43 +00:00
plan: web previews for channels (#7022)
* plan: web previews for channels * types for recipient side to support channel web previews and domain names * fix * migrations * update schema and api types * update schema * rename migrations * core: check member role --------- Co-authored-by: Evgeny @ SimpleX Chat <259188159+evgeny-simplex@users.noreply.github.com>
This commit is contained in:
@@ -146,6 +146,7 @@ This file is generated automatically.
|
||||
- [Profile](#profile)
|
||||
- [ProxyClientError](#proxyclienterror)
|
||||
- [ProxyError](#proxyerror)
|
||||
- [PublicGroupAccess](#publicgroupaccess)
|
||||
- [PublicGroupData](#publicgroupdata)
|
||||
- [PublicGroupProfile](#publicgroupprofile)
|
||||
- [RCErrorType](#rcerrortype)
|
||||
@@ -157,6 +158,7 @@ This file is generated automatically.
|
||||
- [RcvFileTransfer](#rcvfiletransfer)
|
||||
- [RcvGroupEvent](#rcvgroupevent)
|
||||
- [RcvMsgError](#rcvmsgerror)
|
||||
- [RelayCapabilities](#relaycapabilities)
|
||||
- [RelayProfile](#relayprofile)
|
||||
- [RelayStatus](#relaystatus)
|
||||
- [ReportReason](#reportreason)
|
||||
@@ -2499,6 +2501,7 @@ UpdateRequired:
|
||||
- userChatRelay: [UserChatRelay](#userchatrelay)
|
||||
- relayStatus: [RelayStatus](#relaystatus)
|
||||
- relayLink: string?
|
||||
- relayCap: [RelayCapabilities](#relaycapabilities)
|
||||
|
||||
|
||||
---
|
||||
@@ -3068,6 +3071,17 @@ NO_SESSION:
|
||||
- type: "NO_SESSION"
|
||||
|
||||
|
||||
---
|
||||
|
||||
## PublicGroupAccess
|
||||
|
||||
**Record type**:
|
||||
- groupWebPage: string?
|
||||
- groupDomain: string?
|
||||
- domainWebPage: bool
|
||||
- allowEmbedding: bool
|
||||
|
||||
|
||||
---
|
||||
|
||||
## PublicGroupData
|
||||
@@ -3084,6 +3098,7 @@ NO_SESSION:
|
||||
- groupType: [GroupType](#grouptype)
|
||||
- groupLink: string
|
||||
- publicGroupId: string
|
||||
- publicGroupAccess: [PublicGroupAccess](#publicgroupaccess)?
|
||||
|
||||
|
||||
---
|
||||
@@ -3341,6 +3356,14 @@ ParseError:
|
||||
- parseError: string
|
||||
|
||||
|
||||
---
|
||||
|
||||
## RelayCapabilities
|
||||
|
||||
**Record type**:
|
||||
- baseWebUrl: string?
|
||||
|
||||
|
||||
---
|
||||
|
||||
## RelayProfile
|
||||
|
||||
@@ -327,6 +327,7 @@ chatTypesDocsData =
|
||||
(sti @Profile, STRecord, "", [], "", ""),
|
||||
(sti @ProxyClientError, STUnion, "Proxy", [], "", ""),
|
||||
(sti @ProxyError, STUnion, "", [], "", ""),
|
||||
(sti @PublicGroupAccess, STRecord, "", [], "", ""),
|
||||
(sti @PublicGroupData, STRecord, "", [], "", ""),
|
||||
(sti @PublicGroupProfile, STRecord, "", [], "", ""),
|
||||
(sti @RatchetSyncState, STEnum, "RS", [], "", ""),
|
||||
@@ -338,6 +339,7 @@ chatTypesDocsData =
|
||||
(sti @RcvFileTransfer, STRecord, "", [], "", ""),
|
||||
(sti @RcvGroupEvent, STUnion, "RGE", [], "", ""),
|
||||
(sti @RcvMsgError, STUnion, "RME", [], "", ""),
|
||||
(sti @RelayCapabilities, STRecord, "", [], "", ""),
|
||||
(sti @RelayProfile, STRecord, "", [], "", ""),
|
||||
(sti @RelayStatus, STEnum, "RS", [], "", ""),
|
||||
(sti @ReportReason, STEnum' (dropPfxSfx "RR" ""), "", ["RRUnknown"], "", ""),
|
||||
@@ -546,6 +548,7 @@ deriving instance Generic PreparedGroup
|
||||
deriving instance Generic Profile
|
||||
deriving instance Generic ProxyClientError
|
||||
deriving instance Generic ProxyError
|
||||
deriving instance Generic PublicGroupAccess
|
||||
deriving instance Generic PublicGroupData
|
||||
deriving instance Generic PublicGroupProfile
|
||||
deriving instance Generic RatchetSyncState
|
||||
@@ -557,6 +560,7 @@ deriving instance Generic RcvFileStatus
|
||||
deriving instance Generic RcvFileTransfer
|
||||
deriving instance Generic RcvGroupEvent
|
||||
deriving instance Generic RcvMsgError
|
||||
deriving instance Generic RelayCapabilities
|
||||
deriving instance Generic RelayProfile
|
||||
deriving instance Generic RelayStatus
|
||||
deriving instance Generic ReportReason
|
||||
|
||||
Reference in New Issue
Block a user