n8n/packages/nodes-base/credentials/MarketstackApi.credentials.ts
Iván Ovejero ecd3bbfcd3
Fix credential formatting issues (#3134)
* 👕 Autofix creds lint issues

* 👕 Manually fix creds lint issues

* 👕 Fix indentation

* ✏️ Fix typo

* 👕 Fix indentation

* ✏️ Fix typo
2022-04-14 08:32:27 +02:00

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)',
},
];
}