sync upstream

This commit is contained in:
Ricardo Espinoza
2019-11-14 18:45:09 -05:00
11 changed files with 623 additions and 14 deletions

View File

@@ -0,0 +1,31 @@
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: 'Sub Domain',
name: 'subdomain',
type: 'string' as NodePropertyTypes,
default: '',
placeholder: 'n8n'
},
];
}