mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-11 07:04:06 -08:00
ecd3bbfcd3
* 👕 Autofix creds lint issues * 👕 Manually fix creds lint issues * 👕 Fix indentation * ✏️ Fix typo * 👕 Fix indentation * ✏️ Fix typo
26 lines
508 B
TypeScript
26 lines
508 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
export class MarketstackApi implements ICredentialType {
|
|
name = 'marketstackApi';
|
|
displayName = 'Marketstack API';
|
|
documentationUrl = 'marketstack';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'API Key',
|
|
name: 'apiKey',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Use HTTPS',
|
|
name: 'useHttps',
|
|
type: 'boolean',
|
|
default: false,
|
|
description: 'Whether to use HTTPS (paid plans only)',
|
|
},
|
|
];
|
|
}
|