Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

438 B
Raw Blame
import type { QueryClient } from '@tanstack/solid-query';
import { documentLoadKeys } from './documentLoad/keys';
import { documentLocationKeys } from './keys';

/** Remove document data that may be scoped to the signed-in user. */
export function clearDocumentQueryCache(queryClient: QueryClient) {
  queryClient.removeQueries({ queryKey: documentLoadKeys._def });
  queryClient.removeQueries({ queryKey: documentLocationKeys._def });
}