16 lines
409 B
TypeScript
16 lines
409 B
TypeScript
import { z } from 'zod';
|
|
import { CommonConfigSchema } from './common.schema.js';
|
|
|
|
/**
|
|
* PostHog configuration options schema
|
|
*/
|
|
export const PostHogConfigSchema = CommonConfigSchema.extend({
|
|
apiKey: z.string().describe('PostHog API key'),
|
|
host: z
|
|
.string()
|
|
.default('https://app.posthog.com')
|
|
.describe('PostHog host URL'),
|
|
});
|
|
|
|
export type PostHogConfigType = z.infer<typeof PostHogConfigSchema>;
|