import { ChallengeProgressDto, RankingItemDto } from './challenge-progress.dto'; import { ChallengeType } from '../models/challenge.model'; export interface BadgeInfoDto { code: string; name: string; description: string; imageUrl: string; category: string; } export interface ChallengeDetailDto { id: string; title: string; image: string | null; periodLabel: string | null; durationLabel: string; requirementLabel: string; summary: string | null; rankingDescription: string | null; highlightTitle: string; highlightSubtitle: string; ctaLabel: string; minimumCheckInDays: number; participantsCount: number; progress?: ChallengeProgressDto; rankings: RankingItemDto[]; userRank?: number; type: ChallengeType; unit: string; badge?: BadgeInfoDto; }