decord/source/actions/native/BoostingActionCreators.tsx

27 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-07-31 08:44:05 +00:00
// Module ID: 5027
// Function ID: 5028
2026-07-20 16:05:17 +00:00
// Name: openApplyBoostModal
2026-07-31 08:44:05 +00:00
// Dependencies: [4399, 5028, 1959, 2]
2026-07-20 16:05:17 +00:00
// Exports: closeApplyBoostModal, openApplyBoostModal, openTransferModal
2026-07-31 08:44:05 +00:00
// Module 5027 (openApplyBoostModal)
2026-07-29 08:29:29 +00:00
const PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY = "PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY";
const result = require("asyncRequireImpl").fileFinishedImporting("actions/native/BoostingActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const openApplyBoostModal = function openApplyBoostModal(guildId) {
2026-07-31 08:44:05 +00:00
let obj = importDefault(4399);
2026-07-20 16:05:17 +00:00
obj = { guildId };
2026-07-31 08:44:05 +00:00
obj.pushLazy(require(1959) /* asyncRequireImpl */(5028, dependencyMap.paths), obj, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
2026-07-20 16:05:17 +00:00
};
export const openTransferModal = function openTransferModal(arg0) {
let guildBoostSlots;
let guildId;
let intent;
let onResult;
({ guildBoostSlots, guildId, intent, onResult } = arg0);
2026-07-31 08:44:05 +00:00
importDefault(4399).pushLazy(require(1959) /* asyncRequireImpl */(5028, dependencyMap.paths), { guildId, guildBoostSlots, intent, onResult }, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
2026-07-20 16:05:17 +00:00
};
export const closeApplyBoostModal = function closeApplyBoostModal() {
2026-07-31 08:44:05 +00:00
importDefault(4399).popWithKey(PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
2026-07-20 16:05:17 +00:00
};