mirror of https://github.com/zulip/zulip.git
types: Add ProfileDataElementUpdateDict.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
parent
b210c22329
commit
c7f75f071e
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue