mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
⚡ Simplify property types in credentials (#1869)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
NodePropertyTypes,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
|
||||
@@ -8,17 +8,17 @@ export class CortexApi implements ICredentialType {
|
||||
name = 'cortexApi';
|
||||
displayName = 'Cortex API';
|
||||
documentationUrl = 'cortex';
|
||||
properties = [
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'API Key',
|
||||
name: 'cortexApiKey',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Cortex Instance',
|
||||
name: 'host',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
type: 'string',
|
||||
description: 'The URL of the Cortex instance',
|
||||
default: '',
|
||||
placeholder: 'https://localhost:9001',
|
||||
|
||||
Reference in New Issue
Block a user