@wocker/ws
Version:
Docker workspace for web projects
17 lines (16 loc) • 656 B
TypeScript
import { AppConfig, PresetServiceSearchOptions as SearchOptions, Preset, PresetSource, AppConfigService, LogService } from "@wocker/core";
type PresetData = {
name: string;
source: PresetSource;
path?: string;
};
export declare class PresetRepository {
protected readonly appConfigService: AppConfigService;
protected readonly logService: LogService;
constructor(appConfigService: AppConfigService, logService: LogService);
protected load(data: PresetData): Preset;
protected configs(): AppConfig["presets"];
search(options?: SearchOptions): Preset[];
searchOne(options?: SearchOptions): Preset | null;
}
export {};