From 5eafa3e560f66a21099dfaa3bd028b4f4b2d5c91 Mon Sep 17 00:00:00 2001 From: Scott Lyons Date: Fri, 6 Sep 2024 12:10:44 -0700 Subject: [PATCH 1/3] fix(models_rs): adding the missing field fileSize to the post resource --- szurubooru-client/src/models.rs | 69 ++++++++++++++++++++++++++++++++- 1 file changed, 67 insertions(+), 2 deletions(-) diff --git a/szurubooru-client/src/models.rs b/szurubooru-client/src/models.rs index 0a295e9..5976d80 100644 --- a/szurubooru-client/src/models.rs +++ b/szurubooru-client/src/models.rs @@ -438,6 +438,8 @@ pub struct PostResource { #[serde(rename = "checksumMD5")] /// The MD5 file checksum pub checksum_md5: Option, + /// The size of the file + pub file_size: Option, /// The original width of the post content. pub canvas_width: Option, /// The original height of the post content. @@ -484,7 +486,7 @@ pub struct PostResource { /// useful for `