55 lines
1.9 KiB
TypeScript
55 lines
1.9 KiB
TypeScript
// Module ID: 11311
|
|
// Function ID: 11312
|
|
// Name: getPromiseableActionHandlers
|
|
// Dependencies: [19, 11312, 21, 4550, 11316, 2007, 4684, 11319, 2]
|
|
// Exports: getPromiseableActionHandlers, openAutomodProfileQuarantineAlert, openConfirmRemoveMentionRaid, openRaidResolveModal, openSubmitFeedback
|
|
|
|
// Module 11311 (getPromiseableActionHandlers)
|
|
import "noop";
|
|
import AutomodEventType from "AutomodEventType";
|
|
import { jsx } from "jsxProd";
|
|
|
|
let c3;
|
|
let c4;
|
|
const require = arg1;
|
|
({ AutomodActionType: c3, SUBMIT_FEEDBACK_MODAL_KEY: c4 } = AutomodEventType);
|
|
const result = require("jsxProd").fileFinishedImporting("modules/guild_automod/GuildAutomodActionActionCreators.native.tsx");
|
|
|
|
export const getPromiseableActionHandlers = function getPromiseableActionHandlers() {
|
|
return { [closure_3.BLOCK_MESSAGE]: null, [closure_3.FLAG_TO_CHANNEL]: null, [closure_3.USER_COMMUNICATION_DISABLED]: null };
|
|
};
|
|
export const openSubmitFeedback = function openSubmitFeedback(messageId, content, decisionId, channel) {
|
|
let obj = importDefault(4550);
|
|
obj = {
|
|
onCloseModal() {
|
|
callback(table[3]).popWithKey(closure_4);
|
|
},
|
|
automodDecision: obj
|
|
};
|
|
obj = { messageId, messageContent: content, decisionId, channel };
|
|
obj.pushLazy(require(2007) /* asyncRequireImpl */(11316, dependencyMap.paths), obj, closure_4);
|
|
};
|
|
export function openRaidResolveModal() {
|
|
|
|
}
|
|
export function openConfirmRemoveMentionRaid(arg0) {
|
|
|
|
}
|
|
export const openAutomodProfileQuarantineAlert = function openAutomodProfileQuarantineAlert(guildId) {
|
|
let closure_0 = guildId;
|
|
let obj = importDefault(4684);
|
|
obj = {
|
|
importer() {
|
|
return guildId(outer1_2[5])(outer1_2[7], outer1_2.paths).then((arg0) => {
|
|
let closure_0 = arg0.default;
|
|
return (arg0) => {
|
|
const obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj.guildId = closure_0;
|
|
return outer2_5(closure_0, obj);
|
|
};
|
|
});
|
|
}
|
|
};
|
|
obj.openLazy(obj);
|
|
};
|