Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
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 });
}