SurfSense/surfsense_web/lib/posthog
guangyang1206 a1397a51b5 fix: move getConnectorTelemetryMeta from components/ to lib/ to fix dependency inversion
lib/posthog/events.ts was importing from components/assistant-ui/...,
creating an inverted dependency layer (lib → components).

Move ConnectorTelemetryMeta type, CONNECTOR_TELEMETRY_REGISTRY,
getConnectorTelemetryMeta, and getReauthEndpoint into the new
lib/connector-telemetry.ts module so that lib/ no longer depends upward
into the UI tree.

connector-constants.ts now re-exports from the new module for
backward compatibility.

Fixes #1375
2026-05-22 12:15:20 +08:00
..
events.ts fix: move getConnectorTelemetryMeta from components/ to lib/ to fix dependency inversion 2026-05-22 12:15:20 +08:00
server.ts feat: enhance error handling with PostHog integration 2026-03-12 01:28:39 -07:00