mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
feat: add cache keys and permissions query atom for RBAC
This commit is contained in:
parent
e086dd51fa
commit
c732c5deee
2 changed files with 15 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ import type { GetDocumentsRequest } from "@/contracts/types/document.types";
|
|||
import type { GetLLMConfigsRequest } from "@/contracts/types/llm-config.types";
|
||||
import type { GetPodcastsRequest } from "@/contracts/types/podcast.types";
|
||||
import type { GetSearchSpacesRequest } from "@/contracts/types/search-space.types";
|
||||
import type { GetRolesRequest } from "@/contracts/types/roles.types";
|
||||
|
||||
export const cacheKeys = {
|
||||
chats: {
|
||||
|
|
@ -44,4 +45,4 @@ export const cacheKeys = {
|
|||
user: {
|
||||
current: () => ["user", "me"] as const,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue