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