Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/lib/frontend/handlers/custom_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ Future<VersionScore> packageVersionScoreHandler(
grantedPoints: card.grantedPubPoints,
maxPoints: card.maxPubPoints,
likeCount: pkg.likes,
downloadCount30Days: card.thirtyDaysDownloadCounts,
popularityScore: card.popularityScore,
tags: tags.toList(),
lastUpdated: updated,
Expand Down
2 changes: 2 additions & 0 deletions pkg/_pub_shared/lib/data/package_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ class VersionScore {
final int? grantedPoints;
final int? maxPoints;
final int? likeCount;
final int? downloadCount30Days;
final double? popularityScore;
final List<String>? tags;
final DateTime? lastUpdated;
Expand All @@ -287,6 +288,7 @@ class VersionScore {
required this.grantedPoints,
required this.maxPoints,
required this.likeCount,
required this.downloadCount30Days,
required this.popularityScore,
required this.tags,
required this.lastUpdated,
Expand Down
3 changes: 3 additions & 0 deletions pkg/_pub_shared/lib/data/package_api.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading