mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-02-06 05:23:08 +00:00
chore: add pre-built dist folder for npx usage
This commit is contained in:
committed by
Romuald Członkowski
parent
a70d96a373
commit
5057481e70
44
dist/services/node-migration-service.d.ts
vendored
Normal file
44
dist/services/node-migration-service.d.ts
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
import { BreakingChangeDetector } from './breaking-change-detector';
|
||||
import { NodeVersionService } from './node-version-service';
|
||||
export interface MigrationResult {
|
||||
success: boolean;
|
||||
nodeId: string;
|
||||
nodeName: string;
|
||||
fromVersion: string;
|
||||
toVersion: string;
|
||||
appliedMigrations: AppliedMigration[];
|
||||
remainingIssues: string[];
|
||||
confidence: 'HIGH' | 'MEDIUM' | 'LOW';
|
||||
updatedNode: any;
|
||||
}
|
||||
export interface AppliedMigration {
|
||||
propertyName: string;
|
||||
action: string;
|
||||
oldValue?: any;
|
||||
newValue?: any;
|
||||
description: string;
|
||||
}
|
||||
export declare class NodeMigrationService {
|
||||
private versionService;
|
||||
private breakingChangeDetector;
|
||||
constructor(versionService: NodeVersionService, breakingChangeDetector: BreakingChangeDetector);
|
||||
migrateNode(node: any, fromVersion: string, toVersion: string): Promise<MigrationResult>;
|
||||
private applyMigration;
|
||||
private addProperty;
|
||||
private removeProperty;
|
||||
private renameProperty;
|
||||
private setDefault;
|
||||
private resolveDefaultValue;
|
||||
private parseVersion;
|
||||
validateMigratedNode(node: any, nodeType: string): Promise<{
|
||||
valid: boolean;
|
||||
errors: string[];
|
||||
warnings: string[];
|
||||
}>;
|
||||
migrateWorkflowNodes(workflow: any, targetVersions: Record<string, string>): Promise<{
|
||||
success: boolean;
|
||||
results: MigrationResult[];
|
||||
overallConfidence: 'HIGH' | 'MEDIUM' | 'LOW';
|
||||
}>;
|
||||
}
|
||||
//# sourceMappingURL=node-migration-service.d.ts.map
|
||||
Reference in New Issue
Block a user