Creating an optimized production build ..TypeError: Cannot read properties of undefined (reading 'content')
at /Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-notion/dist/react-notion.cjs.production.min.js:1:1746
at Array.forEach (<anonymous>)
at /Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-notion/dist/react-notion.cjs.production.min.js:1:1698
at s (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-notion/dist/react-notion.cjs.production.min.js:1:1933)
at N (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-notion/dist/react-notion.cjs.production.min.js:1:7210)
at g (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-notion/dist/react-notion.cjs.production.min.js:1:11725)
at Wc (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44)
at Zc (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253)
at Z (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89)
at Zc (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:481)
I investigated why it occurs and noticed there is the block that has no value property like { "role": "none" }. You can see it in below section.
curl results of https://notion-api.splitbee.io/v1/page/2e22de6b770e4166be301490f6ffd420
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Use optional chain to access to the entity of BlockMap in groupBlockContent method.
Why
First of all, thank you for your library. I'm a beginner with react-notion. When I try to render a Notion page with the ID 2e22de6b770e4166be301490f6ffd420, which is shown as a sample page in notion-api-worker, then met error as below.
https://github.com/splitbee/notion-api-worker?tab=readme-ov-file#load-page-data
Creating an optimized production build ..TypeError: Cannot read properties of undefined (reading 'content') at /Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-notion/dist/react-notion.cjs.production.min.js:1:1746 at Array.forEach (<anonymous>) at /Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-notion/dist/react-notion.cjs.production.min.js:1:1698 at s (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-notion/dist/react-notion.cjs.production.min.js:1:1933) at N (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-notion/dist/react-notion.cjs.production.min.js:1:7210) at g (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-notion/dist/react-notion.cjs.production.min.js:1:11725) at Wc (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:68:44) at Zc (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:253) at Z (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:76:89) at Zc (/Users/yoshiakiyamada/work/sample-repo/apps/client/node_modules/react-dom/cjs/react-dom-server.browser.production.min.js:70:481)I investigated why it occurs and noticed there is the block that has no value property like { "role": "none" }. You can see it in below section.
curl results of https://notion-api.splitbee.io/v1/page/2e22de6b770e4166be301490f6ffd420{ "2e22de6b-770e-4166-be30-1490f6ffd420": { "value": { "id": "2e22de6b-770e-4166-be30-1490f6ffd420", "version": 525, "type": "page", "properties": { "title": [["react-notion", [["b"]]]] }, "content": [ "10c9bd60-abed-457c-80f1-2425d6e21522", "31e31b01-1941-426e-a26f-2d5e96a3e0ef", "8490bd36-13b2-4bcf-83ac-347e89c612fa", "e840e07f-4f6e-4957-807f-a4486ad05b77", "3d6c7825-e6fa-40a5-b746-4f2d6e3f0807", "0918576e-2d27-40a7-bae0-389bd2755a6d", "448e5003-feb3-443f-b9d7-4529bacfdd98", "f247b3fe-6e5c-45cb-be59-60fe98a5a3c5", "465a80f6-ee41-4594-8f3d-0e954f37a329", "7b896b03-98c4-41cb-aaa4-e1699504cdc1", "aa4cc01e-6051-4000-b420-daf18b3fc78e", "426736d7-0584-48b5-bde3-e6fa9c42dc04", "a5606804-60ab-40be-ac16-b62e849cd865", "2e7fda26-9c38-4a86-8947-ecdce8ee8ac6", "efddf43c-32b2-4835-b8b4-77ee308d6338", "b129dc91-968b-4e6f-9c70-cb09a1078171", "4bbc6793-6728-4bd3-84c9-c544ed77363b", "eb08b214-0ee7-40eb-9a30-8cbc0c303eda", "9b6050e5-00fd-4af7-b106-5c2d0bf66fbf", "77135bf3-fa11-4c19-8397-69ee133ca1ce", "cfee83d5-3030-4b32-b2a9-dc174600abef", "ffdc6fe9-a0c1-41a1-a44c-64baf889c9a6", "db39542f-cf18-4679-9874-fa281dc90a4d", "ed47f303-a49d-4b73-a79a-b579a967ccff", "7d23e1e0-e2d8-4770-b29f-a44e2acc8da2", "001a3d85-1d98-4708-a23b-bf56f138a9cb", "58e8b9e1-3b20-4e40-bf1f-9de85153de24", "7dbefaf4-3bb3-4e00-9a7c-3785cbbcfcc8", "bdc89b35-4ff0-4eac-a01c-7e3c9cb59980", "e42e658d-2b8e-4265-8fa1-2a0807a87952", "8ee78741-d191-4a00-9227-5979b3498d24", "7b4a31bc-76bf-4243-812a-e09a51bd2c2c", "278d40df-89ec-46aa-813c-fa7439840ac4", "6c4b0669-5ea3-4ca0-bd01-1f407e4d7474", "11d8e225-a0dd-4eb2-9d2a-052ab47e0beb", "f1f9ea36-1638-43c8-9173-9cfc2024ba6c", "77f5e257-09f2-4770-8236-268ab693f31a", "60e6b91e-c96e-4424-b96c-c8f095d4b8a2", "86173527-f987-4ed5-bb90-a0e289890651", "19bc18de-054c-400e-8991-c4f299822acf", "d71afe59-86c7-4094-801c-6461c7b40baa", "46adc853-f641-45b5-a20f-3221330e0f7e", "a9ec04e9-db22-4381-b24f-a992d04051a5", "6056518e-6e1a-44bc-a714-16a91248e102", "af42b2ac-6c2d-43e9-ab14-169417e6173b", "939e71ec-cf04-41e0-b4b3-c9cd2302ad0d", "790a3daf-0f52-45c8-ae06-8a74dbb6b227", "1a854c41-c86f-48de-828b-98e0163de611", "a523933e-2755-4677-bd00-17f8e35fda03", "0651e237-24e8-4476-a00b-a1e0afe2000c", "c866b3c4-c478-4dcc-97b4-0a831d58abfe", "0a32f372-d420-4b32-8de8-a37d02430ce0" ], "format": { "page_cover": "https://s3-us-west-2.amazonaws.com/secure.notion-static.com/b017527e-5dcc-44c5-afff-fc5280a5226c/react-notion-bg.png", "page_cover_position": 0.5 }, "permissions": [ { "role": "reader", "type": "public_permission" }, { "role": "editor", "type": "space_permission" } ], "created_time": 1587405360000, "last_edited_time": 1614072000000, "parent_id": "b5276213-3d36-4d38-adc7-93cf017f36b7", "parent_table": "block", "alive": true, "file_ids": [ "200fff77-2605-4252-8f4e-fd8c18d91b69", "c5cc76e3-3fb4-44b6-aaa2-3671599e916f", "b017527e-5dcc-44c5-afff-fc5280a5226c" ], "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "b5276213-3d36-4d38-adc7-93cf017f36b7": { "role": "none" }, "10c9bd60-abed-457c-80f1-2425d6e21522": { "value": { "id": "10c9bd60-abed-457c-80f1-2425d6e21522", "version": 56, "type": "text", "properties": { "title": [ ["A"], [" React renderer for Notion pages", [["b"]]], [". Use Notion as CMS for your blog, documentation or personal site."] ] }, "created_time": 1587410640000, "last_edited_time": 1608819900000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "31e31b01-1941-426e-a26f-2d5e96a3e0ef": { "value": { "id": "31e31b01-1941-426e-a26f-2d5e96a3e0ef", "version": 24, "type": "text", "created_time": 1608819900000, "last_edited_time": 1608819900000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "8490bd36-13b2-4bcf-83ac-347e89c612fa": { "value": { "id": "8490bd36-13b2-4bcf-83ac-347e89c612fa", "version": 128, "type": "text", "properties": { "title": [ ["This page was rendered by "], ["react-notion", [["c"], ["a", "https://github.com/splitbee/react-notion"]]], [" & was developed by "], ["Splitbee", [["a", "https://splitbee.io"]]], [". Splitbee is an easy to use analytics and conversion tool for any team."] ] }, "format": { "copied_from_pointer": { "id": "2e15b932-b9bd-460e-8ca4-60950912b1d2", "table": "block", "spaceId": "733a82c1-3e5b-4df0-b66d-79919f319360" } }, "created_time": 1608819954933, "last_edited_time": 1608820140000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "copied_from": "2e15b932-b9bd-460e-8ca4-60950912b1d2", "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "e840e07f-4f6e-4957-807f-a4486ad05b77": { "value": { "id": "e840e07f-4f6e-4957-807f-a4486ad05b77", "version": 16, "type": "text", "created_time": 1610013960000, "last_edited_time": 1610013960000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "3d6c7825-e6fa-40a5-b746-4f2d6e3f0807": { "value": { "id": "3d6c7825-e6fa-40a5-b746-4f2d6e3f0807", "version": 67, "type": "sub_sub_header", "properties": { "title": [["Getting Started"]] }, "created_time": 1610014029403, "last_edited_time": 1610014020000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "0918576e-2d27-40a7-bae0-389bd2755a6d": { "value": { "id": "0918576e-2d27-40a7-bae0-389bd2755a6d", "version": 189, "type": "text", "properties": { "title": [ ["Install the "], ["react-notion", [["c"]]], [" package using npm or yarn\n\nCheck our repository to learn how to use react-notion \n"], ["https://github.com/splitbee/react-notion", [["a", "https://github.com/splitbee/react-notion"]]] ] }, "created_time": 1610014140000, "last_edited_time": 1610015880000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "448e5003-feb3-443f-b9d7-4529bacfdd98": { "value": { "id": "448e5003-feb3-443f-b9d7-4529bacfdd98", "version": 9, "type": "text", "created_time": 1610015880000, "last_edited_time": 1610015880000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "f247b3fe-6e5c-45cb-be59-60fe98a5a3c5": { "value": { "id": "f247b3fe-6e5c-45cb-be59-60fe98a5a3c5", "version": 28, "type": "sub_sub_header", "properties": { "title": [["Tutorials & Starters"]] }, "created_time": 1610014043639, "last_edited_time": 1610014080000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "465a80f6-ee41-4594-8f3d-0e954f37a329": { "value": { "id": "465a80f6-ee41-4594-8f3d-0e954f37a329", "version": 48, "type": "bulleted_list", "properties": { "title": [ ["Use Notion as CMS for your Blog", [["a", "https://splitbee.io/blog/notion-as-cms-using-nextjs"]]] ] }, "created_time": 1610014020000, "last_edited_time": 1610014080000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "7b896b03-98c4-41cb-aaa4-e1699504cdc1": { "value": { "id": "7b896b03-98c4-41cb-aaa4-e1699504cdc1", "version": 63, "type": "bulleted_list", "properties": { "title": [ ["Notion Blog starter using Next.js", [["a", "https://github.com/splitbee/react-notion-blog"]]] ] }, "created_time": 1610014080000, "last_edited_time": 1610014080000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "aa4cc01e-6051-4000-b420-daf18b3fc78e": { "value": { "id": "aa4cc01e-6051-4000-b420-daf18b3fc78e", "version": 24, "type": "text", "created_time": 1610015880000, "last_edited_time": 1610015880000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "426736d7-0584-48b5-bde3-e6fa9c42dc04": { "value": { "id": "426736d7-0584-48b5-bde3-e6fa9c42dc04", "version": 20, "type": "sub_sub_header", "properties": { "title": [["Features"]] }, "created_time": 1610015929853, "last_edited_time": 1610015880000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "a5606804-60ab-40be-ac16-b62e849cd865": { "value": { "id": "a5606804-60ab-40be-ac16-b62e849cd865", "version": 4, "type": "text", "properties": { "title": [["⚡️ "], ["Fast", [["b"]]], [" – Up to 10x faster than Notion *"]] }, "created_time": 1610015926692, "last_edited_time": 1610015940000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "2e7fda26-9c38-4a86-8947-ecdce8ee8ac6": { "value": { "id": "2e7fda26-9c38-4a86-8947-ecdce8ee8ac6", "version": 2, "type": "text", "properties": { "title": [ ["🎯"], [" "], ["Accurate", [["b"]]], [" – Results are "], ["almost", [["i"]]], [" identical"] ] }, "created_time": 1610015926692, "last_edited_time": 1610015880000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "efddf43c-32b2-4835-b8b4-77ee308d6338": { "value": { "id": "efddf43c-32b2-4835-b8b4-77ee308d6338", "version": 2, "type": "text", "properties": { "title": [ ["🔮"], [" "], ["Code Highlighting", [["b"]]], [" – Automatic code highlighting with "], ["prismjs", [["a", "https://prismjs.com/"]]] ] }, "created_time": 1610015926693, "last_edited_time": 1610015880000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "b129dc91-968b-4e6f-9c70-cb09a1078171": { "value": { "id": "b129dc91-968b-4e6f-9c70-cb09a1078171", "version": 2, "type": "text", "properties": { "title": [ ["🎨"], [" "], ["Custom Styles", [["b"]]], [" – Styles are easily adaptable. Optional styles included"] ] }, "created_time": 1610015926693, "last_edited_time": 1610015880000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "4bbc6793-6728-4bd3-84c9-c544ed77363b": { "value": { "id": "4bbc6793-6728-4bd3-84c9-c544ed77363b", "version": 9, "type": "text", "properties": { "title": [ [" * "], ["First Meaningful Paint compared to a ", [["i"]]], ["hosted example", [["i"], ["a", "http://react-notion-example.now.sh/"]]], [" on ", [["i"]]], ["Vercel", [["i"], ["a", "https://vercel.com/"]]], [".", [["i"]]] ] }, "created_time": 1610015926694, "last_edited_time": 1610015940000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "eb08b214-0ee7-40eb-9a30-8cbc0c303eda": { "value": { "id": "eb08b214-0ee7-40eb-9a30-8cbc0c303eda", "version": 20, "type": "sub_sub_header", "properties": { "title": [["Demo Content"]] }, "created_time": 1610014140565, "last_edited_time": 1610014140000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "9b6050e5-00fd-4af7-b106-5c2d0bf66fbf": { "value": { "id": "9b6050e5-00fd-4af7-b106-5c2d0bf66fbf", "version": 9, "type": "text", "created_time": 1610014140000, "last_edited_time": 1610014140000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "77135bf3-fa11-4c19-8397-69ee133ca1ce": { "value": { "id": "77135bf3-fa11-4c19-8397-69ee133ca1ce", "version": 95, "type": "text", "properties": { "title": [ ["All kind", [["i"], ["h", "orange"], ["b"]]], [" of "], ["text", [["h", "yellow_background"], ["b"]]], [" styling", [["h", "yellow_background"]]], [" options are supported. "] ] }, "created_time": 1587410640000, "last_edited_time": 1601383320000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "cfee83d5-3030-4b32-b2a9-dc174600abef": { "value": { "id": "cfee83d5-3030-4b32-b2a9-dc174600abef", "version": 2, "type": "text", "created_time": 1587410040000, "last_edited_time": 1587410640000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "ffdc6fe9-a0c1-41a1-a44c-64baf889c9a6": { "value": { "id": "ffdc6fe9-a0c1-41a1-a44c-64baf889c9a6", "version": 197, "type": "callout", "properties": { "title": [ [" Compare this page to the "], [ "original Notion page", [["a", "https://www.notion.so/react-notion-example-2e22de6b770e4166be301490f6ffd420"]] ] ] }, "format": { "page_icon": "🔍", "block_color": "yellow_background" }, "created_time": 1587410061269, "last_edited_time": 1587463680000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "copied_from": "a374a0d0-39ba-4599-900b-dcfee7d32d48", "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "db39542f-cf18-4679-9874-fa281dc90a4d": { "value": { "id": "db39542f-cf18-4679-9874-fa281dc90a4d", "version": 31, "type": "text", "created_time": 1590503040000, "last_edited_time": 1590503040000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "ed47f303-a49d-4b73-a79a-b579a967ccff": { "value": { "id": "ed47f303-a49d-4b73-a79a-b579a967ccff", "version": 55, "type": "sub_sub_header", "properties": { "title": [["Supported Features"]] }, "created_time": 1590503040000, "last_edited_time": 1590503040000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "7d23e1e0-e2d8-4770-b29f-a44e2acc8da2": { "value": { "id": "7d23e1e0-e2d8-4770-b29f-a44e2acc8da2", "version": 109, "type": "page", "properties": { "title": [["Lists"]] }, "content": [ "048cae36-740d-450b-90e5-61ebf62e9f9f", "31aba608-4a22-4ea7-8bd7-99de1c600889", "aa1e1aa1-25a8-4b42-aaa4-7bb3d316143a", "457fd62e-186d-4136-bf2b-e3a607afa8c2", "a3e67089-ce03-48d6-95f6-792f62c15136", "e9d60d88-d0e6-4efe-aade-a4534039921a", "c3351276-0898-4cf6-8eef-ba22eaf102d5", "14895d49-baa4-44bd-9279-14a95b034d90", "7b9d18e1-9abb-4409-a925-a8bcb31ab358", "b59a7b8d-ed8f-4a9b-a7e4-94273fda6288", "b4e16c37-e9e5-4c7c-9285-accf6cffbfc3" ], "format": { "page_icon": "🔢", "page_cover": "/images/page-cover/met_william_morris_1877_willow.jpg", "page_cover_position": 0.1 }, "created_time": 1590503073270, "last_edited_time": 1614074820000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "001a3d85-1d98-4708-a23b-bf56f138a9cb": { "value": { "id": "001a3d85-1d98-4708-a23b-bf56f138a9cb", "version": 43, "type": "page", "properties": { "title": [["Full width"]] }, "content": [ "47a58694-f4ef-4313-8b95-22f3aad4d116", "5bc31114-a491-41a4-9bba-fca5cc7a31bd", "42684581-0a10-48d1-a573-741f8a034dfa", "40f314e4-ba36-47b0-bb7a-8c0da82fdb7e" ], "format": { "page_icon": "↔️", "page_full_width": true }, "created_time": 1590503344671, "last_edited_time": 1590503400000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "58e8b9e1-3b20-4e40-bf1f-9de85153de24": { "value": { "id": "58e8b9e1-3b20-4e40-bf1f-9de85153de24", "version": 26, "type": "page", "properties": { "title": [["Small Text"]] }, "content": [ "eb09f782-04c7-468f-8ef8-92ccf53011ef", "cf808774-0447-4504-996d-e60a09b1becc", "f80e83a0-c8e1-44e6-bcd6-3134f4ded4b0", "56bc0bed-1571-4df5-b537-f734ae72e283", "6a7d3fb2-4f96-4036-98ea-c0c43eb6de0b" ], "format": { "page_icon": "🔍", "page_small_text": true }, "created_time": 1590503484241, "last_edited_time": 1590503520000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "7dbefaf4-3bb3-4e00-9a7c-3785cbbcfcc8": { "value": { "id": "7dbefaf4-3bb3-4e00-9a7c-3785cbbcfcc8", "version": 3, "type": "sub_sub_header", "properties": { "title": [["List"]] }, "created_time": 1587410520000, "last_edited_time": 1590503460000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "bdc89b35-4ff0-4eac-a01c-7e3c9cb59980": { "value": { "id": "bdc89b35-4ff0-4eac-a01c-7e3c9cb59980", "version": 10, "type": "column_list", "content": ["d28aeb5a-99f4-414d-99fd-553d6546a80d", "1a398bae-3db0-4bb5-a95b-2f599c9a7ffb"], "created_time": 1589563020000, "last_edited_time": 1589563020000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "e42e658d-2b8e-4265-8fa1-2a0807a87952": { "value": { "id": "e42e658d-2b8e-4265-8fa1-2a0807a87952", "version": 10, "type": "text", "created_time": 1587410880000, "last_edited_time": 1587410880000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "8ee78741-d191-4a00-9227-5979b3498d24": { "value": { "id": "8ee78741-d191-4a00-9227-5979b3498d24", "version": 114, "type": "quote", "properties": { "title": [["This is an example quote."]] }, "format": { "copied_from_pointer": { "id": "ab550245-d7ec-4baa-9a29-781d6a0b02c1", "table": "block", "spaceId": "733a82c1-3e5b-4df0-b66d-79919f319360" } }, "created_time": 1587410022165, "last_edited_time": 1587415740000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "copied_from": "ab550245-d7ec-4baa-9a29-781d6a0b02c1", "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "7b4a31bc-76bf-4243-812a-e09a51bd2c2c": { "value": { "id": "7b4a31bc-76bf-4243-812a-e09a51bd2c2c", "version": 17, "type": "text", "created_time": 1590252480000, "last_edited_time": 1590252480000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "278d40df-89ec-46aa-813c-fa7439840ac4": { "value": { "id": "278d40df-89ec-46aa-813c-fa7439840ac4", "version": 10, "type": "toggle", "properties": { "title": [["You can toggle this list"]] }, "content": ["20820346-3a3f-41e7-a4c6-062e28c91ccd"], "format": { "copied_from_pointer": { "id": "63e9cd8f-a10c-48f4-84db-a82e596b99ee", "table": "block", "spaceId": "733a82c1-3e5b-4df0-b66d-79919f319360" } }, "created_time": 1590252492387, "last_edited_time": 1590252492387, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "copied_from": "63e9cd8f-a10c-48f4-84db-a82e596b99ee", "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "6c4b0669-5ea3-4ca0-bd01-1f407e4d7474": { "value": { "id": "6c4b0669-5ea3-4ca0-bd01-1f407e4d7474", "version": 2, "type": "text", "created_time": 1587417900000, "last_edited_time": 1590252480000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "11d8e225-a0dd-4eb2-9d2a-052ab47e0beb": { "value": { "id": "11d8e225-a0dd-4eb2-9d2a-052ab47e0beb", "version": 7, "type": "divider", "created_time": 1587410906896, "last_edited_time": 1587410880000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "f1f9ea36-1638-43c8-9173-9cfc2024ba6c": { "value": { "id": "f1f9ea36-1638-43c8-9173-9cfc2024ba6c", "version": 40, "type": "sub_header", "properties": { "title": [["Complex Layouts"]] }, "created_time": 1587405780000, "last_edited_time": 1587411480000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "77f5e257-09f2-4770-8236-268ab693f31a": { "value": { "id": "77f5e257-09f2-4770-8236-268ab693f31a", "version": 13, "type": "column_list", "content": ["7707c5de-1663-496d-b6a1-9a01fd11cd33", "2735c1c5-6b7d-4d18-9c39-31f15be1fd94"], "created_time": 1587409380000, "last_edited_time": 1587409920000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "60e6b91e-c96e-4424-b96c-c8f095d4b8a2": { "value": { "id": "60e6b91e-c96e-4424-b96c-c8f095d4b8a2", "version": 7, "type": "divider", "format": { "copied_from_pointer": { "id": "11d8e225-a0dd-4eb2-9d2a-052ab47e0beb", "table": "block", "spaceId": "733a82c1-3e5b-4df0-b66d-79919f319360" } }, "created_time": 1587410912082, "last_edited_time": 1587411180000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "copied_from": "11d8e225-a0dd-4eb2-9d2a-052ab47e0beb", "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "86173527-f987-4ed5-bb90-a0e289890651": { "value": { "id": "86173527-f987-4ed5-bb90-a0e289890651", "version": 54, "type": "text", "created_time": 1587977100000, "last_edited_time": 1587977100000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "19bc18de-054c-400e-8991-c4f299822acf": { "value": { "id": "19bc18de-054c-400e-8991-c4f299822acf", "version": 4, "type": "bookmark", "properties": { "link": [["https://github.com"]], "title": [["Build software better, together"]], "description": [ [ "GitHub brings together the world's largest community of developers to discover, share, and build better software. From open source projects to private team repositories, we're your all-in-one platform for collaborative development." ] ] }, "format": { "bookmark_icon": "https://github.com/favicon.ico", "bookmark_cover": "https://github.githubassets.com/images/modules/open_graph/github-logo.png", "copied_from_pointer": { "id": "534179fe-2db6-47ad-80ba-5865514f6a1b", "table": "block", "spaceId": "733a82c1-3e5b-4df0-b66d-79919f319360" } }, "created_time": 1587977172998, "last_edited_time": 1587977160000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "copied_from": "534179fe-2db6-47ad-80ba-5865514f6a1b", "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "d71afe59-86c7-4094-801c-6461c7b40baa": { "value": { "id": "d71afe59-86c7-4094-801c-6461c7b40baa", "version": 14, "type": "divider", "created_time": 1587409860000, "last_edited_time": 1587977100000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "46adc853-f641-45b5-a20f-3221330e0f7e": { "value": { "id": "46adc853-f641-45b5-a20f-3221330e0f7e", "version": 8, "type": "text", "created_time": 1587977123744, "last_edited_time": 1587977100000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "a9ec04e9-db22-4381-b24f-a992d04051a5": { "value": { "id": "a9ec04e9-db22-4381-b24f-a992d04051a5", "version": 10, "type": "column_list", "content": ["8385ee55-1393-49ad-9c7a-f959fbd9cc8d", "a88299ed-67cf-426c-a5d2-565d4d826700"], "created_time": 1587415260000, "last_edited_time": 1587415260000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "6056518e-6e1a-44bc-a714-16a91248e102": { "value": { "id": "6056518e-6e1a-44bc-a714-16a91248e102", "version": 18, "type": "text", "created_time": 1587415560000, "last_edited_time": 1587415560000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "af42b2ac-6c2d-43e9-ab14-169417e6173b": { "value": { "id": "af42b2ac-6c2d-43e9-ab14-169417e6173b", "version": 2, "type": "text", "created_time": 1587415080000, "last_edited_time": 1587415560000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "939e71ec-cf04-41e0-b4b3-c9cd2302ad0d": { "value": { "id": "939e71ec-cf04-41e0-b4b3-c9cd2302ad0d", "version": 10, "type": "column_list", "content": ["2d4677f3-09e4-4026-801a-1d0dba2113fb", "3ea4bc44-9d35-4a46-a8d7-7a1a539e74c0"], "created_time": 1587415140000, "last_edited_time": 1587415140000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "790a3daf-0f52-45c8-ae06-8a74dbb6b227": { "value": { "id": "790a3daf-0f52-45c8-ae06-8a74dbb6b227", "version": 35, "type": "text", "created_time": 1587415560000, "last_edited_time": 1587415560000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "1a854c41-c86f-48de-828b-98e0163de611": { "value": { "id": "1a854c41-c86f-48de-828b-98e0163de611", "version": 10, "type": "text", "created_time": 1587415560000, "last_edited_time": 1587415560000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "a523933e-2755-4677-bd00-17f8e35fda03": { "value": { "id": "a523933e-2755-4677-bd00-17f8e35fda03", "version": 2, "type": "text", "created_time": 1587414180000, "last_edited_time": 1587415560000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "0651e237-24e8-4476-a00b-a1e0afe2000c": { "value": { "id": "0651e237-24e8-4476-a00b-a1e0afe2000c", "version": 17, "type": "column_list", "content": ["96366d59-c840-469d-84fd-65c9d6bbce4c", "30bdde01-5373-466b-bac3-28b87dbf1b55"], "created_time": 1587415200000, "last_edited_time": 1587476400000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "d28aeb5a-99f4-414d-99fd-553d6546a80d": { "value": { "id": "d28aeb5a-99f4-414d-99fd-553d6546a80d", "version": 25, "type": "column", "content": [ "e9efe849-ec77-4336-af74-9336207b47ad", "4d405cf4-3fad-4670-8106-ab4f0882e2d4", "c886d17a-fd5a-4cd9-a029-22c8a4663c91", "4be311d8-233b-4738-bc59-59003e8a5bdc" ], "format": { "column_ratio": 0.5 }, "created_time": 1589563020000, "last_edited_time": 1590091500000, "parent_id": "bdc89b35-4ff0-4eac-a01c-7e3c9cb59980", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "1a398bae-3db0-4bb5-a95b-2f599c9a7ffb": { "value": { "id": "1a398bae-3db0-4bb5-a95b-2f599c9a7ffb", "version": 26, "type": "column", "content": [ "9f5abb10-f72b-40e7-946e-15ac2c34b823", "b0d7612c-f96a-47fc-bdf9-946714033744", "6552b07c-184a-454f-8eee-29479f4d569e" ], "format": { "column_ratio": 0.5 }, "created_time": 1589563020000, "last_edited_time": 1590091500000, "parent_id": "bdc89b35-4ff0-4eac-a01c-7e3c9cb59980", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "e9efe849-ec77-4336-af74-9336207b47ad": { "value": { "id": "e9efe849-ec77-4336-af74-9336207b47ad", "version": 114, "type": "bulleted_list", "properties": { "title": [["First Item"]] }, "created_time": 1590091440000, "last_edited_time": 1590091500000, "parent_id": "d28aeb5a-99f4-414d-99fd-553d6546a80d", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "4d405cf4-3fad-4670-8106-ab4f0882e2d4": { "value": { "id": "4d405cf4-3fad-4670-8106-ab4f0882e2d4", "version": 26, "type": "bulleted_list", "properties": { "title": [["Second Item"]] }, "created_time": 1590091500000, "last_edited_time": 1590091500000, "parent_id": "d28aeb5a-99f4-414d-99fd-553d6546a80d", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "c886d17a-fd5a-4cd9-a029-22c8a4663c91": { "value": { "id": "c886d17a-fd5a-4cd9-a029-22c8a4663c91", "version": 22, "type": "bulleted_list", "properties": { "title": [["Third Icon"]] }, "created_time": 1590091500000, "last_edited_time": 1590091500000, "parent_id": "d28aeb5a-99f4-414d-99fd-553d6546a80d", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "4be311d8-233b-4738-bc59-59003e8a5bdc": { "value": { "id": "4be311d8-233b-4738-bc59-59003e8a5bdc", "version": 24, "type": "bulleted_list", "properties": { "title": [["Sublist"]] }, "content": ["70ad8f77-c7b1-47f1-ac43-6e77b74838e5", "964ded56-d04c-422d-b139-e10183cd8f09"], "created_time": 1587405806932, "last_edited_time": 1590091500000, "parent_id": "d28aeb5a-99f4-414d-99fd-553d6546a80d", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "9f5abb10-f72b-40e7-946e-15ac2c34b823": { "value": { "id": "9f5abb10-f72b-40e7-946e-15ac2c34b823", "version": 54, "type": "numbered_list", "properties": { "title": [["First Item"]] }, "content": ["0d3543c2-14d3-4e4d-bc5c-c7087732e137", "e58d2329-bc55-4300-a2c4-7c5173a2e37e"], "created_time": 1589563049647, "last_edited_time": 1590091500000, "parent_id": "1a398bae-3db0-4bb5-a95b-2f599c9a7ffb", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "b0d7612c-f96a-47fc-bdf9-946714033744": { "value": { "id": "b0d7612c-f96a-47fc-bdf9-946714033744", "version": 19, "type": "numbered_list", "properties": { "title": [["Second Point"]] }, "created_time": 1590091503146, "last_edited_time": 1590091500000, "parent_id": "1a398bae-3db0-4bb5-a95b-2f599c9a7ffb", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "6552b07c-184a-454f-8eee-29479f4d569e": { "value": { "id": "6552b07c-184a-454f-8eee-29479f4d569e", "version": 22, "type": "numbered_list", "properties": { "title": [["Third Point"]] }, "created_time": 1590091500000, "last_edited_time": 1590091500000, "parent_id": "1a398bae-3db0-4bb5-a95b-2f599c9a7ffb", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "0d3543c2-14d3-4e4d-bc5c-c7087732e137": { "value": { "id": "0d3543c2-14d3-4e4d-bc5c-c7087732e137", "version": 25, "type": "numbered_list", "properties": { "title": [["Item 1"]] }, "content": ["14a245b8-bbe1-4517-b897-93f8e2cb3fc1", "2248a061-733b-486c-9b14-a077137345ab"], "created_time": 1589563020000, "last_edited_time": 1589563020000, "parent_id": "9f5abb10-f72b-40e7-946e-15ac2c34b823", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "e58d2329-bc55-4300-a2c4-7c5173a2e37e": { "value": { "id": "e58d2329-bc55-4300-a2c4-7c5173a2e37e", "version": 17, "type": "numbered_list", "properties": { "title": [["Item 2"]] }, "created_time": 1589563020000, "last_edited_time": 1589563020000, "parent_id": "9f5abb10-f72b-40e7-946e-15ac2c34b823", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "14a245b8-bbe1-4517-b897-93f8e2cb3fc1": { "value": { "id": "14a245b8-bbe1-4517-b897-93f8e2cb3fc1", "version": 17, "type": "numbered_list", "properties": { "title": [["Nested"]] }, "created_time": 1589563020000, "last_edited_time": 1589563020000, "parent_id": "0d3543c2-14d3-4e4d-bc5c-c7087732e137", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "2248a061-733b-486c-9b14-a077137345ab": { "value": { "id": "2248a061-733b-486c-9b14-a077137345ab", "version": 18, "type": "numbered_list", "properties": { "title": [["Nested"]] }, "created_time": 1589563020000, "last_edited_time": 1589563020000, "parent_id": "0d3543c2-14d3-4e4d-bc5c-c7087732e137", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "70ad8f77-c7b1-47f1-ac43-6e77b74838e5": { "value": { "id": "70ad8f77-c7b1-47f1-ac43-6e77b74838e5", "version": 23, "type": "bulleted_list", "properties": { "title": [["Item 1"]] }, "content": ["1648d172-5703-4059-9060-8dd859c0828b", "5d9e807d-ca78-401c-a0cd-5c3f1d9271d2"], "created_time": 1587410520000, "last_edited_time": 1590091440000, "parent_id": "4be311d8-233b-4738-bc59-59003e8a5bdc", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "964ded56-d04c-422d-b139-e10183cd8f09": { "value": { "id": "964ded56-d04c-422d-b139-e10183cd8f09", "version": 92, "type": "bulleted_list", "properties": { "title": [["Item 2"]] }, "created_time": 1587410040000, "last_edited_time": 1590091440000, "parent_id": "4be311d8-233b-4738-bc59-59003e8a5bdc", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "1648d172-5703-4059-9060-8dd859c0828b": { "value": { "id": "1648d172-5703-4059-9060-8dd859c0828b", "version": 30, "type": "bulleted_list", "properties": { "title": [["Nested"]] }, "created_time": 1587978720000, "last_edited_time": 1587978720000, "parent_id": "70ad8f77-c7b1-47f1-ac43-6e77b74838e5", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "5d9e807d-ca78-401c-a0cd-5c3f1d9271d2": { "value": { "id": "5d9e807d-ca78-401c-a0cd-5c3f1d9271d2", "version": 18, "type": "bulleted_list", "properties": { "title": [["Nested"]] }, "created_time": 1587978720000, "last_edited_time": 1587984240000, "parent_id": "70ad8f77-c7b1-47f1-ac43-6e77b74838e5", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "7707c5de-1663-496d-b6a1-9a01fd11cd33": { "value": { "id": "7707c5de-1663-496d-b6a1-9a01fd11cd33", "version": 30, "type": "column", "content": [ "08299481-b6aa-40d8-978c-1df557e2880c", "a1498ed5-6eb9-4191-b19a-d8290496e906", "bc78619b-57e2-42f6-9307-106ede7df255" ], "format": { "column_ratio": 0.5 }, "created_time": 1587409380000, "last_edited_time": 1601383080000, "parent_id": "77f5e257-09f2-4770-8236-268ab693f31a", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "2735c1c5-6b7d-4d18-9c39-31f15be1fd94": { "value": { "id": "2735c1c5-6b7d-4d18-9c39-31f15be1fd94", "version": 42, "type": "column", "content": [ "9d188b6d-ef94-4e23-be62-e9ae8252a009", "7fb3f694-ec0a-41c6-b787-22ce48ec4be4", "c916bf1b-2738-4df5-95b5-7aa7ebc82c7e", "593ead9d-7b71-4ef1-9fef-251959ffe6e6" ], "format": { "column_ratio": 0.5000000000000002 }, "created_time": 1587409380000, "last_edited_time": 1601383080000, "parent_id": "77f5e257-09f2-4770-8236-268ab693f31a", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "08299481-b6aa-40d8-978c-1df557e2880c": { "value": { "id": "08299481-b6aa-40d8-978c-1df557e2880c", "version": 74, "type": "image", "properties": { "source": [ [ "https://s3-us-west-2.amazonaws.com/secure.notion-static.com/adac4e1e-1a94-4306-b41f-57f80b45f90d/roger-bradshaw-7o3uFw2xrAk-unsplash.jpg" ] ], "caption": [["This is an"], [" ", [["b"]]], ["image caption", [["i"], ["b"]]]] }, "format": { "block_width": 500, "block_height": 333, "display_source": "https://s3-us-west-2.amazonaws.com/secure.notion-static.com/adac4e1e-1a94-4306-b41f-57f80b45f90d/roger-bradshaw-7o3uFw2xrAk-unsplash.jpg", "block_full_width": false, "block_page_width": false, "block_aspect_ratio": 0.666, "block_preserve_scale": true }, "created_time": 1587409380000, "last_edited_time": 1587411300000, "parent_id": "7707c5de-1663-496d-b6a1-9a01fd11cd33", "parent_table": "block", "alive": true, "file_ids": ["ecd873aa-0009-43da-be68-626c835410d9", "adac4e1e-1a94-4306-b41f-57f80b45f90d"], "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "a1498ed5-6eb9-4191-b19a-d8290496e906": { "value": { "id": "a1498ed5-6eb9-4191-b19a-d8290496e906", "version": 25, "type": "image", "properties": { "source": [ [ "https://s3-us-west-2.amazonaws.com/secure.notion-static.com/fc4a23e4-7898-4afa-ac20-e7834097a605/marsumilae-Og4S8NW-p_I-unsplash.jpg" ] ] }, "format": { "block_width": 500, "block_height": 281, "display_source": "https://s3-us-west-2.amazonaws.com/secure.notion-static.com/fc4a23e4-7898-4afa-ac20-e7834097a605/marsumilae-Og4S8NW-p_I-unsplash.jpg", "block_full_width": false, "block_page_width": false, "block_aspect_ratio": 0.562, "block_preserve_scale": true }, "created_time": 1587409380000, "last_edited_time": 1587410820000, "parent_id": "7707c5de-1663-496d-b6a1-9a01fd11cd33", "parent_table": "block", "alive": true, "file_ids": ["97c8c13f-e55c-40c1-9235-cbb7ccd2ea49", "fc4a23e4-7898-4afa-ac20-e7834097a605"], "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "bc78619b-57e2-42f6-9307-106ede7df255": { "value": { "id": "bc78619b-57e2-42f6-9307-106ede7df255", "version": 17, "type": "text", "created_time": 1587410580000, "last_edited_time": 1587410880000, "parent_id": "7707c5de-1663-496d-b6a1-9a01fd11cd33", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "9d188b6d-ef94-4e23-be62-e9ae8252a009": { "value": { "id": "9d188b6d-ef94-4e23-be62-e9ae8252a009", "version": 21, "type": "image", "properties": { "source": [ [ "https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d4b5070d-5e28-40bf-a4a5-2200e147aa84/ricardo-gomez-angel-geBHIpvA6us-unsplash.jpg" ] ] }, "format": { "block_width": 400, "block_height": 417, "display_source": "https://s3-us-west-2.amazonaws.com/secure.notion-static.com/d4b5070d-5e28-40bf-a4a5-2200e147aa84/ricardo-gomez-angel-geBHIpvA6us-unsplash.jpg", "block_full_width": false, "block_page_width": false, "block_aspect_ratio": 1.0425, "block_preserve_scale": true }, "created_time": 1587409380000, "last_edited_time": 1587410820000, "parent_id": "2735c1c5-6b7d-4d18-9c39-31f15be1fd94", "parent_table": "block", "alive": true, "file_ids": ["9d629ec4-7876-464e-97a5-af8d91407de6", "d4b5070d-5e28-40bf-a4a5-2200e147aa84"], "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "7fb3f694-ec0a-41c6-b787-22ce48ec4be4": { "value": { "id": "7fb3f694-ec0a-41c6-b787-22ce48ec4be4", "version": 57, "type": "sub_sub_header", "properties": { "title": [["Nesting works just fine."]] }, "created_time": 1587411395881, "last_edited_time": 1587415800000, "parent_id": "2735c1c5-6b7d-4d18-9c39-31f15be1fd94", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "c916bf1b-2738-4df5-95b5-7aa7ebc82c7e": { "value": { "id": "c916bf1b-2738-4df5-95b5-7aa7ebc82c7e", "version": 272, "type": "text", "properties": { "title": [["It is also responsive."]] }, "created_time": 1587411360000, "last_edited_time": 1587469140000, "parent_id": "2735c1c5-6b7d-4d18-9c39-31f15be1fd94", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "593ead9d-7b71-4ef1-9fef-251959ffe6e6": { "value": { "id": "593ead9d-7b71-4ef1-9fef-251959ffe6e6", "version": 8, "type": "text", "created_time": 1587411420000, "last_edited_time": 1587411420000, "parent_id": "2735c1c5-6b7d-4d18-9c39-31f15be1fd94", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "8385ee55-1393-49ad-9c7a-f959fbd9cc8d": { "value": { "id": "8385ee55-1393-49ad-9c7a-f959fbd9cc8d", "version": 12, "type": "column", "content": ["4b3c1178-7dfd-4c01-8e22-ecb239e13132", "c12890df-642f-4046-ac45-489a40c140cb"], "format": { "column_ratio": 0.3125 }, "created_time": 1587415260000, "last_edited_time": 1587415260000, "parent_id": "a9ec04e9-db22-4381-b24f-a992d04051a5", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "a88299ed-67cf-426c-a5d2-565d4d826700": { "value": { "id": "a88299ed-67cf-426c-a5d2-565d4d826700", "version": 16, "type": "column", "content": ["701b9f28-b90f-4a88-a0aa-5181d9e15940", "706bbb05-d974-466c-8938-3712e4db2aaa"], "format": { "column_ratio": 0.6875 }, "created_time": 1587415260000, "last_edited_time": 1587418980000, "parent_id": "a9ec04e9-db22-4381-b24f-a992d04051a5", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "4b3c1178-7dfd-4c01-8e22-ecb239e13132": { "value": { "id": "4b3c1178-7dfd-4c01-8e22-ecb239e13132", "version": 31, "type": "callout", "properties": { "title": [["Code Snippet"]] }, "format": { "page_icon": "💻", "block_color": "blue_background" }, "created_time": 1587415267644, "last_edited_time": 1587463680000, "parent_id": "8385ee55-1393-49ad-9c7a-f959fbd9cc8d", "parent_table": "block", "alive": true, "copied_from": "9e328328-2100-4120-86ed-5a291871ed23", "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "c12890df-642f-4046-ac45-489a40c140cb": { "value": { "id": "c12890df-642f-4046-ac45-489a40c140cb", "version": 6, "type": "text", "format": { "copied_from_pointer": { "id": "29f586f2-f853-4c30-9dbc-71ccff8b6d36", "table": "block", "spaceId": "733a82c1-3e5b-4df0-b66d-79919f319360" } }, "created_time": 1587415267645, "last_edited_time": 1587415260000, "parent_id": "8385ee55-1393-49ad-9c7a-f959fbd9cc8d", "parent_table": "block", "alive": true, "copied_from": "29f586f2-f853-4c30-9dbc-71ccff8b6d36", "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "701b9f28-b90f-4a88-a0aa-5181d9e15940": { "value": { "id": "701b9f28-b90f-4a88-a0aa-5181d9e15940", "version": 54, "type": "code", "properties": { "title": [ [ "const Example = () => (\n <div style={{ maxWidth: 768 }}>\n <NotionRenderer blockMap={blockMap} />\n </div>\n);" ] ], "language": [["JavaScript"]] }, "created_time": 1587409380000, "last_edited_time": 1587415260000, "parent_id": "a88299ed-67cf-426c-a5d2-565d4d826700", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "706bbb05-d974-466c-8938-3712e4db2aaa": { "value": { "id": "706bbb05-d974-466c-8938-3712e4db2aaa", "version": 37, "type": "text", "created_time": 1587417242789, "last_edited_time": 1587417240000, "parent_id": "a88299ed-67cf-426c-a5d2-565d4d826700", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "2d4677f3-09e4-4026-801a-1d0dba2113fb": { "value": { "id": "2d4677f3-09e4-4026-801a-1d0dba2113fb", "version": 21, "type": "column", "content": ["9e328328-2100-4120-86ed-5a291871ed23", "29f586f2-f853-4c30-9dbc-71ccff8b6d36"], "format": { "column_ratio": 0.3125 }, "created_time": 1587415140000, "last_edited_time": 1587415260000, "parent_id": "939e71ec-cf04-41e0-b4b3-c9cd2302ad0d", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "3ea4bc44-9d35-4a46-a8d7-7a1a539e74c0": { "value": { "id": "3ea4bc44-9d35-4a46-a8d7-7a1a539e74c0", "version": 15, "type": "column", "content": ["8fd1ed30-dee9-4e81-a877-06c26b0dc92b"], "format": { "column_ratio": 0.6875 }, "created_time": 1587415140000, "last_edited_time": 1587415200000, "parent_id": "939e71ec-cf04-41e0-b4b3-c9cd2302ad0d", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "9e328328-2100-4120-86ed-5a291871ed23": { "value": { "id": "9e328328-2100-4120-86ed-5a291871ed23", "version": 116, "type": "callout", "properties": { "title": [["Video Embed"]] }, "format": { "page_icon": "📹", "block_color": "teal_background" }, "created_time": 1587414166977, "last_edited_time": 1587463680000, "parent_id": "2d4677f3-09e4-4026-801a-1d0dba2113fb", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "29f586f2-f853-4c30-9dbc-71ccff8b6d36": { "value": { "id": "29f586f2-f853-4c30-9dbc-71ccff8b6d36", "version": 8, "type": "text", "created_time": 1587415140000, "last_edited_time": 1587415140000, "parent_id": "2d4677f3-09e4-4026-801a-1d0dba2113fb", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "8fd1ed30-dee9-4e81-a877-06c26b0dc92b": { "value": { "id": "8fd1ed30-dee9-4e81-a877-06c26b0dc92b", "version": 14, "type": "video", "properties": { "source": [["https://www.youtube.com/watch?v=aqz-KE-bpKQ"]] }, "format": { "block_width": 432, "display_source": "https://www.youtube.com/embed/aqz-KE-bpKQ?feature=oembed", "block_full_width": false, "block_page_width": false, "block_aspect_ratio": 0.5620608899297423, "block_preserve_scale": true }, "created_time": 1587414149796, "last_edited_time": 1587415140000, "parent_id": "3ea4bc44-9d35-4a46-a8d7-7a1a539e74c0", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "96366d59-c840-469d-84fd-65c9d6bbce4c": { "value": { "id": "96366d59-c840-469d-84fd-65c9d6bbce4c", "version": 29, "type": "column", "content": ["e6b8db27-ddb6-4e5a-915b-c238305c9085", "6e79a13b-2427-4929-9035-e7600fcf9352"], "format": { "column_ratio": 0.3125 }, "created_time": 1587415200000, "last_edited_time": 1614072000000, "parent_id": "0651e237-24e8-4476-a00b-a1e0afe2000c", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "30bdde01-5373-466b-bac3-28b87dbf1b55": { "value": { "id": "30bdde01-5373-466b-bac3-28b87dbf1b55", "version": 36, "type": "column", "content": ["1f729ddb-9c9c-478a-93ca-45fd858b825b", "e67a4915-1607-4d70-b333-8706eae29152"], "format": { "column_ratio": 0.6875 }, "created_time": 1587415200000, "last_edited_time": 1614072000000, "parent_id": "0651e237-24e8-4476-a00b-a1e0afe2000c", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "e6b8db27-ddb6-4e5a-915b-c238305c9085": { "value": { "id": "e6b8db27-ddb6-4e5a-915b-c238305c9085", "version": 70, "type": "callout", "properties": { "title": [["Custom Content"]] }, "format": { "page_icon": "🖼️", "block_color": "yellow_background", "copied_from_pointer": { "id": "9e328328-2100-4120-86ed-5a291871ed23", "table": "block", "spaceId": "733a82c1-3e5b-4df0-b66d-79919f319360" } }, "created_time": 1587415238452, "last_edited_time": 1614072000000, "parent_id": "96366d59-c840-469d-84fd-65c9d6bbce4c", "parent_table": "block", "alive": true, "copied_from": "9e328328-2100-4120-86ed-5a291871ed23", "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "6e79a13b-2427-4929-9035-e7600fcf9352": { "value": { "id": "6e79a13b-2427-4929-9035-e7600fcf9352", "version": 15, "type": "text", "created_time": 1587415260000, "last_edited_time": 1587476400000, "parent_id": "96366d59-c840-469d-84fd-65c9d6bbce4c", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "1f729ddb-9c9c-478a-93ca-45fd858b825b": { "value": { "id": "1f729ddb-9c9c-478a-93ca-45fd858b825b", "version": 50, "type": "embed", "properties": { "source": [ [ "https://www.openstreetmap.org/export/embed.html?bbox=13.3964,52.5147,13.4185,52.5251&marker=52.52,13.408&layer=mapnik" ] ] }, "format": { "block_width": 720, "block_height": 320, "display_source": "https://www.openstreetmap.org/export/embed.html?bbox=13.3964,52.5147,13.4185,52.5251&marker=52.52,13.408&layer=mapnik", "block_full_width": false, "block_page_width": true, "block_preserve_scale": false }, "created_time": 1587414215513, "last_edited_time": 1587476580000, "parent_id": "30bdde01-5373-466b-bac3-28b87dbf1b55", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "e67a4915-1607-4d70-b333-8706eae29152": { "value": { "id": "e67a4915-1607-4d70-b333-8706eae29152", "version": 15, "type": "text", "created_time": 1614071820000, "last_edited_time": 1614071820000, "parent_id": "30bdde01-5373-466b-bac3-28b87dbf1b55", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "c866b3c4-c478-4dcc-97b4-0a831d58abfe": { "value": { "id": "c866b3c4-c478-4dcc-97b4-0a831d58abfe", "version": 54, "type": "text", "properties": { "title": [ [ "GitHub", [ ["h", "gray"], ["a", "https://github.com/splitbee/react-notion"] ] ] ] }, "created_time": 1587416834013, "last_edited_time": 1590780960000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "0a32f372-d420-4b32-8de8-a37d02430ce0": { "value": { "id": "0a32f372-d420-4b32-8de8-a37d02430ce0", "version": 8, "type": "text", "created_time": 1614071820000, "last_edited_time": 1614071820000, "parent_id": "2e22de6b-770e-4166-be30-1490f6ffd420", "parent_table": "block", "alive": true, "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" }, "20820346-3a3f-41e7-a4c6-062e28c91ccd": { "value": { "id": "20820346-3a3f-41e7-a4c6-062e28c91ccd", "version": 2, "type": "text", "properties": { "title": [["This is hidden content 🤫"]] }, "format": { "copied_from_pointer": { "id": "308e46f2-30a5-4a63-bcf9-2e44c92766d4", "table": "block", "spaceId": "733a82c1-3e5b-4df0-b66d-79919f319360" } }, "created_time": 1590252492387, "last_edited_time": 1590252492387, "parent_id": "278d40df-89ec-46aa-813c-fa7439840ac4", "parent_table": "block", "alive": true, "copied_from": "308e46f2-30a5-4a63-bcf9-2e44c92766d4", "space_id": "733a82c1-3e5b-4df0-b66d-79919f319360" }, "role": "reader" } }So I want to ignore it when render them.
How
I met error when access to value property in block map because { "role": "none" } doesn't have it. So ignore it by adding optional chaining.