mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 00:24:07 -08:00
41 lines
698 B
TypeScript
41 lines
698 B
TypeScript
import {
|
|
ICredentialType,
|
|
NodePropertyTypes,
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
export class Amqp implements ICredentialType {
|
|
name = 'amqp';
|
|
displayName = 'AMQP';
|
|
documentationUrl = 'amqp';
|
|
properties = [
|
|
{
|
|
displayName: 'Hostname',
|
|
name: 'hostname',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Port',
|
|
name: 'port',
|
|
type: 'number' as NodePropertyTypes,
|
|
default: 5672,
|
|
},
|
|
{
|
|
displayName: 'User',
|
|
name: 'username',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Password',
|
|
name: 'password',
|
|
type: 'string' as NodePropertyTypes,
|
|
typeOptions: {
|
|
password: true,
|
|
},
|
|
default: '',
|
|
},
|
|
];
|
|
}
|