@cocalc/server
Version:
CoCalc server functionality: functions used by either the hub and the next.js server
9 lines (8 loc) • 407 B
TypeScript
import { BaseProject } from "./base";
export declare const COCALC_MODES: string[];
declare type ValueOf<T> = T[keyof T];
export declare type CocalcMode = ValueOf<typeof COCALC_MODES>;
export declare type ProjectControlFunction = (project_id: string) => BaseProject;
export default function init(mode?: CocalcMode): ProjectControlFunction;
export declare const getProject: ProjectControlFunction;
export {};