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 accessRequestKeys = createQueryKeys('accessRequests', {
entity: (entityType: string, entityId: string) => ({
queryKey: [entityType, entityId],
contextQueries: {
state: (offset: number) => ({ queryKey: ['state', offset] }),
grants: null,
},
}),
});