diff --git a/surfsense_web/lib/query-client/cache-keys.ts b/surfsense_web/lib/query-client/cache-keys.ts index db7af6636..fa963f26d 100644 --- a/surfsense_web/lib/query-client/cache-keys.ts +++ b/surfsense_web/lib/query-client/cache-keys.ts @@ -4,6 +4,7 @@ import type { GetLLMConfigsRequest } from "@/contracts/types/llm-config.types"; import type { GetPodcastsRequest } from "@/contracts/types/podcast.types"; import type { GetRolesRequest } from "@/contracts/types/roles.types"; import type { GetSearchSpacesRequest } from "@/contracts/types/search-space.types"; +import type { GetMembersRequest } from "@/contracts/types/members.types"; export const cacheKeys = { chats: { @@ -52,4 +53,8 @@ export const cacheKeys = { permissions: { all: () => ["permissions"] as const, }, + members: { + all: (searchSpaceId: string) => ["members", searchSpaceId] as const, + myAccess: (searchSpaceId: string) => ["members", "my-access", searchSpaceId] as const, + }, };