fix: Show RabbitMQ node in nodes panel (#5598)

This commit is contained in:
Jon 2023-03-02 14:35:13 +00:00 committed by GitHub
parent 06c5ecbdf3
commit 4f5013ff53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,7 @@ import { rabbitmqConnectExchange, rabbitmqConnectQueue } from './GenericFunction
export class RabbitMQ implements INodeType { export class RabbitMQ implements INodeType {
description: INodeTypeDescription = { description: INodeTypeDescription = {
// eslint-disable-next-line
displayName: 'RabbitMQ', displayName: 'RabbitMQ',
name: 'rabbitmq', name: 'rabbitmq',
// eslint-disable-next-line n8n-nodes-base/node-class-description-icon-not-svg // eslint-disable-next-line n8n-nodes-base/node-class-description-icon-not-svg
@ -37,6 +38,19 @@ export class RabbitMQ implements INodeType {
}, },
], ],
properties: [ properties: [
{
displayName: 'Operation',
name: 'operation',
type: 'hidden',
noDataExpression: true,
default: 'send_message',
options: [
{
name: 'Send a Message to RabbitMQ',
value: 'send_message',
},
],
},
{ {
displayName: 'Mode', displayName: 'Mode',
name: 'mode', name: 'mode',