Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

412 B
Raw Blame
/** Captured document-session authority supplied by the query layer. */
export type DocumentSyncAuthorization = {
  /** Never returns a persisted token; every reconnect is freshly authorized. */
  getToken: () => Promise<string>;
  isCurrent: () => boolean;
  /** Fresh grants must permit the edits the cached view allowed. */
  canWrite: () => boolean;
  onInvalidated: (listener: () => void) => () => void;
};