decord/source/modules/replies/PendingReplyActionCreators.tsx

38 lines
1.5 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 9501
2026-07-27 11:26:19 +00:00
// Function ID: 74140
2026-07-20 16:05:17 +00:00
// Name: createPendingReply
2026-07-23 10:11:24 +00:00
// Dependencies: [686, 2]
2026-07-20 16:05:17 +00:00
// Exports: createPendingReply, createShallowPendingReply, deletePendingReply, setPendingReplyShouldMention
2026-07-25 08:10:48 +00:00
// Module 9501 (createPendingReply)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/replies/PendingReplyActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const createPendingReply = function createPendingReply(arg0) {
let channel;
let mediaMention;
let message;
let shouldMention;
let showMentionToggle;
let source;
({ message, channel, shouldMention, showMentionToggle, source, mediaMention } = arg0);
2026-07-23 10:11:24 +00:00
importDefault(686).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) {
let channel;
let messageId;
let shouldMention;
let showMentionToggle;
({ messageId, channel, shouldMention, showMentionToggle } = arg0);
2026-07-23 10:11:24 +00:00
return importDefault(686).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) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "SET_PENDING_REPLY_SHOULD_MENTION", channelId: id, shouldMention };
obj.dispatch(obj);
};
export const deletePendingReply = function deletePendingReply(id) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "DELETE_PENDING_REPLY", channelId: id };
obj.dispatch(obj);
};