decord/source/modules/notification_center/NotificationCenterStoreActions.tsx

24 lines
864 B
TypeScript
Raw Normal View History

2026-09-01 10:26:29 +00:00
// Module ID: 16004
// Function ID: 16005
2026-07-20 16:05:17 +00:00
// Name: setTab
2026-07-29 08:29:29 +00:00
// Dependencies: [709, 2]
2026-07-20 16:05:17 +00:00
// Exports: clearNotificationGuildMentions, refreshNotifications, setTab
2026-09-01 10:26:29 +00:00
// Module 16004 (setTab)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 709 */;
const result = set.fileFinishedImporting("modules/notification_center/NotificationCenterStoreActions.tsx");
2026-07-20 16:05:17 +00:00
export const setTab = function setTab(BROWSE) {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
2026-07-20 16:05:17 +00:00
obj = { type: "NOTIFICATION_CENTER_SET_TAB", tab: BROWSE };
obj.dispatch(obj);
};
export const clearNotificationGuildMentions = function clearNotificationGuildMentions() {
2026-08-24 06:08:38 +00:00
dispatcherDefault.dispatch({ type: "NOTIFICATION_CENTER_CLEAR_GUILD_MENTIONS" });
2026-07-20 16:05:17 +00:00
};
export const refreshNotifications = function refreshNotifications() {
2026-08-24 06:08:38 +00:00
dispatcherDefault.dispatch({ type: "NOTIFICATION_CENTER_REFRESH" });
2026-07-20 16:05:17 +00:00
};