smc-hub
Version:
CoCalc: Backend webserver component
10 lines (9 loc) • 371 B
TypeScript
import { Author } from "smc-webapp/share/types";
import { Database } from "./types";
export declare class AuthorInfo {
private database;
constructor(database: Database);
get_authors(project_id: string, path: string | string[]): Promise<Author[]>;
get_username(account_id: string): Promise<string>;
get_shares(account_id: string): Promise<string[]>;
}