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

33 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 5959
// Function ID: 5960
2026-10-07 22:43:51 +00:00
// Name: BoostingActionCreators
2026-10-12 16:32:48 +00:00
// Dependencies: [5934, 5960, 2000, 2]
// Exports: closeApplyBoostModal, openApplyBoostModal, openTransferModal
2026-10-12 16:32:48 +00:00
// Module 5959 (BoostingActionCreators)
import asyncRequire from "asyncRequire" /* 2000 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5934 */;
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) {
2026-10-01 14:13:23 +00:00
const obj = ModalActionCreatorsDefault;
const obj2 = { guildId };
2026-10-12 16:32:48 +00:00
obj.pushLazy(asyncRequire(5960, dependencyMap.paths), obj2, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
};
export const openTransferModal = function openTransferModal(arg0) {
2026-10-01 14:13:23 +00:00
let guildBoostSlots;
let guildId;
let intent;
let onResult;
({ guildBoostSlots, guildId, intent, onResult } = arg0);
2026-10-01 14:13:23 +00:00
const obj = ModalActionCreatorsDefault;
2026-10-12 16:32:48 +00:00
obj.pushLazy(asyncRequire(5960, dependencyMap.paths), { guildId, guildBoostSlots, intent, onResult }, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
};
export const closeApplyBoostModal = function closeApplyBoostModal() {
2026-10-01 14:13:23 +00:00
const obj = ModalActionCreatorsDefault;
obj.popWithKey(PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
};