mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
32 lines
567 B
TypeScript
32 lines
567 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: 'Sub Domain',
|
|
name: 'subdomain',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
placeholder: 'n8n'
|
|
},
|
|
];
|
|
}
|