@cocalc/database
Version:
CoCalc: code for working with our PostgreSQL database
17 lines (16 loc) • 414 B
TypeScript
import { PostgreSQL } from "./types";
interface Options {
project_id: string;
path: string;
account_id: string;
user_account_id: string;
limit: number;
access_times?: boolean;
edit_times?: boolean;
}
declare type Response = {
access_times?: number[];
edit_times?: number[];
};
export declare function file_use_times(db: PostgreSQL, opts: Options): Promise<Response>;
export {};