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

@@ -1,4 +1,4 @@
import type { ICredentialType, NodePropertyTypes } from 'n8n-workflow';
import type { ICredentialType, INodeProperties } from 'n8n-workflow';
export class NetlifyApi implements ICredentialType {
name = 'netlifyApi';
@@ -7,11 +7,12 @@ export class NetlifyApi implements ICredentialType {
documentationUrl = 'netlify';
properties = [
properties: INodeProperties[] = [
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string' as NodePropertyTypes,
type: 'string',
typeOptions: { password: true },
default: '',
},
];