sync: add AI review pipeline, parallel skill-files fetch, Redis cache improvements

- feat(review): add skill_reviews table, review API endpoints (pending/submit/stats), admin auth
- perf: parallel file fetching in skill-files API (was sequential → timeout)
- fix: handle Date serialization from Redis cache
- fix: align curation batch scripts with current browseReadyFilter

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
airano
2026-02-23 19:51:43 +03:30
parent 328520bb70
commit 447f9eff59
15 changed files with 1050 additions and 74 deletions

View File

@@ -22,14 +22,14 @@ interface SkillCardProps {
securityStatus: string | null;
isVerified: boolean | null;
sourceFormat?: string | null;
createdAt?: Date | null;
updatedAt?: Date | null;
createdAt?: Date | string | null;
updatedAt?: Date | string | null;
};
locale: string;
/** Show time badge (for New Skills page) */
showTimeBadge?: 'created' | 'updated' | null;
/** Format time as "X days ago" */
formatTimeAgo?: (date: Date | null, locale: string) => string;
formatTimeAgo?: (date: Date | string | null, locale: string) => string;
}
export function SkillCard({ skill, locale, showTimeBadge, formatTimeAgo }: SkillCardProps) {