mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Use NodeConnectionType consistently across the code base (no-changelog) (#10595)
This commit is contained in:
@@ -12,7 +12,7 @@ import type {
|
||||
ICredentialsDecrypted,
|
||||
ICredentialDataDecryptedObject,
|
||||
} from 'n8n-workflow';
|
||||
import { NodeOperationError } from 'n8n-workflow';
|
||||
import { NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
async function checkIfCredentialsValid(
|
||||
credentials: IDataObject,
|
||||
@@ -65,8 +65,8 @@ export class Amqp implements INodeType {
|
||||
defaults: {
|
||||
name: 'AMQP Sender',
|
||||
},
|
||||
inputs: ['main'],
|
||||
outputs: ['main'],
|
||||
inputs: [NodeConnectionType.Main],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
credentials: [
|
||||
{
|
||||
name: 'amqp',
|
||||
|
||||
@@ -10,7 +10,7 @@ import type {
|
||||
IDeferredPromise,
|
||||
IRun,
|
||||
} from 'n8n-workflow';
|
||||
import { deepCopy, jsonParse, NodeOperationError } from 'n8n-workflow';
|
||||
import { deepCopy, jsonParse, NodeConnectionType, NodeOperationError } from 'n8n-workflow';
|
||||
|
||||
export class AmqpTrigger implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
@@ -24,7 +24,7 @@ export class AmqpTrigger implements INodeType {
|
||||
name: 'AMQP Trigger',
|
||||
},
|
||||
inputs: [],
|
||||
outputs: ['main'],
|
||||
outputs: [NodeConnectionType.Main],
|
||||
credentials: [
|
||||
{
|
||||
name: 'amqp',
|
||||
|
||||
Reference in New Issue
Block a user