mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
feat(web): add comments and mentions cache keys
This commit is contained in:
parent
5c8621429d
commit
33670aceb5
1 changed files with 7 additions and 0 deletions
|
|
@ -72,4 +72,11 @@ export const cacheKeys = {
|
|||
["connectors", "google-drive", connectorId, "folders", parentId] as const,
|
||||
},
|
||||
},
|
||||
comments: {
|
||||
byMessage: (messageId: number) => ["comments", "message", messageId] as const,
|
||||
},
|
||||
mentions: {
|
||||
all: (searchSpaceId?: number) => ["mentions", searchSpaceId] as const,
|
||||
unreadOnly: (searchSpaceId?: number) => ["mentions", "unread", searchSpaceId] as const,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue