mirror of
				https://github.com/n8n-io/n8n-nodes-starter.git
				synced 2025-10-30 23:02:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			486 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			486 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import {
 | |
| 	ICredentialType,
 | |
| 	INodeProperties,
 | |
| } from 'n8n-workflow';
 | |
| 
 | |
| export class FriendGridApi implements ICredentialType {
 | |
| 	name = 'friendGridApi';
 | |
| 	displayName = 'FriendGrid API';
 | |
| 	documentationUrl = 'friendGrid';
 | |
| 	properties: INodeProperties[] = [
 | |
| 		// The credentials to get from user and save encrypted.
 | |
| 		// Properties can be defined exactly in the same way
 | |
| 		// as node properties.
 | |
| 		{
 | |
| 			displayName: 'API Key',
 | |
| 			name: 'apiKey',
 | |
| 			type: 'string',
 | |
| 			default: '',
 | |
| 		},
 | |
| 	];
 | |
| }
 |