decord/source/actions/native/BoostingActionCreators.tsx

27 lines
1.1 KiB
TypeScript
Raw Normal View History

// Module ID: 5434
// Function ID: 5435
2026-07-20 16:05:17 +00:00
// Name: openApplyBoostModal
// Dependencies: [4763, 5435, 1896, 2]
2026-07-20 16:05:17 +00:00
// Exports: closeApplyBoostModal, openApplyBoostModal, openTransferModal
// Module 5434 (openApplyBoostModal)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import asyncRequireImpl from "asyncRequireImpl" /* 1896 */;
import _modDef4763 from "module_4763" /* 4763 */;
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";
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("actions/native/BoostingActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const openApplyBoostModal = function openApplyBoostModal(guildId) {
let obj = _modDef4763;
2026-07-20 16:05:17 +00:00
obj = { guildId };
obj.pushLazy(asyncRequireImpl(5435, dependencyMap.paths), obj, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
2026-07-20 16:05:17 +00:00
};
export const openTransferModal = function openTransferModal(arg0) {
({ guildBoostSlots, guildId, intent, onResult } = arg0);
_modDef4763.pushLazy(asyncRequireImpl(5435, dependencyMap.paths), { guildId, guildBoostSlots, intent, onResult }, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
2026-07-20 16:05:17 +00:00
};
export const closeApplyBoostModal = function closeApplyBoostModal() {
_modDef4763.popWithKey(PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
2026-07-20 16:05:17 +00:00
};