n8n/packages/nodes-base/credentials/PostHogApi.credentials.ts
2021-06-18 23:46:21 +02:00

25 lines
442 B
TypeScript

import {
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class PostHogApi implements ICredentialType {
name = 'postHogApi';
displayName = 'PostHog API';
documentationUrl = 'postHog';
properties: INodeProperties[] = [
{
displayName: 'URL',
name: 'url',
type: 'string',
default: 'https://app.posthog.com',
},
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
default: '',
},
];
}