gatsby-source-notion-churnotion 1.0.83 → 1.0.84

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