mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 20:02:15 +00:00
types: Move Submessage to submessage.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
48fc0bc750
commit
ec199082fd
@@ -5,9 +5,16 @@ import * as channel from "./channel";
|
||||
import type {MessageList} from "./message_lists";
|
||||
import * as message_store from "./message_store";
|
||||
import type {Message} from "./message_store";
|
||||
import type {Submessage} from "./types";
|
||||
import * as widgetize from "./widgetize";
|
||||
|
||||
export type Submessage = {
|
||||
id: number;
|
||||
sender_id: number;
|
||||
message_id: number;
|
||||
content: string;
|
||||
msg_type: string;
|
||||
};
|
||||
|
||||
export const zform_widget_extra_data_schema = z
|
||||
.object({
|
||||
choices: z.array(
|
||||
|
||||
Reference in New Issue
Block a user