UNPKG

smc-hub

Version:

CoCalc: Backend webserver component

16 lines (15 loc) 370 B
import { Author } from "smc-webapp/share/types"; import { HostInfo } from "./public-paths"; export declare function render_public_path(opts: { req: any; res: any; info?: HostInfo; dir: string; react: Function; path: string; viewer: string; hidden?: boolean; sort: string; authors: Author[]; views?: number; }): Promise<void>;