mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
sync upstream
This commit is contained in:
31
packages/nodes-base/credentials/RocketchatApi.credentials.ts
Normal file
31
packages/nodes-base/credentials/RocketchatApi.credentials.ts
Normal 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'
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user