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
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* document_storage_service
* OpenAPI spec version: 0.1.0
*/
import type { Awareness } from './awareness';
/**
* The [`AWARENESS_MESSAGE_TYPE`] payload: one viewer's awareness, stamped
when the server relayed it so receivers can drop older relays.
*/
export interface AwarenessRelay {
/** Whether the viewer's grant lets them edit; a viewer who cannot is
shown as viewing. */
canEdit: boolean;
/** The database the viewer is in. */
databaseId: string;
/** When the server relayed it, in milliseconds since the Unix epoch. */
relayedAt: number;
/** Where the viewer is. */
state: Awareness;
/** The viewer. */
userId: string;
}