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.

394 B
Raw Blame
import type { DatabaseSchemaChange } from './column-schema';

export type TableCreationResult =
  | { tableId: string; ready: true }
  | { tableId: string; ready: false; message: string };

/** Creating the table can fail; setting it up afterwards only leaves it unready. */
export type CreateTable = (
  name: string,
  existingTableId?: string
) => DatabaseSchemaChange<TableCreationResult>;