Add missing fields for repo metadata

Signed-off-by: Trivernis <trivernis@protonmail.com>
pull/4/head
Trivernis 3 years ago
parent d8560a180c
commit 33ceb24972

@ -1,6 +1,6 @@
[package] [package]
name = "mediarepo-api" name = "mediarepo-api"
version = "0.17.0" version = "0.18.0"
edition = "2018" edition = "2018"
license = "gpl-3" license = "gpl-3"

@ -11,8 +11,10 @@ pub struct RepositoryMetadata {
pub file_count: u64, pub file_count: u64,
pub tag_count: u64, pub tag_count: u64,
pub namespace_count: u64, pub namespace_count: u64,
pub mapping_count: u64,
pub hash_count: u64,
pub total_size: u64, pub total_size: u64,
pub image_size: u64, pub file_size: u64,
pub database_size: u64, pub database_size: u64,
pub thumbnail_size: u64, pub thumbnail_size: u64,
} }
Loading…
Cancel
Save