From f48378ec16af1035af32ed16592099104a552d90 Mon Sep 17 00:00:00 2001 From: Dmitry Gavrovsky Date: Sat, 11 Dec 2021 20:23:11 +0200 Subject: fix(example): Example wasn't compling + lib fixes (#19) * get page + query database bugfixes * fixed wrong error type * clap integration fix * comments cleaning * source formatting using cargo format --- src/models/properties.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/models/properties.rs') diff --git a/src/models/properties.rs b/src/models/properties.rs index b46b7f7..f7e3897 100644 --- a/src/models/properties.rs +++ b/src/models/properties.rs @@ -103,6 +103,7 @@ pub enum RollupFunction { Min, Max, Range, + ShowOriginal, } #[derive(Serialize, Deserialize, Debug, Eq, PartialEq, Clone)] @@ -284,9 +285,10 @@ pub enum PropertyValue { formula: FormulaResultValue, }, /// + /// It is actually an array of relations Relation { id: PropertyId, - relation: RelationValue, + relation: Option>, }, Rollup { id: PropertyId, -- cgit v1.2.3