mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Validate formatting in nodes-base (no-changelog) (#4685)
* 🔥 Remove Prettier exceptions * 👕 Start linting on formatting * ⚡ Update `format` command * 🎨 Apply formatting
This commit is contained in:
@@ -22,7 +22,7 @@ export class CloudflareApi implements ICredentialType {
|
||||
type: 'generic',
|
||||
properties: {
|
||||
headers: {
|
||||
'Authorization': '=Bearer {{$credentials.apiToken}}',
|
||||
Authorization: '=Bearer {{$credentials.apiToken}}',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
import { IAuthenticateGeneric, ICredentialTestRequest, ICredentialType, INodeProperties } from 'n8n-workflow';
|
||||
import {
|
||||
IAuthenticateGeneric,
|
||||
ICredentialTestRequest,
|
||||
ICredentialType,
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export class HubspotAppToken implements ICredentialType {
|
||||
name = 'hubspotAppToken';
|
||||
|
||||
@@ -91,7 +91,8 @@ export class MicrosoftSql implements ICredentialType {
|
||||
},
|
||||
],
|
||||
default: '7_4',
|
||||
description: 'The version of TDS to use. If server doesn\'t support specified version, negotiated version is used instead.',
|
||||
description:
|
||||
"The version of TDS to use. If server doesn't support specified version, negotiated version is used instead.",
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ export class RundeckApi implements ICredentialType {
|
||||
default: '',
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
authenticate: IAuthenticateGeneric = {
|
||||
type: 'generic',
|
||||
properties: {
|
||||
@@ -41,5 +41,5 @@ export class RundeckApi implements ICredentialType {
|
||||
url: '/api/14/system/info',
|
||||
method: 'GET',
|
||||
},
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -78,7 +78,9 @@ export class VenafiTlsProtectDatacenterApi implements ICredentialType {
|
||||
},
|
||||
};
|
||||
|
||||
const { access_token } = await this.helpers.httpRequest(requestOptions) as { access_token: string };
|
||||
const { access_token } = (await this.helpers.httpRequest(requestOptions)) as {
|
||||
access_token: string;
|
||||
};
|
||||
|
||||
return { token: access_token };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user