export class ProjectStatsApiResponseFactory {
    static create(overrides = {}) {
        const project = overrides.project ?? 'sample-project';
        const path = overrides.path ?? '/repos/sample-project';
        const reviews = overrides.reviews ?? [];
        const totalReviews = overrides.totalReviews ?? reviews.length;
        const averageScore = overrides.averageScore ?? null;
        const averageDuration = overrides.averageDuration ?? 0;
        const totalBlocking = overrides.totalBlocking ?? 0;
        const totalWarnings = overrides.totalWarnings ?? 0;
        const stats = {
            totalReviews,
            totalDuration: 0,
            averageScore,
            averageDuration,
            totalBlocking,
            totalWarnings,
            totalAdditions: 0,
            totalDeletions: 0,
            averageAdditions: null,
            averageDeletions: null,
            reviews,
            lastUpdated: '2026-05-25T12:00:00.000Z',
        };
        return {
            project,
            path,
            stats,
            summary: {
                totalReviews,
                averageScore,
                averageDuration,
                totalBlocking,
                totalWarnings,
            },
        };
    }
}
//# sourceMappingURL=projectStatsApiResponse.factory.js.map