feat: Add crowd.dev node and trigger node (#6082)

This commit is contained in:
perseus-algol
2023-07-03 10:31:06 +03:00
committed by GitHub
parent 7a8b85ab11
commit 238a78f058
18 changed files with 1703 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
import type { INodeType, INodeTypeDescription } from 'n8n-workflow';
import { allProperties } from './descriptions';
export class CrowdDev implements INodeType {
description: INodeTypeDescription = {
displayName: 'crowd.dev',
name: 'crowdDev',
icon: 'file:crowdDev.svg',
group: ['transform'],
version: 1,
subtitle: '={{ $parameter["operation"] + ": " + $parameter["resource"] }}',
description:
'crowd.dev is an open-source suite of community and data tools built to unlock community-led growth for your organization.',
defaults: {
name: 'crowd.dev',
},
inputs: ['main'],
outputs: ['main'],
credentials: [
{
name: 'crowdDevApi',
required: true,
},
],
requestDefaults: {
baseURL: '={{$credentials.url}}/api/tenant/{{$credentials.tenantId}}',
json: true,
skipSslCertificateValidation: '={{ $credentials.allowUnauthorizedCerts }}',
},
properties: allProperties,
};
}