n8n/packages/nodes-base/credentials/Amqp.credentials.ts
Jan Oberhauser ab6cc43a4c 👕 Fix lint issues
2019-11-02 12:16:20 +01:00

40 lines
670 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class Amqp implements ICredentialType {
name = 'amqp';
displayName = '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: '',
},
];
}