mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 17:56:25 +02:00
refactor: consolidate public chat snapshot mutations with cache invalidation
This commit is contained in:
parent
67f797232e
commit
ee56334abe
5 changed files with 41 additions and 35 deletions
|
|
@ -83,6 +83,7 @@ export const cacheKeys = {
|
|||
byToken: (shareToken: string) => ["public-chat", shareToken] as const,
|
||||
},
|
||||
publicChatSnapshots: {
|
||||
all: ["public-chat-snapshots"] as const,
|
||||
bySearchSpace: (searchSpaceId: number) =>
|
||||
["public-chat-snapshots", "search-space", searchSpaceId] as const,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue