Merge branch 'stable'

This commit is contained in:
Evgeny Poberezkin
2026-05-28 23:19:54 +01:00
35 changed files with 1023 additions and 222 deletions
@@ -1683,6 +1683,10 @@ class Format_simplexLink(TypedDict):
simplexUri: str
smpHosts: list[str] # non-empty
class Format_simplexName(TypedDict):
type: Literal["simplexName"]
nameInfo: "SimplexNameInfo"
class Format_command(TypedDict):
type: Literal["command"]
commandStr: str
@@ -1708,13 +1712,14 @@ Format = (
| Format_uri
| Format_hyperLink
| Format_simplexLink
| Format_simplexName
| Format_command
| Format_mention
| Format_email
| Format_phone
)
Format_Tag = Literal["bold", "italic", "strikeThrough", "snippet", "secret", "small", "colored", "uri", "hyperLink", "simplexLink", "command", "mention", "email", "phone"]
Format_Tag = Literal["bold", "italic", "strikeThrough", "snippet", "secret", "small", "colored", "uri", "hyperLink", "simplexLink", "simplexName", "command", "mention", "email", "phone"]
class FormattedText(TypedDict):
format: NotRequired["Format"]
@@ -1850,6 +1855,10 @@ class GroupLinkPlan_noRelays(TypedDict):
type: Literal["noRelays"]
groupSLinkData_: NotRequired["GroupShortLinkData"]
class GroupLinkPlan_updateRequired(TypedDict):
type: Literal["updateRequired"]
groupSLinkData_: NotRequired["GroupShortLinkData"]
GroupLinkPlan = (
GroupLinkPlan_ok
| GroupLinkPlan_ownLink
@@ -1857,9 +1866,10 @@ GroupLinkPlan = (
| GroupLinkPlan_connectingProhibit
| GroupLinkPlan_known
| GroupLinkPlan_noRelays
| GroupLinkPlan_updateRequired
)
GroupLinkPlan_Tag = Literal["ok", "ownLink", "connectingConfirmReconnect", "connectingProhibit", "known", "noRelays"]
GroupLinkPlan_Tag = Literal["ok", "ownLink", "connectingConfirmReconnect", "connectingProhibit", "known", "noRelays", "updateRequired"]
class GroupMember(TypedDict):
groupMemberId: int # int64
@@ -2679,6 +2689,16 @@ class SimplePreference(TypedDict):
SimplexLinkType = Literal["contact", "invitation", "group", "channel", "relay"]
class SimplexNameInfo(TypedDict):
nameType: "SimplexNameType"
nameTLD: "SimplexTLD"
domain: str
subDomain: list[str]
SimplexNameType = Literal["publicGroup", "contact"]
SimplexTLD = Literal["simplex", "testing", "web"]
SndCIStatusProgress = Literal["partial", "complete"]
class SndConnEvent_switchQueue(TypedDict):