UNPKG

@altostra/core

Version:

Core library for shared types and logic

15 lines (14 loc) 692 B
import type { IProjectManager } from "../ProjectManager/IProjectManager"; import type { GetExtraDataOptions, GetLastVersionOptions, ProjectClass, ProjectInstance } from "./PublicAPI"; export type { GetExtraDataOptions, GetLastVersionOptions, ProjectClass }; export interface ProjectAPIOptions { projectManager: IProjectManager; rootDir: string; } /** * Creates a project-api, that used to control deployments and manage all project * related tasks. \ * Nowadays this API is mostly used for loading the project from the disk. */ export declare function createProjectApi({ projectManager, rootDir, }: ProjectAPIOptions): ProjectClass; export declare type Project = ProjectInstance;