UNPKG

@viewdo/dxp-story-cli

Version:

DXP Story Management CLI

16 lines (15 loc) 622 B
import { FileService } from './FileService'; import { IConfiguration } from '../models/configuration/support/IConfiguration'; import { JSONFormatService } from './JSONFormatService'; export declare class ConfigurationFileService<T extends IConfiguration> { file_path: string; type: new (...params: any[]) => T; file_service: FileService; format_service: JSONFormatService; constructor(file_path: string, type: new (...params: any[]) => T); read(default_data?: any): T; deserialize(data?: object): T; write(model: T, removeNull?: boolean): void; ensure(): void; exists(): boolean; }