SurfSense/surfsense_web/lib/query-client/cache-keys.ts

10 lines
289 B
TypeScript
Raw Normal View History

2025-11-11 04:02:04 +02:00
export const cacheKeys = {
2025-11-12 13:27:15 +02:00
activeSearchSpace: {
2025-11-14 00:42:19 +02:00
chats: (searchSpaceId: string) => ["active-search-space", "chats", searchSpaceId] as const,
activeChat: (chatId: string) => ["active-search-space", "active-chat", chatId] as const,
2025-11-12 13:27:15 +02:00
},
2025-11-15 02:07:20 +02:00
auth: {
user: ["auth", "user"] as const,
},
2025-11-11 04:02:04 +02:00
};