Cotton code
17 lines · 568 B · TypeScriptRaw
/** * A row as the store keeps it. Apart from store.ts so a module a Node script * imports (open_tables_lock.ts, for scripts/open-tables-proof.ts) can name it * without loading the Worker: a type import still loads its file. */export interface StoredRow {  table: string;  id: string;  data: Record<string, unknown>;  owner: string | null;  version: number;  deleted: boolean;  created_at: string;  updated_at: string;  /** When the row landed in this object, by its clock alone; never set by a write (src/store.ts `landing`). */  landed_at?: string;}