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 previewKeys = createQueryKeys('preview', {
item: (itemId: string) => {
return {
queryKey: [itemId],
contextQueries: {
channelMessage: (channelId: string, messageId: string) => {
return { queryKey: [channelId, messageId] };
},
},
};
},
});