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

33 lines
1.3 KiB
TypeScript
Raw Permalink Normal View History

2026-10-10 08:08:14 +00:00
// Module ID: 5959
// Function ID: 5960
// Name: BoostingActionCreators
2026-10-10 08:08:14 +00:00
// Dependencies: [5934, 5960, 2000, 2]
2026-07-20 16:05:17 +00:00
// Exports: closeApplyBoostModal, openApplyBoostModal, openTransferModal
2026-10-10 08:08:14 +00:00
// Module 5959 (BoostingActionCreators)
2026-10-09 10:00:15 +00:00
import asyncRequire from "asyncRequire" /* 2000 */;
2026-10-10 08:08:14 +00:00
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5934 */;
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) {
2026-10-03 08:58:59 +00:00
const obj = ModalActionCreatorsDefault;
const obj2 = { guildId };
2026-10-10 08:08:14 +00:00
obj.pushLazy(asyncRequire(5960, dependencyMap.paths), obj2, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
2026-07-20 16:05:17 +00:00
};
export const openTransferModal = function openTransferModal(arg0) {
2026-10-03 08:58:59 +00:00
let guildBoostSlots;
let guildId;
let intent;
let onResult;
2026-07-20 16:05:17 +00:00
({ guildBoostSlots, guildId, intent, onResult } = arg0);
2026-10-03 08:58:59 +00:00
const obj = ModalActionCreatorsDefault;
2026-10-10 08:08:14 +00:00
obj.pushLazy(asyncRequire(5960, 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-10-03 08:58:59 +00:00
const obj = ModalActionCreatorsDefault;
obj.popWithKey(PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
2026-07-20 16:05:17 +00:00
};