decord/source/modules/notification_center/NotificationCenterStoreActions.tsx

21 lines
793 B
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 15190
// Function ID: 115691
2026-07-20 16:05:17 +00:00
// Name: setTab
2026-07-23 10:11:24 +00:00
// Dependencies: [686, 2]
2026-07-20 16:05:17 +00:00
// Exports: clearNotificationGuildMentions, refreshNotifications, setTab
2026-07-24 07:16:23 +00:00
// Module 15190 (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-23 10:11:24 +00:00
let obj = importDefault(686);
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-23 10:11:24 +00:00
importDefault(686).dispatch({ type: "NOTIFICATION_CENTER_CLEAR_GUILD_MENTIONS" });
2026-07-20 16:05:17 +00:00
};
export const refreshNotifications = function refreshNotifications() {
2026-07-23 10:11:24 +00:00
importDefault(686).dispatch({ type: "NOTIFICATION_CENTER_REFRESH" });
2026-07-20 16:05:17 +00:00
};