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 sharePermissionKeys = createQueryKeys('sharePermissions', {
entity: (itemType: string, id: string) => ({
queryKey: [itemType, id],
}),
channelNames: (channelIds: readonly string[]) => ({
queryKey: [channelIds],
}),
});