SurfSense/surfsense_web/lib/query-client/cache-keys.ts
2025-11-17 08:10:12 +02:00

9 lines
289 B
TypeScript

export const cacheKeys = {
activeSearchSpace: {
chats: (searchSpaceId: string) => ["active-search-space", "chats", searchSpaceId] as const,
activeChat: (chatId: string) => ["active-search-space", "active-chat", chatId] as const,
},
auth: {
user: ["auth", "user"] as const,
},
};