mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
ci: Break most of the circular dependencies in code (no-changelog) (#4990)
This commit is contained in:
committed by
GitHub
parent
82f763589b
commit
5db9c46043
@@ -1,4 +1,4 @@
|
||||
import { IDataObject } from './Interfaces';
|
||||
import type { IDataObject } from './Interfaces';
|
||||
import { ExecutionBaseError } from './NodeErrors';
|
||||
|
||||
/**
|
||||
|
||||
@@ -10,7 +10,7 @@ import type { WorkflowHooks } from './WorkflowHooks';
|
||||
import type { WorkflowActivationError } from './WorkflowActivationError';
|
||||
import type { WorkflowOperationError } from './WorkflowErrors';
|
||||
import type { NodeApiError, NodeOperationError } from './NodeErrors';
|
||||
import { ExpressionError } from './ExpressionError';
|
||||
import type { ExpressionError } from './ExpressionError';
|
||||
|
||||
export interface IAdditionalCredentialOptions {
|
||||
oauth2?: IOAuth2Options;
|
||||
|
||||
@@ -501,7 +501,7 @@ export class WorkflowDataProxy {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
const sourceData: ISourceData = that.executeData?.source.main![0] as ISourceData;
|
||||
const sourceData: ISourceData = that.executeData.source.main[0] as ISourceData;
|
||||
|
||||
if (name === 'name') {
|
||||
return sourceData.previousNode;
|
||||
@@ -993,7 +993,7 @@ export class WorkflowDataProxy {
|
||||
});
|
||||
}
|
||||
|
||||
const sourceData: ISourceData = that.executeData?.source.main![
|
||||
const sourceData: ISourceData = that.executeData.source.main[
|
||||
pairedItem.input || 0
|
||||
] as ISourceData;
|
||||
|
||||
@@ -1105,7 +1105,7 @@ export class WorkflowDataProxy {
|
||||
});
|
||||
}
|
||||
|
||||
const sourceData: ISourceData = that.executeData?.source.main![0] as ISourceData;
|
||||
const sourceData: ISourceData = that.executeData.source.main[0] as ISourceData;
|
||||
|
||||
if (property === 'context') {
|
||||
return that.nodeContextGetter(sourceData.previousNode);
|
||||
|
||||
Reference in New Issue
Block a user