UNPKG

@wocker/core

Version:
21 lines (20 loc) 832 B
import { AppConfigService } from "./AppConfigService"; import { AppFileSystemService } from "./AppFileSystemService"; import { ProjectRef } from "../types/ProjectRef"; type TypeMap = { [type: string]: string; }; export declare class AppService { readonly version: string; protected readonly appConfigService: AppConfigService; protected readonly fs: AppFileSystemService; constructor(version: string, appConfigService: AppConfigService, fs: AppFileSystemService); get projects(): ProjectRef[]; isVersionGTE(version: string): boolean; get experimentalFeatures(): string[]; getProjectTypes(): TypeMap; addProject(id: string, name: string, path: string): void; getMeta(name: string, byDefault?: string): string | undefined; getMeta(name: string, byDefault: string): string; } export {};