n8n/packages/nodes-base/credentials/SendyApi.credentials.ts
Ricardo Espinoza 6098384a30
Add Sendy-Node (#1013)
*  Sendy-Node

*  Improvements

*  Small improvement
2020-10-13 10:48:20 +02:00

25 lines
449 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class SendyApi implements ICredentialType {
name = 'sendyApi';
displayName = 'Sendy API';
properties = [
{
displayName: 'URL',
name: 'url',
type: 'string' as NodePropertyTypes,
default: '',
placeholder: 'https://yourdomain.com',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}