export interface IUser { id: string; name: string; email?: string; contactInfo?: string; preferences: IUserPreferences; createdAt: Date; lastActiveAt: Date; } export interface IUserPreferences { defaultRole?: DeveloperRole; experienceLevel: ExperienceLevel; preferredLearningStyle: LearningStyle; notifications: boolean; theme: 'light' | 'dark' | 'auto'; } export type DeveloperRole = 'frontend' | 'backend' | 'testing' | 'devops' | 'fullstack' | 'mobile' | 'data' | 'security' | 'custom'; export type ExperienceLevel = 'beginner' | 'intermediate' | 'advanced' | 'expert'; export type LearningStyle = 'visual' | 'hands-on' | 'documentation' | 'video' | 'mixed'; export interface IUserRole { id: string; userId: string; projectId: string; role: DeveloperRole; customRoleDescription?: string; assignedAt: Date; isActive: boolean; } export interface IUserSession { id: string; userId: string; projectId: string; role: DeveloperRole; sessionData: Record; startedAt: Date; lastActivityAt: Date; isActive: boolean; } export interface IUserActivity { id: string; userId: string; activityType: ActivityType; timestamp: Date; metadata: Record; projectId?: string; role?: DeveloperRole; } export type ActivityType = 'login' | 'role_selection' | 'milestone_completed' | 'documentation_viewed' | 'code_analyzed' | 'environment_setup' | 'progress_saved' | 'session_ended'; export interface IProgressMilestone { id: string; userId: string; projectId: string; role: DeveloperRole; milestoneId: string; milestoneName: string; completedAt?: Date; status: MilestoneStatus; completionPercentage: number; timeSpent: number; notes?: string; } export type MilestoneStatus = 'not_started' | 'in_progress' | 'completed' | 'skipped' | 'blocked'; export interface IRoleMilestone { id: string; role: DeveloperRole; projectType: string; milestoneId: string; name: string; description: string; category: MilestoneCategory; prerequisites: string[]; estimatedTimeMinutes: number; difficulty: 'easy' | 'medium' | 'hard'; isRequired: boolean; resources: string[]; validationCriteria: string[]; } export type MilestoneCategory = 'environment_setup' | 'project_understanding' | 'code_exploration' | 'documentation_review' | 'hands_on_tasks' | 'team_integration' | 'tools_mastery'; //# sourceMappingURL=user-types.d.ts.map