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 {
DatabaseCellValue,
DatabaseViewColumn,
} from '../../database/core/database-view';
/** One cell of a pipeline row, in the shared grid's terms. */
export type PipelineEntryCell = {
column: DatabaseViewColumn;
value: DatabaseCellValue;
};
/** A pipeline row that references a company or contact. */
export type PipelineEntry = {
rowId: string;
pipeline: {
id: string;
name: string;
tableId: string;
shared: boolean;
canEdit: boolean;
};
/** Every cell but the reference to the record itself, in column order. */
cells: PipelineEntryCell[];
};
/** The record whose pipeline entries are shown. */
export type PipelineEntryRecord = { type: 'company' | 'contact'; id: string };