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 { throwOnErr } from '@core/util/result';
import { storageServiceClient } from '@service-storage/client';
export async function saveCodeDocument(
documentId: string,
text: string
): Promise<void> {
await throwOnErr(() =>
storageServiceClient.simpleSave({
documentId,
file: new Blob([text], { type: 'text/plain' }),
})
);
}