UNPKG

@wocker/ws

Version:

Docker workspace for web projects

14 lines (13 loc) 745 B
import { AppConfigService, AppFileSystemService, Project, ProjectProperties, ProjectServiceSearchParams as SearchParams } from "@wocker/core"; import { KeystoreService } from "../../keystore"; export declare class ProjectRepository { protected readonly appConfigService: AppConfigService; protected readonly fs: AppFileSystemService; protected readonly keystoreService: KeystoreService; constructor(appConfigService: AppConfigService, fs: AppFileSystemService, keystoreService: KeystoreService); getByName(name: string): Project; fromObject(data: Partial<ProjectProperties>): Project; save(project: Project): void; search(params?: SearchParams): Project[]; searchOne(params?: SearchParams): Project | null; }