Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

types: Add ProfileDataElementUpdateDict.

Zixuan James Lic7f75f071e9a
diff --git a/zerver/lib/types.py b/zerver/lib/types.py
index 94e809c927b..73f0fe63cea 100644
--- a/zerver/lib/types.py
+++ b/zerver/lib/types.py
@@ -33,6 +33,11 @@ class ProfileDataElement(ProfileDataElementBase):
rendered_value: Optional[str]
+class ProfileDataElementUpdateDict(TypedDict):
+ id: int
+ value: ProfileDataElementValue
+
+
ProfileData = List[ProfileDataElement]
FieldElement = Tuple[int, Promise, Validator[ProfileDataElementValue], Callable[[Any], Any], str]