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

25 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 5741
// Function ID: 5742
// Name: actions/BoostingActionCreators
// Dependencies: [5032, 5742, 1980, 2]
2026-07-20 16:05:17 +00:00
// Exports: closeApplyBoostModal, openApplyBoostModal, openTransferModal
// Module 5741 (actions/BoostingActionCreators)
import asyncRequireImpl from "asyncRequireImpl" /* 1980 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5032 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
2026-07-29 08:29:29 +00:00
const PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY = "PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY";
const result = size.fileFinishedImporting("actions/native/BoostingActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const openApplyBoostModal = function openApplyBoostModal(guildId) {
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(5742, dependencyMap.paths), { guildId }, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
2026-07-20 16:05:17 +00:00
};
export const openTransferModal = function openTransferModal(arg0) {
({ guildBoostSlots, guildId, intent, onResult } = arg0);
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(5742, dependencyMap.paths), { guildId, guildBoostSlots, intent, onResult }, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
2026-07-20 16:05:17 +00:00
};
export const closeApplyBoostModal = function closeApplyBoostModal() {
ModalActionCreatorsDefault.popWithKey(PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
2026-07-20 16:05:17 +00:00
};