mirror of
https://github.com/MODSetter/SurfSense
synced 2026-06-21 13:44:09 +00:00
a1397a51b5
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