diff options
Diffstat (limited to 'src/models/properties.rs')
-rw-r--r-- | src/models/properties.rs | 4 |
1 files changed, 3 insertions, 1 deletions
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, }, /// <https://developers.notion.com/reference/page#relation-property-values> + /// It is actually an array of relations Relation { id: PropertyId, - relation: RelationValue, + relation: Option<Vec<RelationValue>>, }, Rollup { id: PropertyId, |