mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 12:44:07 -08:00
bb794b6da3
* ✨ PostHog Node * ⚡ Minor improvements to PostHog Node Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
24 lines
436 B
TypeScript
24 lines
436 B
TypeScript
import {
|
|
ICredentialType,
|
|
NodePropertyTypes,
|
|
} from 'n8n-workflow';
|
|
|
|
export class PostHogApi implements ICredentialType {
|
|
name = 'postHogApi';
|
|
displayName = 'PostHog API';
|
|
properties = [
|
|
{
|
|
displayName: 'URL',
|
|
name: 'url',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: 'https://app.posthog.com',
|
|
},
|
|
{
|
|
displayName: 'API Key',
|
|
name: 'apiKey',
|
|
type: 'string' as NodePropertyTypes,
|
|
default: '',
|
|
},
|
|
];
|
|
}
|