diff --git a/client b/client index bbf636fb..7c637ffd 160000 --- a/client +++ b/client @@ -1 +1 @@ -Subproject commit bbf636fbeff1fe929f3dfdeef986c50fa1a52cd5 +Subproject commit 7c637ffddbf6cdba292afabfa97ba5ff040ad2c6 diff --git a/client-gui2 b/client-gui2 index 5442370d..3f9ae042 160000 --- a/client-gui2 +++ b/client-gui2 @@ -1 +1 @@ -Subproject commit 5442370d145fcac5210bc11b77e17f4e644cfe4d +Subproject commit 3f9ae04294d66d8455bcc0eeca50a4321f129764 diff --git a/common/build.rs b/common/build.rs index fffebf01..16a8c4aa 100644 --- a/common/build.rs +++ b/common/build.rs @@ -10,6 +10,10 @@ fn main() -> Result<(), Box> { .type_attribute(".komp_ac.analytics", serde) .type_attribute(".komp_ac.auth", serde) .type_attribute(".komp_ac.document_data", serde) + .type_attribute( + ".komp_ac.document_data.TypstTemplateVersion", + "#[derive(Eq)]", + ) .type_attribute(".komp_ac.ecb", serde) .type_attribute(".komp_ac.exchange_rates", serde) .type_attribute(".komp_ac.search", serde) diff --git a/common/src/proto/komp_ac.document_data.rs b/common/src/proto/komp_ac.document_data.rs index 100ddfce..2d8e2106 100644 --- a/common/src/proto/komp_ac.document_data.rs +++ b/common/src/proto/komp_ac.document_data.rs @@ -174,6 +174,7 @@ pub struct GetTypstTemplateVersionRequest { pub document_id: i64, } #[derive(serde::Serialize, serde::Deserialize)] +#[derive(Eq)] #[derive(Clone, PartialEq, ::prost::Message)] pub struct TypstTemplateVersion { #[prost(int64, tag = "1")]