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

27 lines
494 B
TypeScript
Raw Normal View History

import type { ICredentialType, INodeProperties } from 'n8n-workflow';
export class SendyApi implements ICredentialType {
name = 'sendyApi';
displayName = 'Sendy API';
2020-10-19 01:17:38 -07:00
documentationUrl = 'sendy';
properties: INodeProperties[] = [
{
displayName: 'URL',
name: 'url',
type: 'string',
default: '',
placeholder: 'https://yourdomain.com',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
typeOptions: { password: true },
default: '',
},
];
}