decord/source/modules/notification_center/NotificationCenterStoreActions.tsx
2026-07-20 17:37:48 +00:00

21 lines
862 B
TypeScript

// Module ID: 15010
// Function ID: 113099
// Name: setTab
// Dependencies: []
// Exports: clearNotificationGuildMentions, refreshNotifications, setTab
// Module 15010 (setTab)
const _module = require(dependencyMap[1]);
const result = _module.fileFinishedImporting("modules/notification_center/NotificationCenterStoreActions.tsx");
export const setTab = function setTab(BROWSE) {
let obj = importDefault(dependencyMap[0]);
obj = { type: "NOTIFICATION_CENTER_SET_TAB", tab: BROWSE };
obj.dispatch(obj);
};
export const clearNotificationGuildMentions = function clearNotificationGuildMentions() {
importDefault(dependencyMap[0]).dispatch({ type: "NOTIFICATION_CENTER_CLEAR_GUILD_MENTIONS" });
};
export const refreshNotifications = function refreshNotifications() {
importDefault(dependencyMap[0]).dispatch({ type: "NOTIFICATION_CENTER_REFRESH" });
};