32 lines
1.3 KiB
TypeScript
32 lines
1.3 KiB
TypeScript
// Module ID: 5959
|
|
// Function ID: 5960
|
|
// Name: BoostingActionCreators
|
|
// Dependencies: [5934, 5960, 2000, 2]
|
|
// Exports: closeApplyBoostModal, openApplyBoostModal, openTransferModal
|
|
|
|
// 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) {
|
|
const obj = ModalActionCreatorsDefault;
|
|
const obj2 = { guildId };
|
|
obj.pushLazy(asyncRequire(5960, dependencyMap.paths), obj2, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
|
|
};
|
|
export const openTransferModal = function openTransferModal(arg0) {
|
|
let guildBoostSlots;
|
|
let guildId;
|
|
let intent;
|
|
let onResult;
|
|
({ guildBoostSlots, guildId, intent, onResult } = arg0);
|
|
const obj = ModalActionCreatorsDefault;
|
|
obj.pushLazy(asyncRequire(5960, dependencyMap.paths), { guildId, guildBoostSlots, intent, onResult }, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
|
|
};
|
|
export const closeApplyBoostModal = function closeApplyBoostModal() {
|
|
const obj = ModalActionCreatorsDefault;
|
|
obj.popWithKey(PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
|
|
};
|