decord/source/modules/notification_center/NotificationCenterStoreActions.tsx

21 lines
792 B
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 15672
// Function ID: 15673
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-08-15 05:55:55 +00:00
// Module 15672 (setTab)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/notification_center/NotificationCenterStoreActions.tsx");
2026-07-20 16:05:17 +00:00
export const setTab = function setTab(BROWSE) {
2026-07-29 08:29:29 +00:00
let obj = importDefault(709);
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-07-29 08:29:29 +00:00
importDefault(709).dispatch({ type: "NOTIFICATION_CENTER_CLEAR_GUILD_MENTIONS" });
2026-07-20 16:05:17 +00:00
};
export const refreshNotifications = function refreshNotifications() {
2026-07-29 08:29:29 +00:00
importDefault(709).dispatch({ type: "NOTIFICATION_CENTER_REFRESH" });
2026-07-20 16:05:17 +00:00
};