Files
n8n-enterprise-unlocked/packages/nodes-base/credentials/RocketchatApi.credentials.ts
2019-12-01 11:10:11 -05:00

31 lines
538 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class RocketchatApi implements ICredentialType {
name = 'rocketchatApi';
displayName = 'Rocket API';
properties = [
{
displayName: 'User Id',
name: 'userId',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Auth Key',
name: 'authKey',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Domain',
name: 'domain',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}