n8n/packages/nodes-base/credentials/MarketstackApi.credentials.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
549 B
TypeScript
Raw Normal View History

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