feat(web): add comments and mentions cache keys

This commit is contained in:
CREDO23 2026-01-15 19:51:28 +02:00
parent 5c8621429d
commit 33670aceb5

View file

@ -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,
},
};