decord/source/modules/notification_center/NotificationCenterStoreActions.tsx

22 lines
882 B
TypeScript
Raw Normal View History

2026-07-21 22:01:30 +00:00
// Module ID: 15020
// Function ID: 113157
2026-07-20 16:05:17 +00:00
// Name: setTab
2026-07-21 22:01:30 +00:00
// Dependencies: [646840323, 899088385]
2026-07-20 16:05:17 +00:00
// Exports: clearNotificationGuildMentions, refreshNotifications, setTab
2026-07-21 22:01:30 +00:00
// Module 15020 (setTab)
2026-07-20 16:05:17 +00:00
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" });
};