n8n/packages/nodes-base/credentials/NetlifyApi.credentials.ts
Ricardo Espinoza 469ac1d912
Add Netlify regular and trigger node (#2177)
*  Add Netlify node

*  Add Sites resource

*  Add regular Netlify node

*  Add Netlify Trigger node

* 🔨 Fix issue with body parameter

*  Improvements

*  Improvements

Co-authored-by: Harshil <ghagrawal17@gmail.com>
2021-09-18 22:12:20 +02:00

18 lines
349 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class NetlifyApi implements ICredentialType {
name = 'netlifyApi';
displayName = 'Netlify API';
documentationUrl = 'netlify';
properties = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}