n8n/packages/nodes-base/credentials/RocketchatApi.credentials.ts

33 lines
569 B
TypeScript
Raw Normal View History

2019-11-08 20:11:01 -08:00
import {
ICredentialType,
INodeProperties,
2019-11-08 20:11:01 -08:00
} from 'n8n-workflow';
export class RocketchatApi implements ICredentialType {
name = 'rocketchatApi';
displayName = 'Rocket API';
documentationUrl = 'rocketchat';
properties: INodeProperties[] = [
2019-11-08 20:11:01 -08:00
{
2019-11-09 17:29:05 -08:00
displayName: 'User Id',
name: 'userId',
type: 'string',
2019-11-08 20:11:01 -08:00
default: '',
},
2019-11-09 17:29:05 -08:00
{
displayName: 'Auth Key',
name: 'authKey',
type: 'string',
2019-11-09 17:29:05 -08:00
default: '',
},
{
2019-12-01 08:10:11 -08:00
displayName: 'Domain',
name: 'domain',
type: 'string',
2019-11-09 17:29:05 -08:00
default: '',
placeholder: 'https://n8n.rocket.chat',
2019-11-09 17:29:05 -08:00
},
2019-11-08 20:11:01 -08:00
];
}