decord/source/modules/notification_center/NotificationCenterStoreActions.tsx

24 lines
864 B
TypeScript
Raw Normal View History

// Module ID: 16416
// Function ID: 16417
2026-07-20 16:05:17 +00:00
// Name: setTab
// Dependencies: [573, 2]
2026-07-20 16:05:17 +00:00
// Exports: clearNotificationGuildMentions, refreshNotifications, setTab
// Module 16416 (setTab)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 573 */;
2026-08-24 06:08:38 +00:00
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
};