Skip to content

Commit

Permalink
chore(backend-api): Add size to PackageDistribution
Browse files Browse the repository at this point in the history
  • Loading branch information
theduke committed Mar 7, 2024
1 parent 8bb47ac commit 1a4b5c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/backend-api/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ mod queries {
pub struct PackageDistribution {
pub pirita_sha256_hash: Option<String>,
pub pirita_download_url: Option<String>,
pub download_url: Option<String>,
pub size: Option<i32>,
pub pirita_size: Option<i32>,
}

#[derive(cynic::QueryFragment, Debug, Clone)]
Expand Down

0 comments on commit 1a4b5c5

Please sign in to comment.