feat: setup posthog

This commit is contained in:
Nathnael
2026-07-16 08:52:29 +00:00
parent 6dde17fa4d
commit 318af79962
19 changed files with 513 additions and 190 deletions

View File

@@ -17,6 +17,11 @@ interface Window {
interface ImportMetaEnv {
readonly VITE_API_URL: string;
readonly VITE_BASE_API_URL: string;
readonly VITE_TOKEN_REFRESH_INTERVAL_MINUTES?: string;
/** PostHog project token. Absent = observability disabled (see lib/posthog.ts). */
readonly VITE_POSTHOG_KEY?: string;
/** Self-hosted PostHog instance URL. */
readonly VITE_POSTHOG_HOST?: string;
}
interface ImportMeta {