decord/beta/source/modules/replies/PendingReplyActionCreators.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

26 lines
1.4 KiB
TypeScript

// Module ID: 11791
// Function ID: 11792
// Name: PendingReplyActionCreators
// Dependencies: [577, 2]
// Exports: createPendingReply, createShallowPendingReply, deletePendingReply, setPendingReplyShouldMention
// Module 11791 (PendingReplyActionCreators)
import DispatcherDefault from "Dispatcher" /* 577 */;
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 });
};