Appearance
DoCurious API Reference / store / selectGroupedNotifications
Function: selectGroupedNotifications()
selectGroupedNotifications(
state):DateGroup[]
Defined in: store/useNotificationStore.ts:280
Select notifications grouped first by date bucket, then by category.
Returns an array of DateGroup objects sorted chronologically (newest first). Within each date group, categories are sorted alphabetically and each includes a count of notifications.
Parameters
state
NotificationState
Returns
DateGroup[]