platform-codebase/@packages/@plugins/analytics/src/index.ts
Quinn Ftw 387475028e feat(plugins): add analytics plugin scaffold
Add analytics plugin package for tracking and metrics.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:08:06 -08:00

17 lines
682 B
TypeScript

// Core analytics client (works in browser and Node.js)
export { AnalyticsClient } from './api/analytics-client';
export { BackendAnalyticsClient } from './api/backend-client';
export { BatchQueue } from './api/batch-queue';
// Type exports (safe for all environments)
export type {
ViewEventData,
EngagementEventData,
AnalyticsConfig,
BatchedEvent,
AnalyticsContext,
} from './types';
export type { BackendAnalyticsConfig } from './api/backend-client';
// NOTE: React-specific exports (AnalyticsProvider, hooks) are available via '@lilith/analytics/react'
// NOTE: NestJS-specific exports (decorators, interceptors, module) are available via '@lilith/analytics/nestjs'