UNPKG

smc-hub

Version:

CoCalc: Backend webserver component

13 lines (12 loc) 400 B
import { PublicPaths } from "./public-paths"; import { AuthorInfo } from "./authors"; import { SettingsDAO } from "./settings"; export declare function handle_path_request(opts: { public_paths: PublicPaths; author_info: AuthorInfo; settings_dao: SettingsDAO; req: any; res: any; path_to_files: Function; viewer?: "download" | "raw" | "share" | "embed"; }): Promise<void>;