UNPKG

@qc2168/mib

Version:
22 lines (21 loc) 843 B
export interface SaveItemType { path: string; comment: string; full?: boolean; output?: string; id?: number; checkHash?: boolean; } export interface ConfigType { backups: SaveItemType[]; output: string; adbPath?: string; } export declare const home: string; export declare const DEFAULT_CONFIG_PATH: string; export declare const getConfig: (cfgPath?: string) => ConfigType; export declare const setConfig: (cfgPath: string, conf: ConfigType) => void; export declare const addNode: (data: SaveItemType, cfgPath?: string) => ConfigType; export declare const removeNode: (id: number, cfgPath?: string) => ConfigType; export declare const editNode: (data: SaveItemType, cfgPath?: string) => ConfigType; export declare const editOutputPath: (output: string, cfgPath?: string) => ConfigType;