Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5012.js (118.4 MB)
26 lines
1.4 KiB
TypeScript
26 lines
1.4 KiB
TypeScript
// Module ID: 12000
|
|
// Function ID: 12001
|
|
// Name: PendingReplyActionCreators
|
|
// Dependencies: [573, 2]
|
|
// Exports: createPendingReply, createShallowPendingReply, deletePendingReply, setPendingReplyShouldMention
|
|
|
|
// Module 12000 (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 });
|
|
};
|