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 type { SplitContent, SplitContentType } from './layoutManager';
/** Build a bare content reference without loading the split registry. */
export function contentReference(
type: SplitContentType,
id: string
): SplitContent {
// Split the union to stay within TypeScript's discriminant expansion limit.
return type === 'component' ? { type, id } : { type, id };
}