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 { createQueryKeys } from '@lukemorales/query-key-factory';
export const documentLoadKeys = createQueryKeys('documentLoad', {
bundle: (documentId: string) => ({
queryKey: [documentId],
}),
offlineContext: (userId: string, epoch: string, documentId: string) => ({
queryKey: [userId, epoch, documentId],
}),
authorizedBundle: (userId: string, epoch: string, documentId: string) => ({
queryKey: [userId, epoch, documentId],
}),
});