UNPKG

@wocker/ws

Version:

Docker workspace for web projects

18 lines (17 loc) 749 B
import { AppConfig, PresetServiceSearchOptions as SearchOptions, Preset, PresetSource, AppConfigService, LogService, FileSystemDriver } from "@wocker/core"; type PresetData = { name: string; source: PresetSource; path?: string; }; export declare class PresetRepository { protected readonly appConfigService: AppConfigService; protected readonly logService: LogService; protected readonly driver: FileSystemDriver; constructor(appConfigService: AppConfigService, logService: LogService, driver: FileSystemDriver); protected load(data: PresetData): Preset; protected configs(): AppConfig["presets"]; search(options?: SearchOptions): Preset[]; searchOne(options?: SearchOptions): Preset | null; } export {};