gatsby-source-notion-churnotion 1.1.31 → 1.1.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,6 +6,13 @@ This plugin recursively collects categories from a single Notion database, which
6
6
 
7
7
  If you're considering Notion as your CMS for Gatsby, this plugin could be a great choice as it supports recursive category collection.
8
8
 
9
+ ## What's New in v1.1.32
10
+
11
+ - **Fixed Gatsby Schema Relationship Bug**:
12
+ - Fixed `childrenChurnotion` field relationship in NBook nodes
13
+ - Properly defined relationship between Book and Post nodes
14
+ - Fixed "Field 'childrenChurnotion' is not defined" error during Gatsby build
15
+
9
16
  ## What's New in v1.1.31
10
17
 
11
18
  - **Fixed ES Module compatibility issues**:
@@ -52,7 +52,7 @@ const createSchemaCustomization = ({ actions }) => {
52
52
  create_date: Date! @dateformat
53
53
  update_date: Date! @dateformat
54
54
  children: [${constants_1.NODE_TYPE.Post}] @link(by: "book", from: "id")
55
- childrenChurnotion: [${constants_1.NODE_TYPE.Post}]
55
+ childrenChurnotion: [${constants_1.NODE_TYPE.Post}] @link(by: "book", from: "id")
56
56
  url: String!
57
57
  book_category: ${constants_1.NODE_TYPE.Category} @link(by: "id", from: "book_category")
58
58
  book_image: File @link(by: "id", from: "book_image")
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.1.31",
4
+ "version": "1.1.32",
5
5
  "skipLibCheck": true,
6
6
  "license": "0BSD",
7
7
  "main": "./dist/gatsby-node.js",