decord/source/modules/replies/PendingReplyActionCreators.tsx
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

26 lines
1.4 KiB
TypeScript

// Module ID: 11700
// Function ID: 11701
// Name: PendingReplyActionCreators
// Dependencies: [573, 2]
// Exports: createPendingReply, createShallowPendingReply, deletePendingReply, setPendingReplyShouldMention
// Module 11700 (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 });
};