UNPKG

smc-hub

Version:

CoCalc: Backend webserver component

14 lines (13 loc) 588 B
interface Key { project_id: string; path: string; time: Date; target: string; } import { PostgreSQL } from "../postgres/types"; export declare function handle_mentions_loop(db: PostgreSQL, poll_interval_s?: number): Promise<void>; export declare function handle_all_mentions(db: any): Promise<void>; export declare function handle_mention(db: PostgreSQL, key: Key, source: string, _priority: number, // ignored for now. description?: string): Promise<void>; export declare function record_error(db: any, key: Key, action: string, error: string): Promise<void>; export {};