import { ICredentialType, NodePropertyTypes, } from 'n8n-workflow'; export class Amqp implements ICredentialType { name = 'amqp'; displayName = 'AMQP'; properties = [ // The credentials to get from user and save encrypted. // Properties can be defined exactly in the same way // as node properties. { displayName: 'User', name: 'username', type: 'string' as NodePropertyTypes, default: '', }, { displayName: 'Password', name: 'password', type: 'string' as NodePropertyTypes, typeOptions: { password: true, }, default: '', }, ]; }