aboutsummaryrefslogtreecommitdiff
path: root/src/models/properties/tests
diff options
context:
space:
mode:
authorGravatar Jake Swenson <jakeswenson@users.noreply.github.com> 2021-12-27 19:37:34 -0800
committerGravatar GitHub <noreply@github.com> 2021-12-28 03:37:34 +0000
commit397a38bb4d1dc5a2eef186906ee6570837efb2f5 (patch)
tree4250164288ecbc9bc638eccc1d3da7c333b423f7 /src/models/properties/tests
parent1f66869e74edd7711d213ebf546acf75506c9cd3 (diff)
downloadnotion-397a38bb4d1dc5a2eef186906ee6570837efb2f5.tar.gz
notion-397a38bb4d1dc5a2eef186906ee6570837efb2f5.tar.zst
notion-397a38bb4d1dc5a2eef186906ee6570837efb2f5.zip
fix(#32): Fix rollup value parsing issues (#33)
Fixes #32: Rollup values were not being parsed correctly.
Diffstat (limited to 'src/models/properties/tests')
-rw-r--r--src/models/properties/tests/rollup_property.json32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/models/properties/tests/rollup_property.json b/src/models/properties/tests/rollup_property.json
new file mode 100644
index 0000000..c80d33b
--- /dev/null
+++ b/src/models/properties/tests/rollup_property.json
@@ -0,0 +1,32 @@
+{
+ "id": "R%7Cm%3F",
+ "type": "rollup",
+ "rollup": {
+ "type": "array",
+ "array": [
+ {
+ "type": "rich_text",
+ "rich_text": [
+ {
+ "type": "text",
+ "text": {
+ "content": "personal",
+ "link": null
+ },
+ "annotations": {
+ "bold": false,
+ "italic": false,
+ "strikethrough": false,
+ "underline": false,
+ "code": false,
+ "color": "default"
+ },
+ "plain_text": "personal",
+ "href": null
+ }
+ ]
+ }
+ ],
+ "function": "show_original"
+ }
+}