mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 11:49:59 +00:00
refactor: Use NodeConnectionType consistently across the code base (no-changelog) (#10595)
This commit is contained in:
@@ -5,7 +5,7 @@ import type {
|
||||
INodeType,
|
||||
INodeTypeDescription,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeOperationError } from 'n8n-workflow';
|
||||
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
import { hackerNewsApiRequest, hackerNewsApiRequestAllItems } from './GenericFunctions';
|
||||
|
||||
@@ -22,8 +22,8 @@ export class HackerNews implements INodeType {
|
||||
defaults: {
|
||||
name: 'Hacker News',
|
||||
},
|
||||
inputs: ['main'],
|
||||
outputs: ['main'],
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
properties: [
|
||||
// ----------------------------------
|
||||
// Resources
|
||||
|
||||
Reference in New Issue
Block a user