mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
echo: Convert module to TypeScript.
This commit is contained in:
@@ -64,6 +64,7 @@ export type RawMessage = {
|
||||
} & (
|
||||
| {
|
||||
type: "private";
|
||||
topic_links?: undefined;
|
||||
}
|
||||
| {
|
||||
type: "stream";
|
||||
@@ -115,7 +116,16 @@ export type Message = (
|
||||
) & {
|
||||
clean_reactions: Map<string, MessageCleanReaction>;
|
||||
|
||||
// Local echo state cluster of fields.
|
||||
locally_echoed?: boolean;
|
||||
failed_request?: boolean;
|
||||
show_slow_send_spinner?: boolean;
|
||||
resend?: boolean;
|
||||
local_id?: string;
|
||||
|
||||
// The original markup for the message, which we'll have if we
|
||||
// sent it or if we fetched it (usually, because the current user
|
||||
// tried to edit the message).
|
||||
raw_content?: string;
|
||||
|
||||
// Added in `message_helper.process_new_message`.
|
||||
|
||||
Reference in New Issue
Block a user