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 schedulingKeys = createQueryKeys('scheduling', {
replacementSlots: (
id: string,
token: string,
date: string,
timeZone: string
) => [id, token, date, timeZone],
receipt: (id: string, token: string) => [id, token],
settings: (scope: string) => [scope],
bookings: (scope: string, from: string, to: string) => [scope, from, to],
insights: (scope: string, from: string, to: string) => [scope, from, to],
publicProfile: (id: string) => [id],
slots: (profile: string, event: string, date: string) => [
profile,
event,
date,
],
});