feat: add snapshots cache key and query atom

This commit is contained in:
CREDO23 2026-02-02 15:47:24 +02:00
parent 47b7befc55
commit e62e4faaa5
2 changed files with 25 additions and 0 deletions

View file

@ -82,4 +82,7 @@ export const cacheKeys = {
publicChat: {
byToken: (shareToken: string) => ["public-chat", shareToken] as const,
},
snapshots: {
bySearchSpace: (searchSpaceId: number) => ["snapshots", "search-space", searchSpaceId] as const,
},
};