UNPKG

@cocalc/server

Version:

CoCalc server functionality: functions used by either the hub and the next.js server

18 lines (17 loc) 583 B
import { BaseProject, CopyOptions, ProjectStatus, ProjectState } from "./base"; declare class Project extends BaseProject { constructor(project_id: string); private get; state(): Promise<ProjectState>; status(): Promise<ProjectStatus>; start(): Promise<void>; stop(): Promise<void>; copyPath(opts: CopyOptions): Promise<string>; private getProjectSynctable; private actionRequest; private waitUntilProject; private getCopySynctable; private waitUntilCopyFinished; } export default function get(project_id: string): Project; export {};