mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-30 06:59:41 -08:00
b03e358a12
* 👕 Enable `consistent-type-imports` for nodes-base
* 👕 Apply to nodes-base
* ⏪ Undo unrelated changes
* 🚚 Move to `.eslintrc.js` in nodes-base
* ⏪ Revert "Enable `consistent-type-imports` for nodes-base"
This reverts commit 529ad72b05
.
* 👕 Fix severity
90 lines
1.7 KiB
TypeScript
90 lines
1.7 KiB
TypeScript
import type { INodeProperties, INodePropertyCollection, INodePropertyOptions } from 'n8n-workflow';
|
|
|
|
export const rabbitDefaultOptions: Array<
|
|
INodePropertyOptions | INodeProperties | INodePropertyCollection
|
|
> = [
|
|
{
|
|
displayName: 'Arguments',
|
|
name: 'arguments',
|
|
placeholder: 'Add Argument',
|
|
description: 'Arguments to add',
|
|
type: 'fixedCollection',
|
|
typeOptions: {
|
|
multipleValues: true,
|
|
},
|
|
default: {},
|
|
options: [
|
|
{
|
|
name: 'argument',
|
|
displayName: 'Argument',
|
|
values: [
|
|
{
|
|
displayName: 'Key',
|
|
name: 'key',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Value',
|
|
name: 'value',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
displayName: 'Headers',
|
|
name: 'headers',
|
|
placeholder: 'Add Header',
|
|
description: 'Headers to add',
|
|
type: 'fixedCollection',
|
|
typeOptions: {
|
|
multipleValues: true,
|
|
},
|
|
default: {},
|
|
options: [
|
|
{
|
|
name: 'header',
|
|
displayName: 'Header',
|
|
values: [
|
|
{
|
|
displayName: 'Key',
|
|
name: 'key',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Value',
|
|
name: 'value',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
displayName: 'Auto Delete Queue',
|
|
name: 'autoDelete',
|
|
type: 'boolean',
|
|
default: false,
|
|
description: 'Whether the queue will be deleted when the number of consumers drops to zero',
|
|
},
|
|
{
|
|
displayName: 'Durable',
|
|
name: 'durable',
|
|
type: 'boolean',
|
|
default: true,
|
|
description: 'Whether the queue will survive broker restarts',
|
|
},
|
|
{
|
|
displayName: 'Exclusive',
|
|
name: 'exclusive',
|
|
type: 'boolean',
|
|
default: false,
|
|
description: 'Whether to scope the queue to the connection',
|
|
},
|
|
];
|