decord/beta/source/actions/native/BoostingActionCreators.tsx

25 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 5685
// Function ID: 5686
// Name: actions/BoostingActionCreators
// Dependencies: [4993, 5686, 1984, 2]
// Exports: closeApplyBoostModal, openApplyBoostModal, openTransferModal
// Module 5685 (actions/BoostingActionCreators)
import asyncRequireImpl from "asyncRequireImpl" /* 1984 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4993 */;
import size from "module_2" /* 2 */;
const PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY = "PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY";
const result = size.fileFinishedImporting("actions/native/BoostingActionCreators.tsx");
export const openApplyBoostModal = function openApplyBoostModal(guildId) {
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(5686, dependencyMap.paths), { guildId }, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
};
export const openTransferModal = function openTransferModal(arg0) {
({ guildBoostSlots, guildId, intent, onResult } = arg0);
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(5686, dependencyMap.paths), { guildId, guildBoostSlots, intent, onResult }, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
};
export const closeApplyBoostModal = function closeApplyBoostModal() {
ModalActionCreatorsDefault.popWithKey(PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
};