Anders Kaseorg
|
819bccfec1
|
submessage: Fix implicit use of any.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2024-05-06 11:31:34 -07:00 |
|
Anders Kaseorg
|
3c2fae1171
|
poll_data: Fix implicit use of any.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
|
2024-05-03 09:13:07 -07:00 |
|
Varun Singh
|
b6473deca0
|
zod: Consistently use named imports.
|
2024-04-11 09:47:28 -07:00 |
|
Junyao Chen
|
6840715222
|
poll_data: Define outbound data types for each message type.
This commit introduces specific outbound data types for each
message type for reusability. For example, `poll_widget.ts` reuses
these types.
|
2023-10-23 09:33:47 -07:00 |
|
Lalit
|
a871d7d90e
|
poll_data: Revert to using "canned" instead of -1.
We revert to using "canned" instead of -1 when populating
`key_to_option` map so that it does not break for the old polls.
|
2023-07-20 09:55:09 -07:00 |
|
Lalit
|
ae6063807b
|
ts: Convert poll_data to typescript.
Used zod schemas to validate inbound data types and removed some over
defensive code.
|
2023-07-06 16:21:52 -07:00 |
|