core, ui: make msgVerified optional (#7247)

This commit is contained in:
spaced4ndy
2026-07-13 21:20:36 +00:00
committed by GitHub
parent d7af648d2a
commit e53508ecca
18 changed files with 50 additions and 68 deletions
@@ -588,7 +588,7 @@ class CIMeta(TypedDict):
editable: bool
forwardedByMember: NotRequired[int] # int64
showGroupAsSender: bool
msgVerified: "MsgVerified"
msgVerified: NotRequired["MsgVerified"]
createdAt: str # ISO-8601 timestamp
updatedAt: str # ISO-8601 timestamp
@@ -2253,12 +2253,9 @@ class MsgVerified_signed(TypedDict):
class MsgVerified_sigMissing(TypedDict):
type: Literal["sigMissing"]
class MsgVerified_unsigned(TypedDict):
type: Literal["unsigned"]
MsgVerified = MsgVerified_signed | MsgVerified_sigMissing
MsgVerified = MsgVerified_signed | MsgVerified_sigMissing | MsgVerified_unsigned
MsgVerified_Tag = Literal["signed", "sigMissing", "unsigned"]
MsgVerified_Tag = Literal["signed", "sigMissing"]
class NameErrorType_NO_RESOLVER(TypedDict):
type: Literal["NO_RESOLVER"]