smc-hub
Version:
CoCalc: Backend webserver component
16 lines (15 loc) • 359 B
TypeScript
export interface Database {
synctable: Function;
sha1: (...args: any[]) => string;
_query: (opts: object) => void;
get_usernames: (opts: object) => void;
get_collaborators: (opts: {
project_id: string;
cb: Function;
}) => void;
}
export interface Logger {
debug: Function;
info: Function;
warn: Function;
}