@interopio/desktop-cli
Version:
io.Connect Desktop Seed Repository CLI Tools
31 lines • 1.09 kB
TypeScript
import { ComponentManager } from './component-manager';
import { ComponentRegistry } from '../types/component';
export interface ModificationOperation {
type: 'copy' | 'delete';
source: string;
target: string;
isDirectory: boolean;
configType?: 'app' | 'system' | 'branding' | 'electron-builder';
isDirectoryReplacement?: boolean;
}
export declare class ModificationManager {
private componentRegistry;
private componentManager;
constructor(componentManager?: ComponentManager);
/**
* Get the component registry for external registration of components
*/
getComponentRegistry(): ComponentRegistry;
/**
* Get the component manager for external component management
*/
getComponentManager(): ComponentManager;
applyAll(): Promise<void>;
applyForComponent(componentName: string): Promise<void>;
validate(): Promise<boolean>;
/**
* Check if there are any modifications available to process.
*/
static hasModifications(): Promise<boolean>;
}
//# sourceMappingURL=modification-manager.d.ts.map