Simplify more property types in credentials classes (#2211)

*  Simplify more property types

* 👕 Fix lint
This commit is contained in:
Iván Ovejero
2021-10-07 23:07:56 +02:00
committed by GitHub
parent d3a312cc6b
commit fa05d7557b
12 changed files with 55 additions and 56 deletions

View File

@@ -1,17 +1,17 @@
import {
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class ActionNetworkApi implements ICredentialType {
name = 'actionNetworkApi';
displayName = 'Action Network API';
documentationUrl = 'actionNetwork';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
default: '',
},
];