decord/source/modules/notification_center/NotificationCenterStoreActions.tsx

22 lines
862 B
TypeScript
Raw Normal View History

2026-07-21 06:55:02 +00:00
// Module ID: 15017
// Function ID: 113123
2026-07-20 16:05:17 +00:00
// Name: setTab
// Dependencies: []
// Exports: clearNotificationGuildMentions, refreshNotifications, setTab
2026-07-21 06:55:02 +00:00
// Module 15017 (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" });
};