Adding FriendGrid example node (updated version of the one in the n8n docs)

This commit is contained in:
Valentina 2021-12-02 12:23:05 +02:00
commit a7dffc4df0
8 changed files with 263 additions and 72 deletions

View file

@ -1,27 +0,0 @@
import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class ExampleCredentials implements ICredentialType {
name = 'exampleCredentials';
displayName = 'Example Credentials';
properties = [
// The credentials to get from user and save encrypted.
// Properties can be defined exactly in the same way
// as node properties.
{
displayName: 'User',
name: 'user',
type: 'string' as NodePropertyTypes,
default: '',
},
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
default: '',
},
];
}