refactor: Enable cred-class-field-properties-assertion (no-changelog) (#6908)

This commit is contained in:
Iván Ovejero
2023-08-10 15:28:03 +02:00
committed by GitHub
parent 7f0db60f15
commit 6f48593134
8 changed files with 31 additions and 24 deletions

View File

@@ -2,7 +2,7 @@ import type {
IAuthenticateGeneric,
ICredentialTestRequest,
ICredentialType,
NodePropertyTypes,
INodeProperties,
} from 'n8n-workflow';
export class HighLevelApi implements ICredentialType {
@@ -12,11 +12,12 @@ export class HighLevelApi implements ICredentialType {
documentationUrl = 'highLevel';
properties = [
properties: INodeProperties[] = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
type: 'string',
typeOptions: { password: true },
default: '',
},
];