decord/alpha/source/actions/native/BoostingActionCreators.tsx
github-actions 72019a2d0c chore: update source for alpha 348.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-25 08:38:05 +00:00

24 lines
1.2 KiB
TypeScript

// Module ID: 5741
// Function ID: 5742
// Name: actions/BoostingActionCreators
// Dependencies: [5032, 5742, 1980, 2]
// Exports: closeApplyBoostModal, openApplyBoostModal, openTransferModal
// Module 5741 (actions/BoostingActionCreators)
import asyncRequireImpl from "asyncRequireImpl" /* 1980 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 5032 */;
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) {
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(5742, dependencyMap.paths), { guildId }, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
};
export const openTransferModal = function openTransferModal(arg0) {
({ guildBoostSlots, guildId, intent, onResult } = arg0);
ModalActionCreatorsDefault.pushLazy(asyncRequireImpl(5742, dependencyMap.paths), { guildId, guildBoostSlots, intent, onResult }, PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
};
export const closeApplyBoostModal = function closeApplyBoostModal() {
ModalActionCreatorsDefault.popWithKey(PREMIUM_GUILD_SUBSCRIBE_MODAL_KEY);
};