diff --git a/zerver/lib/types.py b/zerver/lib/types.py index 94e809c927..73f0fe63ce 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]