import type { ActivityInfo } from './ActivityInfo'; import type { PlatformMetrics } from './PlatformMetrics'; import type { PlatformSummary } from './PlatformSummary'; /** * Unified serializer for learner analytics results - handles both cross-platform and platform-specific data. */ export type LearnerAnalyticsResult = { platform_id: number; platform_name: string; platform_key: string | null; summary?: PlatformSummary; metrics?: PlatformMetrics; activity?: ActivityInfo; last_updated?: string; user_id?: number; };