@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
14 lines (13 loc) • 535 B
TypeScript
/**
* Hook that provides Redux-powered actions for app notifications
* Integrates RTK Query with Redux slice actions
*/
export declare function useAppNotificationsActions(): {
loadMore: () => void;
markNotificationAsRead: (notificationId: string) => Promise<void>;
markAllNotificationsAsRead: () => Promise<void>;
resetAppNotifications: () => Promise<void>;
fetchMoreNotifications: (pageToFetch: number) => Promise<void>;
updateUnreadCount: () => Promise<void>;
};
export default useAppNotificationsActions;