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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user