mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
✨ Add TheHive & Cortex nodes (#952)
* ✨ TheHive & Cortex nodes * 🔨 Make changes mentioned in #887 * ⚡ Improvements * ⚡ Improvements * ⚡ Improvements * ⚡ Add descriptions * ⚡ Improvements * ⚡ Improvements Co-authored-by: MedAliMarz <servfrdali@yahoo.fr>
This commit is contained in:
26
packages/nodes-base/credentials/CortexApi.credentials.ts
Normal file
26
packages/nodes-base/credentials/CortexApi.credentials.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
NodePropertyTypes,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
|
||||
export class CortexApi implements ICredentialType {
|
||||
name = 'cortexApi';
|
||||
displayName = 'Cortex API';
|
||||
properties = [
|
||||
{
|
||||
displayName: 'API Key',
|
||||
name: 'cortexApiKey',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Cortex Instance',
|
||||
name: 'host',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
description: 'The URL of the Cortex instance',
|
||||
default: '',
|
||||
placeholder:'https://localhost:9001'
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user