gatsby-source-notion-churnotion 1.0.60 → 1.0.61
Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,12 @@ const scraper = (0, metascraper_1.default)([
|
|
20
20
|
const processMetadata = async (blocks, actions, createNodeId, reporter) => {
|
21
21
|
const { createNode } = actions;
|
22
22
|
for (const block of blocks) {
|
23
|
-
if (block.type === "text" ||
|
23
|
+
if (block.type === "text" ||
|
24
|
+
block.type === "paragraph" ||
|
25
|
+
block.type === "bulleted_list_item" ||
|
26
|
+
block.type === "numbered_list_item" ||
|
27
|
+
block.type === "quote" ||
|
28
|
+
block.type === "callout") {
|
24
29
|
const richText = block[block.type]?.rich_text || [];
|
25
30
|
for (const text of richText) {
|
26
31
|
const href = text.href;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "gatsby-source-notion-churnotion",
|
3
3
|
"description": "Gatsby plugin that can connect with One Notion Database RECURSIVELY using official API",
|
4
|
-
"version": "1.0.
|
4
|
+
"version": "1.0.61",
|
5
5
|
"skipLibCheck": true,
|
6
6
|
"license": "0BSD",
|
7
7
|
"main": "./dist/gatsby-node.js",
|