UNPKG

@cocalc/database

Version:

CoCalc: code for working with our PostgreSQL database

12 lines (11 loc) 341 B
import { PostgreSQL } from "./types"; export interface Patch { time_utc: Date; patch_length?: number; patch?: string; user?: string; account_id?: string; format?: number; snapshot?: string; } export declare function syncdoc_history(db: PostgreSQL, string_id: string, include_patches?: boolean): Promise<Patch[]>;