mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Use NodeConnectionType consistently across the code base (no-changelog) (#10595)
This commit is contained in:
@@ -8,8 +8,10 @@ import type {
|
||||
INodeTypeDescription,
|
||||
INodeTypeBaseDescription,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeApiError, NodeOperationError } from 'n8n-workflow';
|
||||
import { NodeApiError, NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import set from 'lodash/set';
|
||||
import { oldVersionNotice } from '../../../utils/descriptions';
|
||||
import {
|
||||
formatFeed,
|
||||
formatResults,
|
||||
@@ -34,8 +36,6 @@ import {
|
||||
} from './descriptions';
|
||||
|
||||
import type { SplunkFeedResponse } from './types';
|
||||
import set from 'lodash/set';
|
||||
import { oldVersionNotice } from '../../../utils/descriptions';
|
||||
|
||||
const versionDescription: INodeTypeDescription = {
|
||||
displayName: 'Splunk',
|
||||
@@ -48,8 +48,8 @@ const versionDescription: INodeTypeDescription = {
|
||||
defaults: {
|
||||
name: 'Splunk',
|
||||
},
|
||||
inputs: ['main'],
|
||||
outputs: ['main'],
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
credentials: [
|
||||
{
|
||||
name: 'splunkApi',
|
||||
|
||||
Reference in New Issue
Block a user