mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-04 21:32:39 +02:00
feat: implement batch unread counts for notifications to reduce API calls and improve performance
This commit is contained in:
parent
7362da52d3
commit
403097646d
18 changed files with 450 additions and 51 deletions
|
|
@ -98,5 +98,7 @@ export const cacheKeys = {
|
|||
["notifications", "search", searchSpaceId, search, tab] as const,
|
||||
sourceTypes: (searchSpaceId: number | null) =>
|
||||
["notifications", "source-types", searchSpaceId] as const,
|
||||
batchUnreadCounts: (searchSpaceId: number | null) =>
|
||||
["notifications", "unread-counts-batch", searchSpaceId] as const,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue