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

33 lines
615 B
TypeScript
Raw Normal View History

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