Files
n8n_Demo/n8n-n8n-1.109.2/packages/nodes-base/credentials/PostHogApi.credentials.ts
2025-09-08 04:48:28 +08:00

26 lines
483 B
TypeScript
Executable File

import type { 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',
typeOptions: { password: true },
default: '',
},
];
}