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 { createKeyedProjection } from '@app/lib/queries/soup/create-keyed-projection';
import type { Accessor } from 'solid-js';
/** Stable row identity, with independent tracking and reconciliation per row. */
export function createSoupRowStore<TRow extends { id: string }>(
rows: Accessor<TRow[]>
): Accessor<TRow[]> {
return createKeyedProjection(
rows,
(row) => row.id,
(row) => row
);
}