decord/source/actions/native/BoostingActionCreators.tsx

27 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-09-02 09:53:35 +00:00
// Module ID: 5385
// Function ID: 5386
2026-07-20 16:05:17 +00:00
// Name: openApplyBoostModal
2026-09-02 09:53:35 +00:00
// Dependencies: [4723, 5386, 2008, 2]
2026-07-20 16:05:17 +00:00
// Exports: closeApplyBoostModal, openApplyBoostModal, openTransferModal
2026-09-02 09:53:35 +00:00
// Module 5385 (openApplyBoostModal)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
2026-09-02 09:53:35 +00:00
import asyncRequireImpl from "asyncRequireImpl" /* 2008 */;
2026-09-01 10:26:29 +00:00
import _modDef4723 from "module_4723" /* 4723 */;
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) {
2026-09-01 10:26:29 +00:00
let obj = _modDef4723;
2026-07-20 16:05:17 +00:00
obj = { guildId };
2026-09-02 09:53:35 +00:00
obj.pushLazy(asyncRequireImpl(5386, 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);
2026-09-02 09:53:35 +00:00
_modDef4723.pushLazy(asyncRequireImpl(5386, 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-09-01 10:26:29 +00:00
_modDef4723.popWithKey(PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
2026-07-20 16:05:17 +00:00
};