decord/source/modules/guild_automod/GuildAutomodActionActionCreators.native.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

57 lines
2.1 KiB
TypeScript

// Module ID: 11793
// Function ID: 11794
// Name: getPromiseableActionHandlers
// Dependencies: [19, 11794, 21, 4731, 11798, 2008, 4866, 11801, 2]
// Exports: getPromiseableActionHandlers, openAutomodProfileQuarantineAlert, openConfirmRemoveMentionRaid, openRaidResolveModal, openSubmitFeedback
// Module 11793 (getPromiseableActionHandlers)
import noopAll from "noop" /* 19 */;
import asyncRequireImpl from "asyncRequireImpl" /* 2008 */;
import _modDef4731 from "module_4731" /* 4731 */;
import _modDef4866 from "module_4866" /* 4866 */;
import AutomodEventType from "AutomodEventType" /* 11794 */;
import { jsx } from "jsxProd" /* 21 */;
require = arg1;
noopAll;
({ AutomodActionType: c3, SUBMIT_FEEDBACK_MODAL_KEY: c4 } = AutomodEventType);
const result = require("set").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 = _modDef4731;
obj = {
onCloseModal() {
callback(table[3]).popWithKey(closure_4);
},
automodDecision: obj
};
obj = { messageId, messageContent: content, decisionId, channel };
obj.pushLazy(asyncRequireImpl(11798, dependencyMap.paths), obj, closure_4);
};
export function openRaidResolveModal() {
}
export function openConfirmRemoveMentionRaid(arg0) {
}
export const openAutomodProfileQuarantineAlert = function openAutomodProfileQuarantineAlert(guildId) {
closure_0 = guildId;
let obj = _modDef4866;
obj = {
importer() {
return guildId(closure_1_2[5])(closure_1_2[7], closure_1_2.paths).then((arg0) => {
closure_0 = arg0.default;
return (arg0) => {
const obj = {};
const merged = Object.assign(arg0);
obj.guildId = closure_0;
return closure_2_5(closure_0, obj);
};
});
}
};
obj.openLazy(obj);
};