decord/source/actions/native/BoostingActionCreators.tsx
2026-08-12 06:57:52 +00:00

26 lines
1.2 KiB
TypeScript

// Module ID: 5191
// Function ID: 5192
// Name: openApplyBoostModal
// Dependencies: [4549, 5192, 2007, 2]
// Exports: closeApplyBoostModal, openApplyBoostModal, openTransferModal
// Module 5191 (openApplyBoostModal)
const PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY = "PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY";
const result = require("asyncRequireImpl").fileFinishedImporting("actions/native/BoostingActionCreators.tsx");
export const openApplyBoostModal = function openApplyBoostModal(guildId) {
let obj = importDefault(4549);
obj = { guildId };
obj.pushLazy(require(2007) /* asyncRequireImpl */(5192, dependencyMap.paths), obj, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
};
export const openTransferModal = function openTransferModal(arg0) {
let guildBoostSlots;
let guildId;
let intent;
let onResult;
({ guildBoostSlots, guildId, intent, onResult } = arg0);
importDefault(4549).pushLazy(require(2007) /* asyncRequireImpl */(5192, dependencyMap.paths), { guildId, guildBoostSlots, intent, onResult }, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
};
export const closeApplyBoostModal = function closeApplyBoostModal() {
importDefault(4549).popWithKey(PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
};