mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
feat(Adalo Node): MVP Adalo node N8N-3263 (#3102)
* ✨ Added Adalo node using declarative API. * fix: Updated authentication headers. * fix: Fixed node linting issues. * ⚡ improvements * fix: Fixed Adalo node pagination. * fix: Fixed Adalo node linting issues. Co-authored-by: Michael Kret <michael.k@radency.com>
This commit is contained in:
34
packages/nodes-base/credentials/AdaloApi.credentials.ts
Normal file
34
packages/nodes-base/credentials/AdaloApi.credentials.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
import { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export class AdaloApi implements ICredentialType {
|
||||
name = 'adaloApi';
|
||||
displayName = 'Adalo API';
|
||||
documentationUrl = 'adalo';
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'API Key',
|
||||
name: 'apiKey',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description:
|
||||
'The Adalo API is available on paid Adalo plans, find more information <a href="https://help.adalo.com/integrations/the-adalo-api" target="_blank">here</a>',
|
||||
},
|
||||
{
|
||||
displayName: 'App ID',
|
||||
name: 'appId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description:
|
||||
'You can get App ID from the URL of your app. For example, if your app URL is <strong>https://app.adalo.com/apps/1234567890/screens</strong>, then your App ID is <strong>1234567890</strong>.',
|
||||
},
|
||||
];
|
||||
|
||||
authenticate: IAuthenticateGeneric = {
|
||||
type: 'generic',
|
||||
properties: {
|
||||
headers: {
|
||||
Authorization: '=Bearer {{$credentials.apiKey}}',
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user