UNPKG

@cocalc/server

Version:

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

14 lines (13 loc) 463 B
import { BaseProject, CopyOptions, ProjectStatus, ProjectState } from "./base"; declare class Project extends BaseProject { private HOME; constructor(project_id: string); state(): Promise<ProjectState>; status(): Promise<ProjectStatus>; start(): Promise<void>; stop(): Promise<void>; copyPath(opts: CopyOptions): Promise<string>; setRunQuota(): Promise<void>; } export default function get(project_id: string): Project; export {};