diff --git a/packages/openneuro-app/src/scripts/users/components/dataset-card.tsx b/packages/openneuro-app/src/scripts/users/components/dataset-card.tsx index 67ce888308..41a4fb0e98 100644 --- a/packages/openneuro-app/src/scripts/users/components/dataset-card.tsx +++ b/packages/openneuro-app/src/scripts/users/components/dataset-card.tsx @@ -11,11 +11,17 @@ interface Dataset { name: string public: boolean analytics: { - downloads?: number - views?: number + views: number + downloads: number + } + stars: [{ userId: string; datasetId: string }] + followers: [{ userId: string; datasetId: string }] + latestSnapshot?: { + id: string + size: number + issues: [{ severity: string }] + created?: string } - followers: [string] - stars: [string] } interface DatasetCardProps {