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 botKeys = createQueryKeys('bots', {
list: null,
detail: (botId: string) => ({ queryKey: [botId] }),
channels: (botId: string) => ({ queryKey: [botId] }),
tokens: (botId: string) => ({ queryKey: [botId] }),
});
export const botProfileKeys = createQueryKeys('bot-owner-profiles', {
detail: (botId: string) => ({ queryKey: [botId] }),
});