gatsby-source-notion-churnotion 1.0.87 → 1.0.89
Sign up to get free protection for your applications and to get access to all the features.
package/dist/api/getPages.js
CHANGED
@@ -71,6 +71,7 @@ const getPages = async ({ databaseId, reporter, getCache, actions, createNode, c
|
|
71
71
|
...bookNode,
|
72
72
|
book_category: categoryNode.id,
|
73
73
|
internal: {
|
74
|
+
type: bookNode.internal.type,
|
74
75
|
contentDigest: crypto_1.default
|
75
76
|
.createHash(`md5`)
|
76
77
|
.update(JSON.stringify(bookNode))
|
@@ -244,6 +245,7 @@ const getPages = async ({ databaseId, reporter, getCache, actions, createNode, c
|
|
244
245
|
...bookNode,
|
245
246
|
book_category: categoryNode.id,
|
246
247
|
internal: {
|
248
|
+
type: bookNode.internal.type,
|
247
249
|
contentDigest: crypto_1.default
|
248
250
|
.createHash(`md5`)
|
249
251
|
.update(JSON.stringify(bookNode))
|
@@ -52,7 +52,7 @@ const createSchemaCustomization = ({ actions }) => {
|
|
52
52
|
update_date: Date! @dateformat
|
53
53
|
children: [${constants_1.NODE_TYPE.Post}] @link(by: "book", from: "id")
|
54
54
|
url: String!
|
55
|
-
book_category: ${constants_1.NODE_TYPE.Category} @link(by: "id", from: "
|
55
|
+
book_category: ${constants_1.NODE_TYPE.Category} @link(by: "id", from: "book_category")
|
56
56
|
book_image: File @link(by: "id", from: "book_image")
|
57
57
|
}
|
58
58
|
|
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.89",
|
5
5
|
"skipLibCheck": true,
|
6
6
|
"license": "0BSD",
|
7
7
|
"main": "./dist/gatsby-node.js",
|