gatsby-source-notion-churnotion 1.0.32 → 1.0.34

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,7 +40,7 @@ const createSchemaCustomization = ({ actions }) => {
40
40
  children: [${constants_1.NODE_TYPE.Category}!]! @link(by: "parent")
41
41
  churnotions: [${constants_1.NODE_TYPE.Post}] @link(by: "category", from: "id")
42
42
  url: String!
43
- books: [${constants_1.NODE_TYPE.Book}] @link(by: "book_category", from: "id")
43
+ books: [${constants_1.NODE_TYPE.Book}] @link(by: "id")
44
44
  }
45
45
 
46
46
  type ${constants_1.NODE_TYPE.Book} implements Node {
@@ -50,7 +50,7 @@ const createSchemaCustomization = ({ actions }) => {
50
50
  update_date: Date! @dateformat
51
51
  children: [${constants_1.NODE_TYPE.Post}] @link(by: "book", from: "id")
52
52
  url: String!
53
- book_category: ${constants_1.NODE_TYPE.Category} @link(by: "id")
53
+ book_category: ${constants_1.NODE_TYPE.Category} @link(by: "id", from: "books")
54
54
  }
55
55
  `);
56
56
  };
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.32",
4
+ "version": "1.0.34",
5
5
  "skipLibCheck": true,
6
6
  "license": "0BSD",
7
7
  "main": "./dist/gatsby-node.js",