import { UserLevelProgress } from '../entities/user-level-progress.entity'; export interface IUserLevelProgressRepository { findByUserId(userId: string): Promise; countByUserId(userId: string): Promise; findByUserAndLevel( userId: string, levelId: string, ): Promise; create(data: Partial): UserLevelProgress; save(progress: UserLevelProgress): Promise; }