mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
⚡ Simplify more property types in credentials classes (#2211)
* ⚡ Simplify more property types * 👕 Fix lint
This commit is contained in:
@@ -1,23 +1,23 @@
|
||||
import {
|
||||
ICredentialType,
|
||||
NodePropertyTypes,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class MarketstackApi implements ICredentialType {
|
||||
name = 'marketstackApi';
|
||||
displayName = 'Marketstack API';
|
||||
documentationUrl = 'marketstack';
|
||||
properties = [
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'API Key',
|
||||
name: 'apiKey',
|
||||
type: 'string' as NodePropertyTypes,
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Use HTTPS',
|
||||
name: 'useHttps',
|
||||
type: 'boolean' as NodePropertyTypes,
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Use HTTPS (paid plans only).',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user