mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
1c229a7b52
* ⬆️ Upgrade linter * 📦 Update `package-lock.json` * 👕 Enable rule * 👕 Apply rule * 📦 Re-update `package-lock.json`
24 lines
541 B
TypeScript
24 lines
541 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',
|
|
typeOptions: { password: true },
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Use HTTPS',
|
|
name: 'useHttps',
|
|
type: 'boolean',
|
|
default: false,
|
|
description: 'Whether to use HTTPS (paid plans only)',
|
|
},
|
|
];
|
|
}
|