n8n
Version:
n8n Workflow Automation Tool
23 lines (22 loc) • 505 B
TypeScript
import type { TagEntity, WorkflowTagMapping } from '@n8n/db';
export interface WorkflowImportResult {
id: string;
name: string;
publishingError?: string;
}
export interface ImportResult {
workflows: WorkflowImportResult[];
credentials: Array<{
id: string;
name: string;
type: string;
}>;
variables: {
imported: string[];
};
tags: {
tags: TagEntity[];
mappings: WorkflowTagMapping[];
};
removedFiles?: string[];
}