decord/alpha/source/modules/replies/PendingReplyActionCreators.tsx

27 lines
1.4 KiB
TypeScript
Raw Normal View History

// Module ID: 11377
// Function ID: 11378
// Name: PendingReplyActionCreators
// Dependencies: [573, 2]
2026-07-20 16:05:17 +00:00
// Exports: createPendingReply, createShallowPendingReply, deletePendingReply, setPendingReplyShouldMention
// Module 11377 (PendingReplyActionCreators)
import DispatcherDefault from "Dispatcher" /* 573 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("modules/replies/PendingReplyActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const createPendingReply = function createPendingReply(arg0) {
({ message, channel, shouldMention, showMentionToggle, source, mediaMention } = arg0);
DispatcherDefault.dispatch({ type: "CREATE_PENDING_REPLY", message, channel, shouldMention, showMentionToggle, source, mediaMention });
2026-07-20 16:05:17 +00:00
};
export const createShallowPendingReply = function createShallowPendingReply(arg0) {
({ messageId, channel, shouldMention, showMentionToggle } = arg0);
return DispatcherDefault.dispatch({ type: "CREATE_SHALLOW_PENDING_REPLY", messageId, channel, shouldMention, showMentionToggle });
2026-07-20 16:05:17 +00:00
};
export const setPendingReplyShouldMention = function setPendingReplyShouldMention(id, shouldMention) {
DispatcherDefault.dispatch({ type: "SET_PENDING_REPLY_SHOULD_MENTION", channelId: id, shouldMention });
2026-07-20 16:05:17 +00:00
};
export const deletePendingReply = function deletePendingReply(id) {
DispatcherDefault.dispatch({ type: "DELETE_PENDING_REPLY", channelId: id });
2026-07-20 16:05:17 +00:00
};