decord/alpha/source/modules/replies/PendingReplyActionCreators.tsx
github-actions 6eea20b8e1 chore: update source for alpha 348.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-24 10:59:02 +00:00

26 lines
1.4 KiB
TypeScript

// Module ID: 12007
// Function ID: 12008
// Name: PendingReplyActionCreators
// Dependencies: [573, 2]
// Exports: createPendingReply, createShallowPendingReply, deletePendingReply, setPendingReplyShouldMention
// Module 12007 (PendingReplyActionCreators)
import DispatcherDefault from "Dispatcher" /* 573 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/replies/PendingReplyActionCreators.tsx");
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 });
};
export const createShallowPendingReply = function createShallowPendingReply(arg0) {
({ messageId, channel, shouldMention, showMentionToggle } = arg0);
return DispatcherDefault.dispatch({ type: "CREATE_SHALLOW_PENDING_REPLY", messageId, channel, shouldMention, showMentionToggle });
};
export const setPendingReplyShouldMention = function setPendingReplyShouldMention(id, shouldMention) {
DispatcherDefault.dispatch({ type: "SET_PENDING_REPLY_SHOULD_MENTION", channelId: id, shouldMention });
};
export const deletePendingReply = function deletePendingReply(id) {
DispatcherDefault.dispatch({ type: "DELETE_PENDING_REPLY", channelId: id });
};